Problems and Solutions when installing the rpm package in ubuntu

Source: Internet
Author: User
I want to install jdk on Ubuntu, because apt-get is used to install jre, and sometimes it is not easy to use. However, the rpm installation file downloaded from the Internet cannot be installed on Ubuntu, which means Ubuntu is based on Debian and can only install deb files. I searched the internet and found that AlienPackageConverter can convert files such as Jiang rpm and deb to solve this problem. Sudoapt-getinstallaliensudo wants to install jdk on Ubuntu, because it is difficult to use apt-get to install jre. However, the rpm installation file downloaded from the Internet cannot be installed on Ubuntu, which means Ubuntu is based on Debian and can only install deb files. I searched the internet and found that Alien Package Converter can convert files such as Jiang rpm and deb to solve this problem.

Sudo apt-get install alien
Sudo alien XXX. rpm
Sudo dpkg-I XXX. rpm

However, it seems that alien will make the dependency between software messy, so the best way is to try to use the software on the Ubuntu source or find the deb format Installation File.

Another method:

Apt-get install rpm

Rpm-ihv XXXXXXXXXXX

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.