LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-23-2007, 01:26 AM   #1
Edstorm
LQ Newbie
 
Registered: Nov 2007
Posts: 21

Rep: Reputation: 15
Package systems?


Could someone help me out? Im quite lost in terms of packages. I read that for debian, there is apt-get, for gentoo there's portage, for fedora, there's yum..

whats the difference between them? (and other that i may not have listed..)
 
Old 12-23-2007, 01:35 AM   #2
LinuxCrayon
Member
 
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274

Rep: Reputation: 31
As I understand it, the main difference is in the packages available, how they're downloaded and installed, and how they're updated...
 
Old 12-23-2007, 06:22 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
You are elliding two separate things; packages (package formats) and package managers.

For package formats, the popular ones are .deb and .rpm, although some distros use others (you don't actually need a package format - it simplifies the installation and removal of packages - .tar.gz files, which are really just compressed file trees work, but it is the 'do it yourself', or 'write-a-script-for-it yourself' option).

The 'packaged package' is going to have to contain the application itself, information about dependancies, information how to set up the config file and other post-install housekeeping. It should also contain information about what to do on a de-install. But they do, so its not something to get worried about.

Then there are package managers and update tools; these do the actual installation and de-installation. Some have GUI front ends and some are command line. some will work with many package formats and some specialise. Some (more or less) rely on having a reasonable net connection to perform convenient updates and additions.

Usually, if you choose a distro that will chose the preferred package format for you (and may be one of the important factors in your choice of distro). Pretty much all of the debian-derived distros (& there are quite a few) are .deb distros, and for these you will have a choice of synaptic, adept, kpackage, etc. as the gui tools. For the Red Hat derived ones (and there are quite a few RH 'clones') and SuSE, you'll have YUM and Yast, but you can also use the rpm command from the command line.

You could also use Smart which is format-agnostic if you wanted, but, offhand, I can't think of anything that uses smart by default.

Gentoo and portage is a bit different; originally at least, Gentoo complied all the packages in place, rather than downloading pre-compiled packages. These days, gentoo has retreated a bit from compiling absolutely all of the packages in place, but it was originally set up to automatically manage this process.
 
Old 12-23-2007, 08:37 PM   #4
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
http://en.wikipedia.org/wiki/Package_management_system
 
  


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
LXer: Metasploit 3.0 doesn't pwn systems, black hats pwn systems LXer Syndicated Linux News 0 05-04-2007 09:01 PM
Copying installed package list to other systems tweak13 SUSE / openSUSE 2 02-26-2007 06:29 PM
LXer: Zero Install: An executable critique of native package systems LXer Syndicated Linux News 0 02-16-2007 12:33 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
pro and cons of update systems/package managers mvbv-linux Linux - General 1 12-04-2003 12:50 AM

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

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