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 03-13-2004, 02:34 PM   #1
fiveohhh
LQ Newbie
 
Registered: Mar 2004
Distribution: Fedora Core 1
Posts: 3

Rep: Reputation: 0
Question on how linux installs programs


How/where does linux install programs. I know my way thorough windows pretty well, but linux is real foreign to me. In windows most programs are installed in program files with one exe in there normally that runs it. Doesn't seem like theres one central place for it.

And my last question if i'm instaling from src, how do I upgrade an install I know if I have the rpm I can use -U but how would I do this from source?

Thanks in advance for any help.
 
Old 03-13-2004, 02:51 PM   #2
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
Do a search on this site. It has been explained many times and with more clarity than I generally have.

Learning to search is the greatest skill you can have in this new age of information. Later on, do a search on google for Fravia.
 
Old 03-13-2004, 02:52 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"How/where does linux install programs."

That is determined by the person who created the rpm package. Usually programs are installed somewhere in /usr or /opt. /usr/local, /usr/bin, and /usr/local/bin are popular directories to install programs. You can find out where a rpm package installs everything with this command:
rpm -ql packagename

"And my last question if i'm instaling from src, how do I upgrade an install I know if I have the rpm I can use -U but how would I do this from source?"

The best way to finesse the problem of keeping track of programs installed from source is to convert them into rpm packages using checkinstall.

http://asic-linux.com.mx/~izto/checkinstall/

The usual method of installing source is:
./configure
make
make install

With checkinstall this becomes:
./configure
make
checkinstall

which creates a rpm package which you then install in the normal way.

Last edited by jailbait; 03-13-2004 at 03:34 PM.
 
Old 03-13-2004, 03:13 PM   #4
fiveohhh
LQ Newbie
 
Registered: Mar 2004
Distribution: Fedora Core 1
Posts: 3

Original Poster
Rep: Reputation: 0
Cool Thanks
 
  


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
Is there an easy way to get debian started with programs like mandrake installs? r3dhatter Debian 23 10-22-2004 12:20 AM
stupid newbie question - package installs nbolli Linux - Software 5 10-17-2004 08:29 AM
RPM Question concerning multiple installs {-_-} Linux - Software 3 09-10-2004 08:59 AM
Dumb Question - What programs in Linux are there for me to program in C/C++? eBopBob Linux - Software 9 02-28-2004 03:47 AM
Got a general question 'bout programs available for linux zikfreak Linux - General 4 11-02-2001 02:45 PM

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

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