Sometimes, the software we want to use is not included in the Ubuntu repository, and the program itself does not provide the deb package that can be used by Ubuntu, and you do not want to compile it from the source code. But if the software provides an rpm package, we can also install it in Ubuntu. Method 1: 1. Install the alien and fakeroot tools first. The former can convert the rpm package to the deb package. The installation command is sudoapt-getinstall.
Sometimes, the software we want to use is not included in the Ubuntu repository, and the program itself does not provide the deb package that can be used by Ubuntu, and you do not want to compile it from the source code. But if the software provides an rpm package, we can also install it in Ubuntu.
Method 1:
1. Install the alien and fakeroot tools first. The former can convert the rpm package to the deb package. The installation command is:
Sudo apt-get install alien fakeroot
2. Download the rpm package that needs to be installed for backup, for example, package. rpm.
3. Use alien to convert an rpm package to a deb package:
Fakeroot alien package. rpm
4. Once the conversion is successful, we can immediately use the following command to install it:
Sudo dpkg-I package. deb
Method 2:
1. sudo apt-get install rpm alien
2. alien-d package. rpm
3. sudo dpkg-I package. rpm