۱۳۸۶ خرداد ۹, چهارشنبه

Apt for Fedora

linux.jpg
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

هیچ نظری موجود نیست: