Started by Donald Darden, November 22, 2007, 11:29:29 PM
0 Members and 1 Guest are viewing this topic.
QuoteConverting .rpm Packages To Debian/Ubuntu .deb Format With AlienVersion 1.0Author: Falko Timme <ft [at] falkotimme [dot] com>...2 Alien InstallationAlien is available in the normal Debian repositories, so we can install it like this:apt-get install alien 3 Converting .rpm To .debNext we download the current mysql-zrm rpm package (1.1-1 at the time of this writing):cd /tmpwget http://www.zmanda.com/downloads/community/ZRM-MySQL/1.1/Linux/MySQL-zrm-1.1-1.noarch.rpmTo convert it into a .deb package, we simply runalien MySQL-zrm-1.1-1.noarch.rpmAfterwards, runls -lin the /tmp directory, and you'll see that alien has created the file mysql-zrm_1.1-2_all.deb. You'll also notice that alien has counted up the version number, it's now 1.1-2 instead of 1.1-1. If you want to keep the original version number, you must use the -k switch:alien -k MySQL-zrm-1.1-1.noarch.rpmwill create the file mysql-zrm_1.1-1_all.deb.To install the new .deb file, we use dpkg -i:dpkg -i mysql-zrm_1.1-1_all.debNow mysql-zrm is installed and fully functional (you still might have to edit its configuration file though).If you want to save the dpkg -i step, you can have alien install the package. The commandalien -i MySQL-zrm-1.1-1.noarch.rpmwould convert the original rpm package and immediately install it.You see, converting .rpm files to .deb files is very easy. You can have a look atman aliento learn about what else you can do with alien.
Page created in 0.220 seconds with 22 queries.