LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2009, 05:32 AM   #1
rajesh84210
Member
 
Registered: Jul 2009
Posts: 53

Rep: Reputation: 15
path to installation


Dear Linux Experts,
I installed an opensource server in my FC.As per the doc i had , i installed it in the location /usr/local/src and everything is working absolutely fine.All I would like to now is , should`nt i install it in any other location?.. wont my kamailio server work if i install it in anyother location.. shold every software that is installed in linux be installed in the same location i.e. /usr/local/src

Thanks
 
Old 08-18-2009, 11:21 AM   #2
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
Quote:
shold every software that is installed in linux be installed in the same location i.e. /usr/local/src
No.
There are a multitude of reasons why but I'll try to list a few simple reasons.
Files that are a part of your core system are placed in locations that are pretty much a standard across all distro's and vary only slightly.
These are locations that a user normally has no need to access which gives a lessor chance of "accidents" happening.
Files installed to /usr/local are in a "prison" so to speak.
The core system does not access them and vice versa unless specifically instructed to do so making an installation there safer for the core system;
barring malicious code of course but then again, you the installer have not done your own job of helping to keep yourself safe if this happens.
Installs to /usr/local aren't normally updated or upgraded either unless specifically instructed to do so.
/usr/local is a "prison' that you are able to access and utilize the "prisoners" at your discretion with hopefully very little fear of retribution.
/usr/local is also a standard across all distro's for installing add-ons outside a users repository, therefore, source developed by those without malicious intent will normally direct the code to install there unless otherwise specified by the person doing the installing.

That's about as simple as I know how to make the answer and still have it understandable.
 
Old 08-18-2009, 11:27 PM   #3
rajesh84210
Member
 
Registered: Jul 2009
Posts: 53

Original Poster
Rep: Reputation: 15
Dear WindTalker,
Thanks for ur post.It was certainly pretty useful.
Thanks:-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
KDE installation path? JussiKp Linux - Newbie 4 05-23-2020 11:14 AM
mysql installation path eldojoseph Linux - Software 1 08-06-2008 09:03 AM
rpm installation path true_atlantis Fedora 2 08-25-2005 04:37 PM
custom path installation speel Linux - Newbie 2 06-01-2005 09:17 AM
installation path hansi umayangan Red Hat 1 03-30-2005 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:49 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