Tar: Package command (not compressed)
Tar cvf xxxx.tar files to be archived
C: Create an archive
V: Show the process of an archive
F: Name of the archive
To view the contents of a document without being baffled:
Tar TVF Xxx.tar
Solution file:
Tar xvf Xxxx.tar
To compress at the same time:
Compress tar ZCVF with gzip xx.tar.gz Archive compressed Files---Unzip the command tar zxvf xx.tar.gz
Compress tar jcvf with bzip2 xx.tar.bz2 Archive compressed file---Unzip command tar jxvf xx.tar.bz2
A. The installation method of the Deb package.
1, find the corresponding package, such as Soft.version.deb, download to the local directory;
2, open a terminal, Su-into the root user;
3, the CD Soft.version.deb is located in the directory;
4. Input Dpkg-i Soft.version.deb
Two. How to install RPM package.
Install a package: RPM-IVH
Upgrade a package: RPM-UVH
Delete a package: rpm-e
RPM-QA Show all installed installation packages
1, find the corresponding package, such as soft.version.rpm, download to the local directory;
2, open a terminal, Su-into the root user;
3, the CD soft.version.rpm is located in the directory;
4. Input RPM-IVH soft.version.rpm
Three. tar.gz Source code Package installation method:
1, find the corresponding package, such as soft.tar.gz, download to the local directory;
2, open a terminal, Su-into the root user;
3, the CD soft.tar.gz is located in the directory;
4, TAR-XZVF soft.tar.gz//general will generate a soft directory
5. CD Soft
6,./configure
7. Make
8. Make Install
Four. TAR.BZ2 source code Package installation method
1, find the corresponding package, such as soft.tar.bz2, download to the local directory;
2, open a terminal, Su-into the root user;
3, the CD soft.tar.bz2 is located in the directory;
4, TAR-XJVF soft.tar.bz2//general will generate a soft directory
5. CD Soft
6,./configure
7. Make
8. Make Install
Five. Apt mode installation
1, open a terminal, Su-into the root user;
2, Apt-cache search Soft Note: Soft is the name of the software you are looking for or related information
3, if 2 found the software soft.version, then use the Apt-get install soft.version command installation software Note: As long as you can surf the Internet, only need to use Apt-cache search software, with apt-get install software.
Six. bin file Installation
If the name of the software you downloaded to is Soft.bin, which is generally an executable file, the installation method is as follows:
1, open a terminal, Su-into the root user;
2, chmod +x Soft.bin
3./soft.bin//Run this command to install the software
Linux compression and decompression