LinuxQuestions.org
Visit Jeremy's Blog.
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 02-15-2009, 11:14 PM   #1
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 373
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-15-2009, 11:21 PM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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-15-2009, 11:47 PM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

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, 03:48 AM   #4
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 373

Original Poster
Blog Entries: 2

Rep: Reputation: 32
Thanks for the info Is Package manager a program?
 
Old 02-16-2009, 04: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, 04:03 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Yeah you can call it a program.
 
Old 02-16-2009, 04: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, 05:19 AM   #8
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
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



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

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

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