2021-02-25 RHEL 7.0 tree installation steps

Pre-installation environment preparation: RHEL7.0, VM virtual machine, ftp client, IP address can ping each other
1, download the tree installation package, and upload it to the linux system via ftp (since the tree compression package is in .tgz format, use the tar command Decompress the file)

2. Decompress the compressed package by tar zxvf

3. List the installation directory (this path is the upload directory path of ftp), this step is mainly to check whether the decompression is successful

4, switch to the tree installation directory and display the decompressed File

5, install the program through make install The

attachment is the command for various decompression formats:
.tar 
unpacking: tar xvf FileName.tar
packaging: tar cvf FileName.tar DirName
(Note: tar is packaging, not compression!)
——— ————————————
.gz
decompression 1: gunzip FileName.gz
decompression 2: gzip -d FileName.gz
compression: gzip FileName

.tar.gz and .tgz
decompression: tar zxvf FileName.tar.gz
compression: tar zcvf FileName.tar.gz DirName
———————————————
.bz2
decompression 1: bzip2 -d FileName .bz2
decompression 2: bunzip2 FileName. bz2
compression: bzip2 -z FileName

.tar.bz2
decompression: tar jxvf FileName.tar.bz2
compression: tar jcvf FileName.tar.bz2 DirName
———————————————
.bz
decompression 1: bzip2 -d FileName.bz
decompression 2: bunzip2 FileName.bz
compression: unknown

.tar.bz
decompression: tar jxvf FileName.tar.bz
compression: unknown
———————————————
.Z
decompression: uncompress FileName.Z
compression: compress FileName
.tar.Z

Decompression: tar Zxvf FileName.tar.Z
Compression: tar Zcvf FileName.tar.Z DirName
———————————————
.zip
decompression: unzip FileName.zip
compression: zip FileName.zip DirName
— ——————————————
.rar
decompression: rar x FileName.rar
compression: rar a FileName.rar DirName
———————————————
.lha
decompression: lha -e FileName.lha
compression: lha -a FileName.lha FileName
———————————————
.rpm
unpacking: rpm2cpio FileName.rpm | cpio -div
——————— ————————
.deb
unpacking: ar p FileName.deb data.tar.gz | tar zxf


 

Guess you like

Origin blog.csdn.net/weixin_45448980/article/details/114068284