Professional Documents
Culture Documents
Installation and Execution Steps of Nasm On Fedora
Installation and Execution Steps of Nasm On Fedora
1. RPM file – copy RPM file in Home. On terminal > rpm –ivh nasm-2.10.09-
3.x86_64.rpm
2. check nasm is installed or not > whereis nasm it will show the path if alrea
dy installed. Otherwise go to www.nasm.us
Download the the topmost directory Download the Linux source archive nasm-
X.XX.ta.gz
>cd nasm<version>
>./configure. This shell script will find the best C compiler to use and set up
Makefiles accordingly.
Execution steps:
nasm –f elf64 hello.asm //-f for create file format, elf64 executable
linkable file format
ld –o hello hello.o // To link the object file and create an executable file
named hello