by ButtDog » Wed Mar 12, 2003 5:33 am
Debian will not allow you to install *.rpm packages. If you have RPM installed (you need the package "rpm" installed in order for alien to work. Apt should automatically install it for you if you do apt-get install alien), it will give you an error message when you try to run *.rpm in the traditional sense:
rpm -ivh whatever.rpm
To counter this problem, use Alien. It is used as follows:
alien -d whatever.rpm
This will convert your package to a *.deb. From there:
dpkg -i whatever.deb
Of course, all of this requires root privledges, so either write a sudoers file, or install the package called fakeroot. Fakeroot is used just like sudo, although it is not as extensive:
fakeroot alien -d whatever.rpm
With alien, you can use the *.rpm repositories from any distro of Linux that you wish. I have used packages from Red Hat, SuSE, and Mandrake successfully. Since I have purchased SuSE Linux Professional, I saw absolutley no reason as to why I couldn't use Star Office, since I did pay for it when I converted to Debian. The steps above worked like a charm. Star Office is now running.
Every now and then, you will run into some complications with certain packages. For example: For whatever reason or another, the CD Burning utility K3B would not install when I followed the instructions on the sourceforge.net page pertaining to the Debian packages. So, I first used alien on the SuSE *.rpm and it didn't want to run. Once you use dpkg, it will automatically add everything that you have installed via apt-get, or dpkg, into its database. To remove dpkg installed packages, use:
apt-get remove packagename
That will remove the installed package from your computer. (If you want to install K3B, use the Red Hat package with alien. For some reason or another, I can't get it to work with KDE, but it works with all of my other window managers.)
Hope that helps...