Detailed tutorial on deb package installation in Fedora Linux, fedoradeb
Preface:
We know that there are two major software package formats in Linux: RPM and deb.
RPM is the recursive abbreviation of "RPM Package Manager. RPM is a management tool used for software packaging, installation, uninstallation, and upgrade. Its file extension is ". rpm ". RPM is used in Linux releases such as RedHat Linux, OpenLinux, And Turbo Linux.
Deb is the extension (. deb ). the name of "deb" is from Debra Murdock, the wife of Debian founder Lan Murdock. dpkg is a commonly used tool to process deb packages.
Sometimes, we may need to use the deb package on Linux with RPM. In this case, we can use the Alien tool to convert the deb package into an RPM package.
The following describes how to convert a deb package to an RPM package and how to install an RPM package on Fedora.
1. Install Alien
To install Alien, you must use the root permission. If you log on to Fedora as a normal user, you need to switch to the root user before performing the following operations or using the command:
sudo
Temporarily obtain the root permission (an unusable problem occurs when I use the "sudo" command in Fedora. For the solution, see my blog Fedora Linux to Solve the Problem "xxx is not in the sudoers file ").
Enter the following command:
yum install alien
Install Alien.
Enter the following command:
alien -h
If Alien's help information can be returned on the terminal, the installation is successful.
Second, convert the deb package into an RPM package.
First, create a new folder, put the deb installation package in this file, right-click it, select "open on terminal", switch to the root user, and enter the command:
alien -r xxx.deb
After the conversion, we can see the rpm package with the ". RPM" extension.
3. Install the RPM package
Run the following command:
rpm -i xxx.rpm
In this way, many dependencies may need to be resolved during installation. To automatically resolve dependencies during software installation, run the following command:
yum -y localinstall xxx.rpm
The dependency is automatically resolved during installation.