Welcome: Hunan Intelligent Applications Tecgnology CO.,ltd.-HNIAT.com
Language: Chinese ∷  English

Basic knowledge

Specify the path when installing in Linux

a, rpm package

If you specify the directory where Linux needs to install the software, specify the installation directory for the software package: add the -relocate parameter;

 rpm -ivh --relocate /=/usr/local/jkd jdk_1.7_xxx.rpm

b. Installation of source packages, such as source packages ending with tar.gz or .bz or bz2

1. Open a shell, the terminal
2. Use the CD command to enter the directory where the source code archive is located
3. Unzip the file according to the compressed package type (* represents the compressed package name)
tar -zxvf **.tar.gz
tar -jxvf **.tar.bz (or bz2)
4. Use the CD command to enter the decompressed directory
5. Enter the compile file command: ./configure (some compressed packages have already been compiled, this step can be omitted)
6. Then the command: make
7. Then install the file command: make install
8. Installation is complete
==== Specify the installation directory: pay attention to the installation directory in the make install command process, or read the readme file in the installation directory. Of course, the best way is to specify the installation directory during the installation process, that is, add the ./configure command after the Parameter –prefix=/**, you can use the ./configure –help command to check which parameters the program supports.
For example: ./configure –prefix=/usr/local/aaaa, that is, install the software in the aaaa directory of the /usr/local/ path. The default installation directory of general software is in /usr/local or /opt, you can go there to find it.

c. Installation packages ending with bin

This package is similar to the RPM package, and the installation is relatively simple
1. Open a shell, the terminal
2. Use the CD command to enter the directory where the source code archive is located
3. Add executable attributes to the file: chmod +x jdk.bin (the middle is the letter x, lowercase)

[root@server1 soft]# chmod a+x jdk-6u45-linux-x64-rpm.bin
4. ./jkd.bin

 View Code
5. Execute the command: ./.bin (realplayer for linux is such an installation package)
How to uninstall: delete the installation directory selected during installation and OK
During the installation process, you can specify the installation directory, which is similar to the installation under Windows.

CONTACT US

Contact: Manager Xu

Phone: 13907330718

Tel: 0731-22222718

Email: hniatcom@163.com

Add: Room 603, 6th Floor, Shifting Room, No. 2, Orbit Zhigu, No. 79 Liancheng Road, Shifeng District, Zhuzhou City, Hunan Province

Scan the qr codeClose
the qr code