1 编译安装yasm

1 下载yasm

wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz

2 解压缩

tar -zxvf yasm-1.3.0.tar.gz

3 编译和安装

cd yasm-1.3.0
./configure
make
make install

4 查看安装结果

yasm --versions

2 编译安装nasm

1 下载nasm

wget http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.gz

2 解压缩

tar -zxvf nasm-2.14.02.tar.gz

3 编译和安装

cd nasm-2.14.02
./configure
make
make install

4 查看安装结果

nasm --version