#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 13. Programming

- Prev

  Mercurial-5.7

- Next

  Perl Modules

- Up
- Home

# NASM-2.15.05

## 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-10.1 platform.

### Package Information

- Download (HTTP): http://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.xz

- Download MD5 sum: 1c9802446d7341c41c21eb98c7859064

- Download size: 976 KB

- Estimated disk space required: 40 MB

- Estimated build time: 0.2 SBU

### Additional Downloads

- Optional documentation: http://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05-xdoc.tar.xz

### NASM Dependencies

#### Optional (for generating documentation):

asciidoc-9.1.0 and xmlto-0.0.28

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/nasm

## Installation of NASM

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

    tar -xf ../nasm-2.15.05-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.15.05/html  &&
    cp -v doc/html/*.html    /usr/share/doc/nasm-2.15.05/html  &&
    cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-2.15.05

## Contents

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

### Short Descriptions

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

Last updated on 2021-02-20 14:53:06 -0800

- Prev

  Mercurial-5.7

- Next

  Perl Modules

- Up
- Home