There are 4 ways to install software under Linux
- Source installation
- RPM install
- yum install
- binary installation
Binary packages provide many types of packaging methods, the most commonly used are packages in RPM format, and binary packages in the form of "*.tar.gz", "*.bz2", etc. The last one is to provide installers for Installed binary packages.
Three binary software installation example
This article uses the installation of JDK as an example to illustrate the binary installation.
1. JDK download path
Download from
http://www.oracle.com/technetwork/java/index.html
jdk-8u111-linux-x64.tar.gz package.
2. Installation method
First put the downloaded installation package in the /usr/local directory, and then install it.
Step 1: Unzip the installation package to the /usr/local directory:
Step 2: Check if the installation is successful: