How to install .deb packages on Fedora?
Posted on In QAI 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
[x@the-machine ~]$ wget http://ftp.de.debian.org/debian/pool/main/a/alien/alien_8.88.tar.gz
–2018-12-20 10:36:35– http://ftp.de.debian.org/debian/pool/main/a/alien/alien_8.88.tar.gz
Resolving http://ftp.de.debian.org (ftp.de.debian.org)… 141.76.2.4
Connecting to http://ftp.de.debian.org (ftp.de.debian.org)|141.76.2.4|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2018-12-20 10:36:36 ERROR 404: Not Found.
You may find the latest package from http://ftp.de.debian.org/debian/pool/main/a/alien/ .
Alien is now in the Fedora repository, so you can install it using `dnf install alien`.