Convert .deb to .rpm

how to convert a .dep file to .rpm file sucessfully

1 Like

You are probably looking for alien

sudo dnf info alien
Name         : alien
Version      : 8.95
Release      : 12.fc32
Architecture : noarch
Size         : 218 k
Source       : alien-8.95-12.fc32.src.rpm
Repository   : @System
From repo    : rawhide
Summary      : Converter between the rpm, dpkg, stampede slp, and Slackware tgz file formats
URL          : https://sourceforge.net/projects/alien-pkg-convert/
License      : GPLv2+
Description  : Alien is a program that converts between the rpm, dpkg, stampede
             : slp, and Slackware tgz file formats. If you want to use a package
             : from another distribution than the one you have installed on your
             : system, you can use alien to convert it to your preferred package
             : format and install it.

for detailed information:
man alien
(assuming you have installed it)

to install alien:
sudo dnf install alien

to convert .deb to .rpm:
alien --to-rpm package-0.5.0.deb
where package-0.5.0.deb is the debian package you want to convert

Disclaimer:
Using alien to convert .deb to .rpm is not foolproof. In the end, a package built specifically for a distro is often more compliant to standards defined for that target distro.

6 Likes

So, you mean deb, not dep, right?

5 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.