Assembly - Environment Setup
Assembly - Environment Setup
Installing NASM
If you select "Development Tools" while installing Linux, you may get NASM installed
along with the Linux operating system and you do not need to download and install it
separately. For checking whether you already have NASM installed, take the
following steps −
https://www.tutorialspoint.com/assembly_programming/assembly_environment_setup.htm 1/2
6/15/24, 3:46 PM Assembly - Environment Setup
Check The netwide assembler (NASM) website for the latest version.
Download the Linux source archive nasm-X.XX.ta.gz, where X.XX is the NASM
version number in the archive.
Unpack the archive into a directory which creates a subdirectory nasm-X. XX.
cd to nasm-X.XX and type ./configure. This shell script will find the best C
compiler to use and set up Makefiles accordingly.
Type make to build the nasm and ndisasm binaries.
Type make install to install nasm and ndisasm in /usr/local/bin and to install
the man pages.
This should install NASM on your system. Alternatively, you can use an RPM
distribution for the Fedora Linux. This version is simpler to install, just double-click
the RPM file.
https://www.tutorialspoint.com/assembly_programming/assembly_environment_setup.htm 2/2