LinuxQuestions.org
Visit Jeremy's Blog.
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 10-03-2002, 09:11 PM   #1
JoeLinux
Member
 
Registered: Dec 2001
Location: Marietta
Distribution: Slackware 8.0
Posts: 95

Rep: Reputation: 15
How do you handle software installation?


I'm just curious as to how people handle new software. For instance, I install almost everything I install in /opt/<directory>.

I don't know why. I just do. I like knowing where everything is. I can't stand the normal "splatter files EVERY WHICH WAY" way of doing things. That sucks IMO.

How do you guys handle software? Maybe I'll get some good ideas.
 
Old 10-03-2002, 09:13 PM   #2
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
Hmmm i install it wherever it wants to be installed

except if i'm installing from tarballs i have place the untarred folders in the /home/user/tmp folder...just so it doesn't get mixed up with anything else...

Garry
 
Old 10-03-2002, 09:24 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You mean the actual tarballs right? Not the install directory for the tarballs?

I too just go with wherever the program goes usually. I see your reasoning behind wanting to put things in a specific place, and there is nothing wrong with that. In fact, it's probably a decent idea. I just like going with the flow for now though, and put things where the author wants them to go.

Cool
 
Old 10-03-2002, 09:34 PM   #4
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
I guess the standard is to put the main system stuff w/ prefix=/usr and all else w/ prefix=/usr/local (usually the default). That's usually the way I do it, but If it's something that i'm trying out, i'll put it somewhere else. The drawback with that is that you have to do all that linking of the binaries, or put the path in your aah.. PATH. the LFS docs said something about how it's usually better to use /usr or /usr/local b/c that's where some programs look look for the stuff. Also, sometimes you need to let the install just do it's thing (especially if it's a system program that has to do stuff in "/").

Check out the "install-log" package from here:

http://hints.linuxfromscratch.org/hints/install-log.txt

It will list all of the files that were installed with a package and put it in /var/install-log/<package>

Last edited by adam_boz; 10-03-2002 at 09:36 PM.
 
Old 10-03-2002, 11:23 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Excellent reply Adam, and I have seen several mentions of the install log in different threads, I guess it's time I give it a try

Thanks for the link

Cool
 
Old 10-04-2002, 11:09 AM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
For me, it really depends on what I'm installing. Small user utilities usually go into /usr/local, while larger apps like databases and such go into /opt so that I can separate out the files a little better.
 
Old 10-04-2002, 12:33 PM   #7
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
I install it where it wants to go. It would be nice if linux had a /apps folder where all the executable files would go, or atleast have the link files/shortcuts there.

Last edited by Edward78; 10-04-2002 at 12:34 PM.
 
Old 10-04-2002, 01:01 PM   #8
Beav
LQ Newbie
 
Registered: Sep 2002
Distribution: Slackware 8.1
Posts: 19

Rep: Reputation: 0
Quote:
Originally posted by Edward78
It would be nice if linux had a /apps folder where all the executable files.
I could be wrong but I though "/bin" was an apps (type) folder -but I preobably have no idea what im talking about
 
Old 10-05-2002, 12:43 AM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
No, you are sort of right (actually I think it's usually more often /usr/bin). But it's more like a "general" folder. A lot of programs go in there, usually in sub directories like /usr/local/bin and such. But then you have system commands/super user folder /sbin and such.

I really think that the mentality for everything being in an /apps directory or something like that is something to try to 'learn' away from. You could create one yourself, and do all the symlinking and such, but really it's not worth it. By default *most* distros I've used will set the path for the programs that you install during the initial system install. From there, if you encounter a program that installs to an odd path, you can always add that path your system path in /etc/profile or ~/.bash_profile or whatever, but it's not really very common for things not to go into your PATH.

The best solution I think is Adam's response with the install-log. This would show you the list of things installed. This is the only reason I could think of for having the /apps directory anway. To see all programs in your PATH anyway, press TAB like 2 or 3 times, but be prepared for a helluva list of files.

And you don't have to install programs btw. You can download the source, configure it, run the makefile and then optionally run make install. You don't have to. You can run the program with absolute path to try the program out before installing it with make install. And if it sucks, then you won't have to worry about what you have to do to uninstall it.

Anyway, that's my thoughts on something like an /apps directory.

Cool
 
  


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
Installation Software for Custom Developed Java/Perl Software donkey123 Linux - Software 0 06-15-2005 05:26 PM
Software Installation sharadgana Linux - Software 1 12-16-2004 10:55 AM
need software that can handle incoming faxes and voicemail lothario Linux - Software 2 08-11-2004 03:55 AM
How to handle software not avaliable in apt? MeM Debian 4 05-24-2004 12:40 AM
Software to handle scanned documents crayiii Linux - Software 1 12-20-2003 02:19 PM

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

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