In linux, deb files are converted to rpm files, and deb packages are converted to rpm files.
Convert deb files to rpm files in linux
Take alien_8.87.tar.gz as an example:
- Download and install alien_8.87.tar.gz
[Root @ shyn ~] # Wget http://ftp.de.debian.org/debian/pool/main/a/alien/alien_8.87.tar.gz
[Root @ shyn ~] # Tar zxvf alien_8.87.tar.gz
[Root @ shyn ~] # Cd alien
[Root @ shyn alien] # perl Makefile. PL
[Root @ shyn alien] # make
[Root @ shyn alien] # make install
- Convert filename. deb to filename. rpm
[Root @ shyn ~] # Alien-r filename. deb
Warning: Skipping conversion of scripts in package libnet0-dev: postinst prerm
Warning: Use the -- scripts parameter to include the scripts.
Filename. rpm generated
[Root @ shyn ~] # Rpm-ivh libnet0-dev-1.0.2a-8.i386.rpm
What is wrong with deb rpm tarbz2 targz in linux, completely incorrect ======================================================== ==========
Rpm and deb are completely irrelevant to kde and gnome. kde and gnome are desktop systems. Rpm and deb are software package management systems. Any Linux release can install the kde and gnome desktop environments. The rpm and deb package management systems depend on the Linux release. In general, deb is used for Debian-based releases, and rpm is used for redhat releases. For example, Ubuntu, Debian, Mint, and other systems use the Deb package management system, while CentOS, Opensuse, and Fedora use the rpm.
It is A little troublesome to install these software packages because of dependencies. That is to say, another software package depends on other software packages, such as Package A depends on Package B, to install package A, install package B first. If Gnome/Kde is installed, double-click it. However, it is recommended to install the SDK on the command line (to obtain the Root permission ). You can view the error information.
Deb package: dpkg-I xxx. deb
Rpm package: rpm-I xxx. rpm
Tar.gz is a compressed package, not a software installation. Therefore, extract the package first. There is a decompression tool in the GUI. Or at the command line:
Tar zxvf *** .tar.gz
Tar jxvf *** .tar.bz2 (decompress the bz2 compressed package)
If there is an installation script in the package, execute it on the terminal.
For example, the above install-sh must be input in the terminal:
./Install-sh
If the package contains the source code, it is another story...
If you are a newbie, we recommend that you install Ubuntu or Mint and install the software directly through sudo apt-get install ×××. Convenient. Then gradually become familiar with Linux. In addition, it does not need to be checked online. Or go to the Forum to ask questions. You can go to the Ubuntu Chinese Forum or the bbs of Linuxsir.
If you want to use Linux instead of just trying it out, I suggest using at least 10 simple Linux commands. In Linux, many things still need to use command lines. In addition, many tutorials on the internet provide command line solutions.
Install the rpm software in ubuntu. to convert the rpm to the deb format, run the following command: sudo alien -- scripts jdk-7-linux-i 586rpm. Do not use the rpm software package to install it on Ubutnu... JDK is directly downloaded from the official Java website.