LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-04-2009, 02:09 PM   #1
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
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?
 
Old 01-04-2009, 03:13 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally Posted by jdruin View Post
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.
 
Old 01-04-2009, 03:17 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Also,

Keeping them in /home/ubuntu/programs/
makes it easy to backup.
 
Old 01-04-2009, 05:58 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SURVEY: Which programs, if any, do you install into into your home directory? harryhaller Linux - Software 1 09-25-2008 11:22 AM
How to install programs in my home directory? cumbersome Linux - Software 15 06-26-2006 04:11 AM
Best directory to install programs? rkthornton Linux - Software 6 02-25-2005 05:55 PM
What directory do I install new programs jkruer01 Linux - Newbie 1 04-05-2004 07:11 PM
Install programs to which directory? sonofdbn Slackware 2 03-07-2004 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration