First, packaging compression
(1) Tar: Package unpacking command
TAR-CXZJVF packaged files to package directory
-C: Package folder
-X: Unpacking folders
-Z: Compressed in gzip format with a default compression factor of 6 times times
-j: Compressing in bzip2 format
-V: Displays information about packaging and unpacking
-F: Immediately following an archive, the packaged file
Example of a packaged file: TAR-CVF My.tar./yukai/(Yukai as a folder)
Unpacking file Example: TAR-XVF My.tar
(2) GZIP,BZIP2: Extract command
Zip files: gzip My.tar
Unzip file: gzip-d my.tar.gz
-D: Unzip
(3) Packing and compressing: TAR-CZVF haha.tar.gz./yukai/
Unpacking and decompression: TAR-XZVF haha.tar.gz
II. Safety Loading and unloading
(1) dpkg: Ann Loading and unloading
Installation: sudo dpkg-i file name
Uninstall: sudo dpkg-r package name
(2) Apt-get: Upgrade to dpkg command, online installation
Online Installation: sudo apt-get-install package name
Online Uninstall: sudo apt-get-remove package name
Linux packaging compression and loading