Set up the Assembly Environment (nasm) in linux and linuxnasm
Step 1: first determine whether the system has installed nasm -------------> open the terminal and run whereis nasm. IfNasm:/usr/bin/nasm is installed. If only nasm: is displayed, It is not installed.
The second release: Go to the official website to download the latest version of the source code for compiling http://www.nasm.us/, for example, nasm-x.xx. ta. gz, X. XX. Is the version number.
Step 3 Start installation,
First, extract the downloaded compressed package: tar xzvfNasm-X.XX. ta. gz;
Then cdNasm-X. XXAnd enter./Configure{The configure script will find the most appropriate C compiler and generate the corresponding makefile file}
Enter make to create the binary code of nasm and ndisasm.
Finally, enter make install for installation (this step requires the root permission)
Make install will load nasm and ndisasm into/usr/local/bin and install the corresponding man pages.
If you want to verify whether the installation is successful, enter whereis nasm (see step 1)