Install the rpm file method on Ubuntu (convert rpm to deb) the Ubuntu package format is deb. to install the rpm package, use alien to convert rpm to deb. Sudo apt-get install alien # alien is not installed by default, so first install sudo alien xxxx. rpm # convert rpm to deb. After the conversion is completed, a xxxx with the same name will be generated. debsudo dpkg-I xxxx. deb # installation Note: The deb package converted using alien cannot ensure smooth installation of 100%, so you can find deb and use deb directly, 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. 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. Run the following command to install sudo apt-get install alien fakeroot. 2. Download the rpm package to be installed and run it as package. rpm. 3. use alien to convert an rpm package to a deb package: fakeroot alien package. rpm 4. once the conversion is successful, run the following command to install sudo dpkg-I package. deb Method 2: 1. CODE: sudo apt-get install rpm alien2.CODE: alien-d package. rpm3.CODE: sudo dpkg-I package. deb 1. Use deb Package 1. view the files contained in deb (not installed) $ dpkg-c xxx. deb // view $ dpkg-L debname according to the deb file before installation // view according to the package name after installation 2. install deb package $ dpkg-I xxx. deb Note: if an error is prompted, you can add the parameter-force-all to force the installation, but this is not recommended. check which deb package of a file $ dpkg-S filepath 4. remove deb package $ dpkg-r debname