LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-17-2005, 09:06 PM   #1
dj666
LQ Newbie
 
Registered: Sep 2005
Location: Australia
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Preferred compile location


Being new to linux and slackware (and a bit of a control freak), I have some confusion regarding the best place to install locally compiled software to. I have read and experimented various locations, namely /usr/local (which seems to be the default for in most configure files), /home/<user> or /opt.

Is there a preference/best practice/preferred location for installing locally compiled software? Hopefully this won't start any sort some sort of war over which way is better.

dj666
 
Old 09-17-2005, 09:29 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Have a look at the FSH standard, which everyone breaks in some way or another.
http://www.pathname.com/fhs/pub/fhs-2.3.html

I'm a RedHat sort, so I don't use /opt for anything, and put all compiled software in /usr/local (which is generally the default in configure scripts anyway).

Dave
 
Old 09-17-2005, 09:33 PM   #3
dj666
LQ Newbie
 
Registered: Sep 2005
Location: Australia
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply. I have read the FSH standard, but it seems some people don't want to follow it and insist that there are better/preferred locations, with even variance across distros. Just seems confusing for a noob.
 
Old 09-17-2005, 09:48 PM   #4
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
/usr/local is where you should install apps you compile yourself.

/opt is for very large packages, like Openoffice or java(unfortunately not every distro follows this)
 
Old 09-17-2005, 11:03 PM   #5
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
liquidtenmilion is correct.
If you compile without specifying an install dir, most everything will
go to /usr/local by default.
On Slackware, KDE is in /opt. If you compile KDE specific apps, they
will find their way.

Now to throw a wrench into the works!, On Slackware a few things must
be installed to /usr. A few that come to mind are:

pyorbit
pygtk
gnome-python

Good Luck!


P.S.

The afore mentioned bits of software must also be installed in the order given.
So if you need one of them... take them all.

Last edited by auditek747; 09-17-2005 at 11:06 PM.
 
  


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
preferred apps in FC3 snafu Fedora 3 04-16-2005 01:35 PM
Preferred OS to Web Development Micah General 6 12-03-2004 08:00 PM
Preferred hardware? Nic-MDKman Linux - Hardware 3 03-01-2004 03:59 AM
Preferred RunLevel Crashed_Again Linux - General 7 02-16-2003 12:27 AM
is runlevel 3 preferred to 5 bdp Linux - General 2 01-22-2003 03:03 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration