LinuxQuestions.org
Visit Jeremy's Blog.
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 07-22-2005, 09:54 AM   #16
box_car_willy
LQ Newbie
 
Registered: May 2005
Location: Sheffield, UK
Distribution: Mandrake LE 2005
Posts: 7

Original Poster
Rep: Reputation: 0

I have read that rpm and dpkg have an advantage in that they maintain a databse of installed packages and dependencies and that tarballs don't do this - is there another way of keeping track of what is installed, and where?
 
Old 07-22-2005, 10:01 AM   #17
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
actually- it is actually the program, not dpkg and rpm (really painful, man!) that keep a list of dependancies. When you install from source (configure make make install) it will tell you what you need.

titanium_geek
 
Old 07-22-2005, 10:19 AM   #18
box_car_willy
LQ Newbie
 
Registered: May 2005
Location: Sheffield, UK
Distribution: Mandrake LE 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Are all dependencies program specific, or can some be connected with more than one? If prog x and prog y both need a lib file and I uninstall prog x, would I get a warning or anything from prog y?
 
Old 07-22-2005, 03:43 PM   #19
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
(it depends. probably not. ) if prog x and prog y depended on lib z, and you uninstall prog x, prog y will be fine. Unix is designed so that the programs work together like lego blocks.

titanium_geek
 
Old 07-22-2005, 04:02 PM   #20
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Just to add to titanium_geek post lib z would not be removed when you remove prog x.

I downloaded ubuntu the other day and was very impressed, painless install and I loved the way it didn't set a password for root and encourages the use of sudo.

Package managers are different from one distro to another but when you have grasped the concept and have a deeper understanding of the system it will not be difficult to learn how to use other package managers.

The package managers do keep track of whats installed the only advantage this offers is that some authors do not write an uninstall script into their Makefile so when compiling and installing from sources you can not uninstall without manually tracking down and deleting all the files.

If you want to get 'under the hood' then forget the package managers, that just adds another level of complexity to worry about. Try slackware, slackware is one of the simplest distros going in that what you see is what you get, all the configuration is done with a text editor, the package manager is very simple and you can use checkinstall to keep track of programs you install from source
 
  


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
Do Not Post On Linuxquestions.org Skrilla General 2 06-26-2005 05:46 PM
LinuxQuestions.org is an OSDL Enterprise Linux Summit Sponsor jeremy LQ Suggestions & Feedback 0 11-04-2004 05:40 PM
LinuxQuestions.org will be in the .Org Village at LWE UK jeremy LQ Suggestions & Feedback 34 10-10-2004 09:41 AM
LinuxQuestions.org will be sponsoring The Linux Show jeremy Linux - General 2 09-16-2003 06:31 AM
LinuxQuestions.org has been nominated for best Linux resource and YOU can vote jeremy Linux - General 0 01-07-2002 11:20 AM


All times are GMT -5. The time now is 08:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration