How to install the RPM software package in Ubuntu

Source: Internet
Author: User
Article Title: Install the RPM-format software package in Ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

The Ubuntu package format is deb. If you want to install the rpm package, use alien to convert the rpm to deb.

Sudo apt-get install alien # alien is not installed by default, so install it first

Sudo alien xxxx. rpm # convert rpm to deb. A xxxx. deb with the same name is generated.

Sudo dpkg-I xxxx. deb # Installation

Note that the deb package converted from alien cannot be installed smoothly in 100%, so it is best to use deb directly if you can find deb.

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. 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 to be installed for backup. Assume It is package. rpm.

3. Use alien to convert an rpm package to a deb package:

Fakeroot alien package. rpm

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: info-contact@alibabacloud.com 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.