How to install a specific version of NASM on MacOS

杀马特。学长 韩版系。学妹 提交于 2019-12-24 10:40:43

问题


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:

  1. Unpack the zip file
  2. Update your PATH statement to include the location you unzipped the version you downloaded
  3. Open a terminal window
  4. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!