Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert rpm to deb without alien?

Tags:

ubuntu

rpm

deb

How to convert rpm to deb without using alien? I am not able to install alien in my ubuntu 19?

It gives an error on packages not able to find?

enter image description here

like image 283
supernatural Avatar asked Nov 30 '25 02:11

supernatural


1 Answers

You can use these commands as below to convert rpm to deb package.

sudo apt-get install ruby ruby-dev rubygems build-essential
sudo gem install --no-document fpm         
sudo fpm -s rpm -t deb rpmFileName.rpm

If you want to convert deb to rpm then simply change last command as follows:

sudo fpm -s deb -t rpm debFileName.deb

You can follow this fpm package link for more details.

like image 133
Manish Jain Avatar answered Dec 02 '25 16:12

Manish Jain



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!