LinuxQuestions.org
Help answer threads with 0 replies.
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 02-16-2009, 12:14 AM   #1
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Rep: Reputation: 32
Why does apt-get doesn't work in other linux?


OK, i know apt-get works on ubuntu but it doesn't seem to work on other linux distributions.. Why is this??
 
Old 02-16-2009, 12:21 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
apt-get is debian based package manager. If you use some other distribution you should be using the package manager of that disto.
 
Old 02-16-2009, 12:47 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by QueenZ View Post
OK, i know apt-get works on ubuntu but it doesn't seem to work on other linux distributions.. Why is this??
Here is a list of some "deb" based distros
http://www.debian.org/misc/children-distros
They use .deb packages and apt-get/aptitude/wajig are some deb package managers.
The other main packaging system uses rpm packages and yum is a package manager for those systems which include OpenSuse, Fedora, Mandriva, etc.

Google really really really is your friend.
cheers,
jdk
 
Old 02-16-2009, 04:48 AM   #4
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
Thanks for the info Is Package manager a program?
 
Old 02-16-2009, 05:03 AM   #5
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Yes, it's a program designed to track all the installed packages on your system and take care of a few things: updates and dependencies - i.e., some packages need functions provided by other packages to work properly. The package manager is there to take care of that. The whole system is explained pretty well on Wikipedia (link), if you want to know more - check it out.
 
Old 02-16-2009, 05:03 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Yeah you can call it a program.
 
Old 02-16-2009, 05:09 AM   #7
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
http://en.wikipedia.org/wiki/Linux_d...ion_comparison

further down is a list of which packet manager with which distro
 
Old 02-16-2009, 06:19 AM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by QueenZ View Post
Thanks for the info Is Package manager a program?
two things; there are packages, and packages must be in a format. A package manager is a program (...maybe a suite of programs...) which has to understand the format of the package(s) that you intend to use (and stuff about which libraries are already available, etc, etc).

So debian, and pretty much everything directly descended from it, uses the .deb format and the programs on that platform understand that. It used to be that the only other format that was in popular use was RPM (originally the Redhat package manager, but now the RPM Package Manager, apparently) but now there are a few others with 'small market shares'.

Most package managers only understand one format, but there was something called SMART (& there may be others) which tried to be cross-platform; haven't heard of any development on that recently, though.

One confusion that is often made is that the format and the package manager are not the same thing (particularly on RH-like platforms where you can use the RPM command line utility to manipulate RPM packages); the manager has to understand the format, but they are not the same thing.

So, to your original question, the utils that the *bunutus have from debian work on pretty much any debian-derived platform, but not on the RPM platforms or the other smaller ones.
 
  


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
apt-get doesnt work for me? playa4002 Debian 3 02-05-2006 12:42 PM
apt won't work jojo46 Linux - Newbie 5 09-14-2004 06:57 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-11-2003 12:39 AM
Getting apt-get to work? Megamieuwsel Linux - Software 2 09-17-2003 12:08 PM


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