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查看版本信息
參考鏈接