Linux

How to convert RPM packages to DEB packages using Ubuntu

Written by Ian Carnaghan · 29 sec read >

NOTE: Has been tested on Ubuntu 9.10

  1. In Ubuntu open Synaptic Package Manager System->Administration->Synaptic Package Manager

    Synaptic Package Manager

  2. Now we need to install 2 apps called alien and fakeroot
    • alien – Convert and install rpm and other packages
    • fakeroot – Gives a fake root environment

    Quick Search

  3. To install them simply type alien in the Quick search box and mark for installation and do the same for fakeroot.
  4. Once both have been marked for installation click on Apply

    Apply

  5. Now these packages will be installed, after installation they will be ready to use.
  6. Open a new Terminal Session and execute the command below with your RPM package
    {codecitation class=”brush: bash;”}fakeroot alien RPM_PACKAGE.rpm{/codecitation}

    This will create a DEB package in the same directory as your RPM package, for more info about alien use the man alien command

Last Updated On April 07, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. Profile

Leave a Reply

avatar
  Subscribe  
Notify of