LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2003, 11:25 PM   #1
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Rep: Reputation: 30
Best directory to download and install from


What would be the two best directories to download and install to? One for root and the other for the local user?

Should I install from /home/localuser or /usr/local?

Which is best for root and which is best for the local user?
 
Old 08-23-2003, 12:19 AM   #2
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
Install from /home/user, since the installed program most of the time ends up in /usr/local, and you don't want 2 similarily looking folders. And don't install from root, only su when doing make install. Installing while root really messes with the file permissions of installed files (especially when extracting source from tar).
 
Old 08-23-2003, 12:30 AM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Also, running "./configure" and "make" as root is a security risk. If someone sneaks a trojan into the script, you can have problems.

Its generally a good idea to only become root when its absoultley necessary.


For install location, Id just leave it as the default (usually /usr/local) unless you are having problems.

Some people like to install big self contained packages (GNOME,KDE, Mozilla) in /opt/ though.
 
Old 08-23-2003, 01:01 AM   #4
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
Thanks guys!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CVS download directory...... chunlee Linux - Newbie 2 10-05-2004 02:40 AM
defualt download directory for ircII fatrandy13 Linux - Software 3 07-06-2004 11:59 PM
What is a good install/download directory? ElectroLinux Linux - Newbie 3 03-02-2004 08:51 PM
download entire directory via ftp peok Linux - General 5 12-27-2003 06:37 AM
Download file into directory as root? guitarnix Linux - Newbie 3 09-17-2003 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:52 AM.

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