Apt for Fedora
Using Apt in Fedora Core 1 (i.e. apt-get) and configure it to use a norwegian server:
Install apt:
$ wget ftp://ftp.uninett.no/linux/Freshrpms/ayo/\
fedora/linux/1/i386/RPMS.freshrpms/apt-0.5.15cnc3-0.1.fr.i386.rpm
$ rpm -Uvh apt-0.5.15cnc3-0.1.fr.i386.rpm
Use uninett as mirror:
$ mv /etc/apt/sources.list /etc/apt/sources.list.orig
$ wget -q -O- ftp://ftp.uninett.no/linux/apt/\
sources.list-fedora-1 > /etc/apt/sources.list
$ wget -q -O- ftp://ftp.uninett.no/linux/apt/\
sources.list-fedora-1-freshrpms >> /etc/apt/sources.list
Get the list over available packages:
$ apt-get update
Update the system:
$ apt-get dist-upgrade
Install a package:
$ apt-get install packagename
Example:
$ apt-get install emacs
(thank you Terje R.)
September 22nd, 2004 at 18:17:25
Informasjonen er nok litt avlegs. Uninetts sources.list ligger som /linux/apt/sources.list-fedora-2 og sources.list-fedora-2-freshrpms. For de som ennå ikke bruker fedora, men tviholder på RH, sjekk /linux/RedHat/fedora-legacy/apt på samme server.
September 23rd, 2004 at 08:21:35
And the idea was to keep this category in English…
But thank you!
September 23rd, 2004 at 11:34:00
Nordlendinger snakker ekstremt dårlig engelsk… But I see your point. Sorry about that!
September 24th, 2004 at 08:40:26
So what you want to do in Fedora Core 2, is:
mv /etc/apt/sources.list /etc/apt/sources.list.orig
wget -q -O- ftp://ftp.uninett.no/linux/apt/sources.list-fedora-2 >> /etc/apt/sources.list
wget -q -O- ftp://ftp.uninett.no/linux/apt/sources.list-fedora-2-freshrpms >> /etc/apt/sources.list