The most common source code packages downloaded from the Internet are .tar.gz packages, and some are .tar.bz2 packages.
It is very simple to decompress:
.tar The .gz format decompression command is tar -zxvpf xx.tar.gz
.tar.bz2 The format decompression command is tar -jxvpf xx.tar.bz2
//p parameter can retain the original file permissions (very important)
The above is the editor’s introduction to how to decompress .tar.gz .tar.bz2 command under Linux. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will promptly Reply to everyone!
For more articles related to how to decompress .tar.gz .tar.bz2 commands under Linux, please pay attention to the PHP Chinese website!