Using apt4rpm with OpenSuSe

Christian Decker wrote this in the wee hours:
Yast is nice… for configuration purposes. But it’s a dreadful package manager, because it takes quite some time to load up all the stuff, synchronize with remote repositories or whatever it does before giving the user the option to actually do something usefull. There are alternatives however, the guys at Debian have created a tool called apt which does not have all that overhead, does not have a GUI like Yast (although there are many nice GUIs like Synaptic) and just works. Ready to install apt? Then let’s get started:
rpm -hv –install ftp://ftp.gwdg.de/pub/linux/misc/apt4rpm/10.1/apt{-libs,}-0.5.15lorg3-0.suse1010.rb0.i586.rpm
This will install the apt suite, that’s all there is. Now you’ll have to configure it. Take a look at /etc/apt/sources.list, here you can add additional rpm repositories, but for starters we just use Guru’s RPM Repository.
# Fastest repository comes first, with netselect it is possible to determine # the fastest repository easily. # The list with all available components can be found at: # http://linux01.gwdg.de/apt4rpm # Some components provide experimental software, select wisely! # http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386/examples/sources.list.FTP # Consult the link above if you want to include uri’s for src rpms rpm      ftp://ftp4.gwdg.de/pub/linux/suse/apt SuSE/10.1-i386 packman packman-i686 rpmkeys base non-oss extra update-drpm update-prpm update gnome mozilla samba3 suser-rbos suser-crauch suser-jengelh jacklab suser-oc2pus suser-guru usr-local-bin suser-tcousin suser-scorot suser-sbarnin kernel-of-the-day kraxel wine suse-people suse-projects security-drpm security-prpm security rpm-src  ftp://ftp4.gwdg.de/pub/linux/suse/apt SuSE/10.1-i386 packman packman-i686 rpmkeys base non-oss extra update-drpm update-prpm update gnome mozilla samba3 suser-rbos suser-crauch suser-jengelh jacklab suser-oc2pus suser-guru usr-local-bin suser-tcousin suser-scorot suser-sbarnin kernel-of-the-day kraxel wine suse-people suse-projects security-drpm security-prpm security
Or just download it from here. Then update the local cache of packages:
apt-get update
and from there one you can install anything by just running the following command:
apt-get install
but clearly you’d have to know the packagename first so try:
apt-cache search
First thing I installed? Gaim-2beta5 :D

Also interesting posts:

Leave a Reply