Detailed tutorial on deb package installation in Fedora Linux, fedoradeb

Source: Internet
Author: User

Detailed tutorial on deb package installation in Fedora Linux, fedoradeb


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:


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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.