Centos8安装nasm
Centos8安装nasm
nasm, Netwide Assembler, 网络汇编程序
按照官网的提示,如果需要使用yum安装nasm的话,将nasm.repo源安装到yum的源目录下,
CentOS8的yum源的位置为/etc/yum.repos.d,
nasm.repo文件内容如下
[nasm]
name=The Netwide Assembler
baseurl=http://www.nasm.us/pub/nasm/stable/linux/
enabled=1
gpgcheck=0
[nasm-testing]
name=The Netwide Assembler (release candidate builds)
baseurl=http://www.nasm.us/pub/nasm/testing/linux/
enabled=0
gpgcheck=0
[nasm-snapshot]
name=The Netwide Assembler (daily snapshot builds)
baseurl=http://www.nasm.us/pub/nasm/snapshots/latest/linux/
enabled=0
gpgcheck=0
然后使用yum install nasm即可安装,nasm -v查看版本信息
参考链接