Check if nasm is installednasm is an executable program. Just type:nasm and see what happens.If the output is nasm: no input file specified nasm is in place and there is no reason to do anything. If the output is bash: nasm: command not found you have to install nasm.
Install nasmGet the source code from www.web-sites.co.uk/nasm or download it here:nasm-0.98.tbz packed with bzip2 (386 kilobytes) nasm-0.98.tgz packed with gzip (472 kilobytes) If you download from here you will get files that follow the old MSDOS name convention. As a newcomer to Linux you will probably download these files on another computer under Microsoft Windows. This is perfectly OK. Just save the file on a floppy disc.
To read the floppy from Linux you first have to mount it.
To do that you must specify the directory under which you
will find the contents of the floppy after it is mounted.
First make sure you have a suitable directory.
Insert the floppy with nasm.tgz on it in the Linux machine
and mount the floppy to the file system.
You may place nasm wherever you like.
If you want to place it under /usr, first go there.
Copy nasm.tgz to /usr
Now you should unmount the floppy so you will be
able to mount another floppy later on.
Unpack the file
Then, to get the nasm source directory with all the source files in it
Descend into the nasm source directory
Run the configure script that prepares for compilation on your system.
Compile and link nasm.
Now the executable file nasm is present under the directory where
you made the compilation.
Move it to /usr/bin
The installation is complete.!!! |