当前位置: 首页 > 工具软件 > Yasm > 使用案例 >

安装yasm(汇编编译器)和 nasm

国晟睿
2023-12-01

Env:centos7.9mini

wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz  #安装包

tar xf yasm-1.3.0.tar.gz   #解压

./configure prefix=/share/app/yasm  #构建,并指定安装目录

make && make install      #编译and安装

export PATH=$PATH:/share/app/yasm/bin  #设置环境变量

#验证
[root@ceshi ~]# yasm --version
yasm 1.3.0
Compiled on Oct 11 2022.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.

wget https://www.nasm.us/pub/nasm/releasebuilds/2.13rc23/nasm-2.13rc23.tar.xz --no-check-certificate  #安装包

tar xf nasm-2.13rc23.tar.gz  #解压

./configure prefix=/share/app/nasm-2.13  #构建,并指定安装目录
  
make && make install     #编译and安装

export PATH=$PATH:/share/app/nasm-2.13/bin  #设置环境变量

#验证
[root@ceshi ~]# nasm --version
NASM version 2.13rc23 compiled on Oct 11 2022

 类似资料: