HOWTO: apt-get on Fedora

First thing you’ll want to do is download the rpm for the fedora distribution you’re using.

apt-get: Fedora Core 4 Fedora Core 3 Fedora Core 2 Fedora Core 1

To install, type as root in the directory you downloaded the rpm to:

rpm -ivh apt*

Now apt-get should be installed. Before you run apt-get, you’ll first need to setup the repositories in /etc/apt/sources.list.d. I personally use dag, dries, and freshrpms. To do this you’ll need to create using your favorite text editor a dag.list, dries.list, and freshrpms.list file in the sources.list.d directory.

For dag.list:
rpm http://apt.sw.be fedora/#/en/i386 dag (replace # with the core version you’re using)

For dries.list:
rpm http://apt.sw.be dries/fedora/fc#/i386 dries (replace # with the core version you’re using)

For freshrpms.list:
rpm http://ayo.freshrpms.net fedora/linux/#/i386 freshrpms (replace # with the core version you’re using)

To upgrade your system, type as root: apt-get update && apt-get dist-upgrade
To install a package, type as root: apt-get install (package name)

Comments are closed.