Ubuntu package format is Deb, if you want to install the RPM package, you will first use alien to convert the RPM to Deb.
sudo apt-get installs alien #alien默认没有安装, so install it first
sudo alien xxxx.rpm #将rpm转换位deb, when done, generates a xxxx.deb with the same name
sudo dpkg-i xxxx.deb #安装
Note that the alien conversion of the Deb package does not guarantee 100% smooth installation, so you can find Deb best to use Deb directly
Sometimes the software that we want to use is not included in the Ubuntu Repository, and the program itself does not provide the Deb package that Ubuntu can use, and you don't want to compile from the source code. But if the software is provided with RPM packages, we can also install in Ubuntu.
Method One:
1. Install the Alien and Fakeroot tools first, where the former can convert the RPM package to the Deb package. The installation commands are:
sudo apt-get install alien Fakeroot
2. Download the RPM package that needs to be installed, assuming it is package.rpm.
3. Convert the RPM package to the Deb package using Alien:
Fakeroot Alien package.rpm
4. Once the conversion is successful, we can use the following instructions immediately to install:
sudo dpkg-i package.deb
Method Two:
1.CO
DE:
sudo apt-get install rpm alien
2.CODE:
Alien-d package.rpm
Use this method to install Flashplayer rpm packages under Ubuntu