How to install .deb packages on Fedora?

I come across some closed source software that only provides .deb packages. Fedora manages packages with rpm/yum. How to install the .deb packages on Fedora?

Alien is a tool to convert .deb package to .rpm package: http://joeyh.name/code/alien/

In latest Fedora, the tool alien is in Fedora’s repository. You can use dnf to install the package.

In earlier Fedora version, you may download and install it from the source code.

To download and install alien:

First download one package for alien from Debian FTP:

http://ftp.de.debian.org/debian/pool/main/a/alien/

$ tar xf alien-VERSION.tar.gz
$ cd alien
$ perl Makefile.PL; make; sudo make install

To convert a .deb package to a .rpm package:

$ alien -r package.deb

To install the converted rpm package:

$ sudo yum localinstall package.rpm
Answered by anonymous.

3 comments:

Leave a Reply

Your email address will not be published. Required fields are marked *