# 1: 未解压文件
To uncompress them, execute the following command(s) depending on the extension:
执行以下命令
$
tar zxf file.tar.gz
$ tar zxf file.tgz
$ tar jxf file.tar.bz2
$ tar jxf file.tbz2
Now change directory
切换目录
$
ls
$ cd path-to-software/
# 2: Build and install software
编译并安装,有的软件可以不用make,比如nasm,It depends
Generally you need to type 3 commands as follows for building and compiling software:
#
./configure
# make
# make install
Where,
- ./configure will configure the software to ensure your system has the necessary functionality and libraries to successfully compile the package
- make will compile all the source files into executable binaries.
- Finally, make install will install the binaries and any supporting files into the appropriate locations.
# 3: Read INSTALL / README file
阅读软件说明文档
Each tarball comes with installation and build instructions. Open INSTALL or README file for more information: