Install the root user sudo apt-Get install root-system-bin
Install JDK in Linux (Please use alien to install RPM packages on Debian)
Article category: Java programming
When JDK is installed in Ubuntu, the following message is displayed:
Rpm: Please use alien to install RPM packages on Debian, if you are really sure use -- force-Debian switch. See readme. Debian for more details.
Deb is the installation format of Debian Linux. It is similar to Red Hat's rpm for installation: dpkg-I file. Deb, but the dpkg package must be installed.
To convert RPM to a deb package, sudo apt-Get install alien # alien is not installed by default. Therefore, you must first install it. 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.
You are using Ubuntu or Debian. Ubuntu should use Deb packages. Rpm can be installed only after being converted to a deb package using alien.
How to install the RPM software package in Ubuntu
Zdnet software channel time: 2008-06-19 Author: Kid | Saidi network I want to comment ()
Keyword: Command Line Linux skills
The Ubuntu package format is Deb. If you want to install the RPM package, use alien to convert the RPM to Deb.
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:
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 that needs to be installed for backup, for example, package. rpm.
3. Use alien to convert an RPM package to a deb package:
Fakeroot alien package. rpm
4. Once the conversion is successful, we can immediately use the following command to install it:
Sudo dpkg-I package. Deb
Method 2:
1. Code:
Sudo apt-Get install RPM alien
2. Code:
Alien-D package. rpm
3. Code:
Sudo dpkg-I package. Deb
Install the root user
Sudo apt-Get install root-system-bin