How to install deb and rpm packages in Ubuntu

Source: Internet
Author: User
Learn how to install the deb package and rpm package in Ubuntu. Deb is debianlinux installation format, similar to the RedHat rpm installation: dpkg-ifile.deb but to install dpkg package, also can use alien such software to package to rpm and other formats, or directly use the next rpm or tar package. How to convert a deb package to rpm: sudoapt-getinstallali

Learn how to install the deb package and rpm package in Ubuntu.

Deb is the installation format of debian linux, which is similar to Red Hat's rpm.

Installation: dpkg-I file. deb

However, to install the dpkg package, you can also use software such as alien to convert the package to rpm or directly use the next rpm or tar package.

How to convert a deb package to rpm:

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

Sudo alien xxxx. rpm # convert rpm to deb. After the conversion, a xxxx. deb with the same name is generated.

Sudo dpkg-I xxxx. deb # installation.

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.