I am connected to my host via ssh and I keep getting the error that a command is not found. So, I checked out the /bin directory and sure enough, the command I need is not there. How can I add it and is there a place online that lists all of the available commands which can be added?
|
show 7 more comments
feedback
|
migrated from stackoverflow.com Aug 31 '11 at 21:20
This question came from our site for professional and enthusiast programmers.
closed as not a real question by Wuffers, Hello71, Linker3000, studiohack♦ Sep 1 '11 at 19:15
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.
|
As other posters have mentioned, your /bin directory is not the only place your computer keeps installed software. Most flavors of *nix have some kind of packaging system to make it easier to install things. To find out what version you are using, type
The last segment is your version and the release date. Then google something like "install software for version" or "version package manager" and you should get some useful information. | |||||||||||
feedback
|
|
is this GAA Argument Analyzer (Sourceforge) what you are looking for? It says "The GAA Argument Analyser helps programmers to analyze the arguments given to their program from the command line." | |||||||||||
feedback
|
|
It's not sufficient to check /bin. Not knowing what unix flavor you are using I'll say you should at least also check: /usr/local/bin /sbin /usr/local/sbin and possibly another dozen or so to be sure :) The fact that you didn't know this means that you probably have a bit of a road ahead of you - a fun and interesting road if you are the type of person to enjoy it (I was). Most modern unix distributions including a packaging system of some kind and, ideally, when installing new software into the system you should use the package manager to add the package. Sadly this can be a bit of a challenge since not all software is available packaged in a way you can use. I suggest you find a community support site for the relevant unix distro and see what package format your system likes, then see if you can find the tool you are trying to build (mcrypt for php?) in a compatible package format. If you can't find it packaged for your distro then you should try using a generic installation package for it (name-version.tgz typically) and read both the README and INSTALLATION files that are probably in the root directory of the package once you un-zip or un-tar it. | |||
|
feedback
|
|
Looks like you're running RedHat. Type:
to get your version. If it's 4x as indicated above, as someone mentioned, it looks like aclocal is in automake, try
If you're registered with a satellite server it should pull the package and all it's dependencies. If it's 5 or higher. Type:
And it should get you what you need. | |||
|
feedback
|

$PATHso that bash (or any other shell, for that matter) can find them. The only real "bash commands" are the builtins you can get info on by typinghelp. – cHao Aug 31 '11 at 21:18gaa? – Foo Bah Aug 31 '11 at 21:19make[1]: gaa: Command not foundSo, I am trying to installgaa– Presto Aug 31 '11 at 21:19