📜  安装 gz 文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:19.847000             🧑  作者: Mango

代码示例1
Download the desired .tar.gz or (.tar.bz2) file
Open Terminal
Extract the .tar.gz or (.tar.bz2) file with the following commands
tar xvzf PACKAGENAME.tar.gz
tar xvjf PACKAGENAME.tar.bz2
Navigate to the extracted folder using cd command
cd PACKAGENAME
Now run the following command to install the tarball
./configure
make
sudo make install