![]() |
What packages do I need?
Fedora 17 x64
su echo $PATH /sbin:/bin/usr/sbin/usr/bin less .bashrc (I am in a home directory) bash: less: command not found tar is not found, seems a lot of basic commands are not found. This server is an Amazon EC2 server image of Fedora 17. Anyone know what packages I need to install to place these common commands back on the server? Thanks in advance!! |
Even the command "man" is not found. I really don't want to try to do a complete rebuild. I have this server as my first in the EC2 cloud and it will be our Corporate Web/Forum and NameServer.
|
It looks like your $PATH is out of sorts. Chances are everything you need is already on your computer. You will need to edit the PATH environment variable in .bash_profile to make the change permanent.
I'm guessing this is root. You should be able to reset your $PATH temporarily at the command line with Code:
[root@yourhost ~]# PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binThere are other places that the PATH is set, but this is most likely where the problem lies. A brand new user should come up working fine. If it doesn't something is amiss in /etc/profile or elsewhere. Bill |
most commands are only usable by "root"
but not all i am guessing you edited the file /ect/profile fedora splits up some programs into the "/bin" and /sbin sbin will be in the root account $PATH but NOT the normal user -- there is NO program in there that a normal user can use however in your normal user home folder there is a hidden file " .bash_profile" /usr/bin ans /bin should be in that Quote:
it is missing things -- a few ::::: /sbin:/bin:/usr/sbin:/usr/bin Quote:
so this install is a disk image of some other computer and just dropped onto a new and different computer ? or something else ? |
Come to find out the commands did not exist??
yum install less tar man-db did the trick, apparently whomever created the image felt these were not required files??? Thanks for your help |
| All times are GMT -5. The time now is 11:06 AM. |