Package lists

These packages are needed to build Astlinux on Linux.

Debian / Ubuntu

sudo apt-get install subversion build-essential libncurses5-dev bison flex gettext intltool tofrodos tcl pkg-config dosfstools
sudo apt-get install gperf texinfo autoconf nasm zlib1g-dev libssl-dev libtool rsync unzip git-core gawk lzma dos2unix bc

Newer versions of Debian (8 and later) and Ubuntu (15.04 and later) also require:

sudo apt-get install libtool-bin python

It is recommended to change the default shell to bash: /bin/sh → bash

dpkg-reconfigure dash

Optional: If you want to “Create a Flash Image” using astlinux-makeimage and if are using a 64-bit (x86_64) host, the following libraries must be installed as well:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

For Debian 8 “ia32-libs” is not available, you need “zlib1g:i386” instead.

Optional: If you want to “Create a bootable ISO” using build-runnix-iso:

sudo apt-get install genisoimage

Note: For some Ubuntu versions you may need to add symlinks/aliases from “fromdos” ⇒ “dos2unix” and from “todos” ⇒ unix2dos“, because the the unix2dos package may not exist.


RHEL / CentOS

sudo yum -y install subversion make gcc nasm autoconf gettext intltool texinfo bison flex flex-devel tcl glibc-static gperf
sudo yum -y install wget byacc patch zlib-devel rsync libtool unzip git dos2unix ncurses-devel bc

RHEL/CentOS 7 x86_64 Minimal Installation also require:

sudo yum -y install bzip2 gcc-c++ libstdc++-static dosfstools

Optional: If you want to “Create a Flash Image” using astlinux-makeimage, and are using a 64-bit (x86_64) host, the following library must be installed:

sudo yum -y install glibc.i686

Optional: If you want to “Create a bootable ISO” using build-runnix-iso:

sudo yum -y install genisoimage