PDA

View Full Version : [ubuntu] installing a software for all users



2ndofaug
August 2nd, 2010, 10:48 AM
Hello

I am trying to install a software that could be accessed by all users instead of using the whole path "/home/user/dir/software" I would simply like to make it "software" without the ./ at the begining , I googled alot and even searched the forum I am sure someone already asked this before but maybe the search term I used did not match

excuse my english and thank you all

viralmeme
August 2nd, 2010, 11:27 AM
I am trying to install a software that could be accessed by all users

What's the name of this software ?


instead of using the whole path "/home/user/dir/software" I would simply like to make it "software"

You can specify the full path to the software with the environmental variable $PATH as defined in /etc/profile.

2ndofaug
August 2nd, 2010, 11:36 AM
What's the name of this software ?

john the ripper, i downloaded the latest which i didnt find in the repo and I want it to function as if I installed it from a repo where all users can simply type "john etc..."

You can specify the full path to the software with the environmental variable $PATH as defined in /etc/profile.

you mean as a bash alias ?

viralmeme
August 2nd, 2010, 03:35 PM
you mean as a bash alias ?
Add export PATH=$PATH:/path/to/software to /etc/profile

What's the name of this software ?