define software path
Posted
by
shantanuo
on Server Fault
See other posts from Server Fault
or by shantanuo
Published on 2012-10-14T03:31:55Z
Indexed on
2012/10/14
3:39 UTC
Read the original article
Hit count: 425
I have an older version already installed. I have upraded the package using setup.py install command. But the path is not correctly set. When I type "s3cmd" is shows the older version of software.
# s3cmd
s3cmd [options] <command> [arg(s)] version 1.2.6
--help -h --verbose -v --dryrun -n
# which s3cmd
/usr/local/bin/s3cmd
The correct version is in different folder and I will like that to be used whenever I type the command.
# /usr/bin/s3cmd
Consider using --configure parameter to create one.
How do I set path?
I have added path to .bash_profile file but it does not work.
PATH=$PATH:/usr/bin/s3cmd
© Server Fault or respective owner