Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed Fedora 17 on my box and I'm having trouble installing packages. I used to think that across all linux os'es all it took was sudo apt-get install packagae.

I don't think this is the case here, as this is not working for me. Do I have to some how install apt-get before I can use it? I thought it came pre-configured with F17.

I'm obviously very new to Linux, and any help or advice is greatly appreciated.

share|improve this question
apt-get is the tool on Debian and derivatives, other distributions have other tools. Take a look at the Pacman Rosetta. – Gilles Aug 16 '12 at 23:29

Fedora (And RHEL, Scientific and CentOS) all use "Yellowdog Update Manager", AKA "yum". Some examples:

Search: sudo yum search pkgname

Install: sudo yum install pkgname

Update: sudo yum update

rpm will do some of the stuff that dpkg would do on Debian-ish systems.

Here is some more info: http://fedoraproject.org/wiki/Tools/Apt

share|improve this answer
Ah I see. Do OS'es ever use apt-get and yum? – piperchester Aug 16 '12 at 18:08
Not in supported ways that I know of. – Tim Aug 16 '12 at 18:09
Seems that Fedora might have an apt package. Never worked with it myself, so I cannot attest to how well it works. – Tim Aug 16 '12 at 18:36

You don't use apt-get on RedHat based distros, they don't share the same package database with debian based ones, the correct command for installing a package was:

yum install XXX

FYI: fedora doesn't have that much package as Ubuntu provides.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.