#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 13. Programming

- Prev

  Mercurial-6.9.2

- Next

  Patchelf-0.18.0

- Up
- Home

# NASM-2.16.03

## Introduction to NASM

NASM (Netwide Assembler) is an 80x86 assembler designed for portability and modularity. It includes a disassembler as well.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/nasm-2.16.03.tar.xz

- Download MD5 sum: 2b8c72c52eee4f20085065e68ac83b55

- Download size: 1008.1 KB

- Estimated disk space required: 41 MB

- Estimated build time: 0.2 SBU

### Additional Downloads

- Optional documentation: https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/nasm-2.16.03-xdoc.tar.xz

### NASM Dependencies

#### Optional (for generating documentation):

asciidoc-10.2.1 and xmlto-0.0.29

## Installation of NASM

If you downloaded the optional documentation, put it into the source tree:

    tar -xf ../nasm-2.16.03-xdoc.tar.xz --strip-components=1

Install NASM by running the following commands:

    ./configure --prefix=/usr &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

If you downloaded the optional documentation, install it with the following instructions as the `root` user:

    install -m755 -d         /usr/share/doc/nasm-2.16.03/html  &&
    cp -v doc/html/*.html    /usr/share/doc/nasm-2.16.03/html  &&
    cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-2.16.03

## Contents

Installed Programs: nasm and ndisasm
Installed Libraries: None
Installed Directory: /usr/share/doc/nasm-2.16.03

### Short Descriptions

nasm | is a portable 80x86 assembler
ndisasm | is an 80x86 binary file disassembler

- Prev

  Mercurial-6.9.2

- Next

  Patchelf-0.18.0

- Up
- Home