Monday, August 18, 2014

Installing rpm in Ubuntu

For installing rpm package in Ubuntu, it has to be converted into .deb. For conversion alien tool can be used. The steps to convert the rpm into deb and than installing it as follows.
Install alien
$sudo apt-get update
$sudo apt-get install alien
Convert .rpm into .deb
Go to the location where .rpm package is there and run the alien command
$sudo alien -k <rpm file with extension>
-k keeps the version number
This will create a .deb file
Install the .deb package
$sudo dpkg -i <name-of deb-f file with extension>

No comments:

Post a Comment