问题
I got NASM for MacOS from
http://www.nasm.us/pub/nasm/releasebuilds/2.11.06/macosx/
How to do I install this specific version of NASM?
I know that I can do a brew install nasm
. But I dont want the latest version. I want to install NASM 2.11.06
for MacOS.
How should I install the nasm-2.11.06-macosx.zip
that I have downloaded?
Environment:
I am running MacOS Sierra.
回答1:
All you would need to do is:
- Unpack the zip file
- Update your
PATH
statement to include the location you unzipped the version you downloaded - Open a terminal window
- Type
nasm -v
to confirm it is found and you have the right version you want
回答2:
Here's the line I use to get one of the nasm builds installed on macOS:
curl https://www.nasm.us/pub/nasm/releasebuilds/2.14.03rc2/macosx/nasm-2.14.03rc2-macosx.zip -o nasm.zip && unzip nasm.zip && rm nasm.zip && mv nasm* nasm && export PATH=~/nasm:$PATH
来源:https://stackoverflow.com/questions/46746295/how-to-install-a-specific-version-of-nasm-on-macos