What is the correct directory to install my programs?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313
Rep:
What is the correct directory to install my programs?
I have a new laptop on which I am running Ubuntu 8.10. As I download software, where is the appropriate place to put the software? For example, I installed paros web proxy in
Code:
/home/ubuntu/programs/paros
My thinking was to create a windows like program files directory to keep my "local" user software away from the system software that runs as root.
I do not see any one else installing this low privilege software in their user accounts though. Without putting software in root privileged areas, where should I intall?
I have a new laptop on which I am running Ubuntu 8.10. As I download software, where is the appropriate place to put the software? For example, I installed paros web proxy in
Code:
/home/ubuntu/programs/paros
My thinking was to create a windows like program files directory to keep my "local" user software away from the system software that runs as root.
I do not see any one else installing this low privilege software in their user accounts though. Without putting software in root privileged areas, where should I intall?
There is nothing wrong with what you are doing and it does not really matter where you put programs at your /home folder. Put where you think it fits the best. I keep a lot of games and applications on my /home. Usually, it is a good thing to leave programs outside your /home folder if you share your computer with other users.
As a rule, I install that sort of stuff under /opt, which is the proper location according to the hierarchy standard. This is obviously a system folder but there is nothing wrong with creating a directory there and changing its permissions so that it is owned by the user.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.