Eine einfache Möglichkeit die benötigten Pakete zu installieren besteht darin, diesen Code per Copy and Paste auf der Konsole auszuführen, zB in PuTTY per Rechtsclick!
Mit tools/prerequisites
können die Pakete auch installiert werden.
… sind ungetestet und können funktionieren oder auch nicht. Dies hängt stark von den Fähigkeiten des Bedieners ab.
Wenn man vergessen hat welche Linux Version installiert ist kann dies so prüfen:
$ hostnamectl status
Operating System: Fedora 33 (Thirty Three)
Kernel: Linux 5.10.15-200.fc33.x86_64
$ lsb_release -d
Description: Ubuntu 14.04.6 LTS
i686
bei 32-Bit x86 und x86_64
bei 64-Bit x86:
$ uname -m
aarch64
sudo dnf -y update && sudo systemctl daemon-reload
sudo dnf -y install \
bc binutils bison bzip2 ccache cmake curl ecj elfutils-libelf-devel flex gcc gcc-c++ gettext \
git glib2-devel glibc-devel gnutls-devel ImageMagick inkscape javapackages-tools kmod \
libacl-devel libattr-devel libcap-devel libgcc libglade2-devel libstdc++-devel libtool \
libuuid-devel libxml2-devel libzstd-devel make ncurses ncurses-devel ncurses-term netcat net-tools \
openssl openssl-devel patch patchutils perl perl-String-CRC32 pkgconfig pv qt5-qtbase-devel \
readline-devel rpcgen rsync sharutils sqlite sqlite-devel subversion texinfo unar util-linux wget xz \
zlib-ng-devel
sudo dnf -y install \
bc binutils bison bzip2 ccache cmake curl ecj elfutils-libelf-devel flex ftp gcc gcc-c++ \
gettext git glib2-devel glibc-devel.i686 gnutls-devel ImageMagick inkscape javapackages-tools \
kmod libacl-devel libattr-devel libcap-devel libgcc.i686 libglade2-devel \
libstdc++-devel.i686 libstdc++-devel.x86_64 libtool libuuid-devel libxml2-devel libzstd-devel.x86_64 make \
ncftp ncurses-devel ncurses-devel.i686 ncurses-term netcat net-tools openssl openssl-devel \
patch patchutils perl perl-String-CRC32 pkgconfig pv qt5-qtbase-devel readline-devel rpcgen \
rsync sharutils sqlite-devel sqlite.i686 subversion texinfo unar util-linux wget xz zlib-devel \
zlib-devel.i686
sudo dnf -y install \
autoconf automake bc binutils bison bzip2 ccache cmake curl ecj elfutils-libelf-devel flex \
gcc gcc-c++ gettext git glib2-devel glibc-devel.i686 gnutls-devel ImageMagick inkscape \
javapackages-tools kmod libacl-devel libattr-devel libcap-devel libgcc.i686 libglade2-devel \
libstdc++-devel.i686 libstdc++-devel.x86_64 libtool libuuid-devel libxml2-devel libzstd-devel.x86_64 make \
ncftp ncurses-devel ncurses-devel.i686 ncurses-term netcat net-tools openssl openssl-devel \
patch patchutils perl perl-String-CRC32 pkgconfig pv qt5-qtbase-devel readline-devel rpcgen \
rsync sharutils sqlite-devel sqlite.i686 subversion texinfo unar util-linux wget xz zlib-devel \
zlib-devel.i686
sudo dnf -y install \
autoconf automake bc binutils bison bzip2 ccache cmake curl ecj elfutils-libelf-devel flex \
gcc gcc-c++ gettext git glib2-devel glibc-devel.i686 gnutls-devel ImageMagick inkscape \
javapackages-tools kmod libacl-devel libattr-devel libcap-devel libgcc.i686 libglade2-devel \
libstdc++-devel.i686 libstdc++-devel.x86_64 libtool libuuid-devel libxml2-devel libzstd-devel.x86_64 make \
ncftp ncurses-devel ncurses-devel.i686 ncurses-term netcat net-tools openssl openssl-devel \
patch patchutils perl perl-String-CRC32 pkgconfig pv qt5-qtbase-devel readline-devel rpcgen \
rsync sharutils sqlite-devel sqlite.i686 subversion texinfo unar util-linux wget xz zlib-devel \
zlib-devel.i686
sudo dnf -y install \
autoconf automake bc binutils bison bzip2 ccache cmake ecj flex gcc gcc-c++ gettext git \
glib2-devel glibc-devel.i686 gnutls-devel ImageMagick inkscape kmod libacl-devel libattr-devel \
libcap-devel libgcc.i686 libglade2-devel libstdc++-devel.i686 libtool libuuid-devel libxml2-devel \
libzstd-devel.i686 make ncurses-devel ncurses-devel.i686 ncurses-term openssl openssl-devel patch perl \
perl-String-CRC32 pkgconfig pv qt5-qtbase-devel readline-devel rsync sqlite-devel sqlite.i686 subversion \
texinfo unar util-linux wget xz zlib-devel zlib-devel.i686
sudo yum -y install ncurses-devel.i686 glibc-devel.i686 libgcc.i686
sudo yum -y install \
autoconf automake binutils bison bzip2 ecj flex gcc gcc-c++ gettext git glib2-devel \
ImageMagick libacl-devel libattr-devel libcap-devel libtool make ncurses-devel patch perl \
perl-String-CRC32 pkgconfig subversion texinfo wget zlib-devel
sudo apt -y update
sudo apt -y upgrade
sudo apt -y dist-upgrade
sudo apt -y install \
autopoint bc binutils bison bsdmainutils bzip2 ccache cmake curl ecj flex ftp g++ gawk gcc \
gcc-multilib gettext git graphicsmagick imagemagick inkscape intltool java-wrappers kmod \
lib32ncurses5-dev lib32stdc++6 lib32z1-dev libacl1-dev libc6-dev-i386 libcap-dev libelf-dev \
libglib2.0-dev libgnutls28-dev libncurses5-dev libreadline-dev libsqlite3-dev libssl-dev \
libstring-crc32-perl libtool-bin libusb-dev libxml2-dev libzstd-dev make netcat-traditional patch perl \
pkg-config pv rsync sharutils sqlite3 subversion sudo texinfo tofrodos unar unzip uuid-dev wget \
zlib1g-dev
sudo apt -y install \
autopoint bc binutils bison bsdmainutils bzip2 ccache cmake curl ecj flex ftp g++ gawk gcc \
gcc-multilib gettext git graphicsmagick imagemagick inkscape intltool java-wrappers kmod \
lib32ncurses5-dev lib32stdc++6 lib32z1-dev libacl1-dev libc6-dev-i386 libcap-dev libelf-dev \
libglib2.0-dev libgnutls28-dev libncurses5-dev libreadline-dev libsqlite3-dev libssl-dev \
libstring-crc32-perl libtool-bin libusb-dev libxml2-dev libzstd-dev make netcat patch perl pkg-config pv rsync \
sharutils sqlite3 subversion sudo texinfo tofrodos unar unzip uuid-dev wget zlib1g-dev
Devuan wurde schon erfolgreich zum Bauen benutzt. Einfach die Pakete installieren, die für Debian vorgeschlagen werden.
sudo apt-get -y install console-data && sudo locale-gen de_DE && sudo dpkg-reconfigure console-data && exit
# dpkg --print-foreign-architectures
sudo dpkg --add-architecture i386
sudo apt-get -y update
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get -y install \
autopoint bc binutils bison bsdmainutils bzip2 ccache cmake curl ecj flex ftp g++ gawk gcc \
gcc-multilib gettext git graphicsmagick imagemagick inkscape intltool java-wrappers kmod \
lib32ncurses-dev lib32stdc++6 lib32z1-dev libacl1-dev libc6-dev-i386 libcap-dev libelf-dev \
libglib2.0-dev libgnutls28-dev libncurses-dev libreadline-dev libsqlite3-dev libssl-dev \
libstring-crc32-perl libtool-bin libusb-dev libxml2-dev libzstd-dev make ncftp netcat-openbsd net-tools patch \
patchutils perl pkg-config pv rsync sharutils sqlite3 subversion sudo texinfo tofrodos unar unzip \
uuid-dev wget zip zlib1g-dev
sudo apt-get -y install \
autopoint bc binutils bison bsdmainutils bzip2 ccache cmake curl ecj flex ftp g++ gawk gcc \
gcc-multilib gettext git graphicsmagick imagemagick inkscape intltool java-wrappers kmod \
lib32ncurses5-dev lib32stdc++6 lib32z1-dev libacl1-dev libc6-dev-i386 libcap-dev libelf-dev \
libglib2.0-dev libgnutls28-dev libncurses5-dev libreadline-dev libsqlite3-dev libssl-dev \
libstring-crc32-perl libtool-bin libusb-dev libxml2-dev libzstd-dev make ncftp netcat-openbsd net-tools patch \
patchutils perl pkg-config pv rsync sharutils sqlite3 subversion sudo texinfo tofrodos unar unzip \
uuid-dev wget zip zlib1g-dev
sudo apt-get -y install \
autopoint bc binutils bison bsdmainutils bzip2 ccache cmake curl ecj flex ftp g++ gawk gcc \
gcc-multilib gettext git graphicsmagick imagemagick inkscape intltool java-wrappers kmod \
lib32ncurses5-dev lib32stdc++6 lib32z1-dev libacl1-dev libc6-dev-i386 libcap-dev libelf-dev \
libglib2.0-dev libgnutls28-dev libncurses5-dev libreadline-dev libsqlite3-dev libssl-dev \
libstring-crc32-perl libtool-bin libusb-dev libxml2-dev libzstd-dev make ncftp netcat net-tools patch \
patchutils perl pkg-config pv rsync sharutils sqlite3 subversion sudo texinfo tofrodos unar unzip \
uuid-dev wget zip zlib1g-dev
# sqlite-32bit lässt sich mit apt nicht installieren, aber mit apt-get schon. Siehe auch:
# https://developpaper.com/ubuntu-solves-the-problem-of-libsqlite3-0-dependency-recommended/
sudo apt -y install libzstd-dev:i386 sqlite3:i386
sudo apt-get -y install \
autopoint bc binutils bison bsdmainutils build-essential bzip2 ccache cmake curl ecj flex \
g++ gawk gcc gcc-multilib gettext git graphicsmagick imagemagick inkscape intltool kmod \
lib32ncurses5-dev lib32stdc++6 lib32z1-dev libacl1-dev libc6-dev-i386 libcap-dev libglib2.0-dev \
libgnutls28-dev libncurses5-dev libreadline-dev libsqlite3-dev libssl-dev libstring-crc32-perl \
libtool-bin libusb-dev libzstd-dev make ncftp netcat net-tools openssl patch patchutils perl \
pkg-config pv rsync sqlite3 subversion sudo texinfo tofrodos unar unzip uuid-dev wget zlib1g-dev
sudo apt-get -y install \
autoconf automake autopoint bc binutils bison bsdmainutils bzip2 ecj flex g++ gawk gcc \
gcc-multilib gettext git graphicsmagick imagemagick inkscape intltool kmod lib32ncurses5-dev \
lib32stdc++6 libacl1-dev libc6-dev-i386 libcap-dev libglib2.0-dev libncurses5-dev libreadline-dev \
libstring-crc32-perl libtool-bin libusb-dev make patch perl pkg-config pv realpath rsync subversion sudo texinfo \
tofrodos unar unzip wget zlib1g-dev
sudo apt-get -y install \
autoconf automake automake1.9 autopoint bc binutils bison bsdmainutils build-essential \
bzip2 ccache cmake curl ecj flex g++ gawk gcc gcc-multilib gettext git graphicsmagick imagemagick \
inkscape intltool kmod lib32ncurses5-dev lib32stdc++6 lib32z1-dev libacl1-dev libc6-dev-i386 \
libcap-dev libglib2.0-dev libncurses5-dev libreadline-dev libsqlite3-dev libstring-crc32-perl \
libtool libusb-dev make netcat openssl patch perl pkg-config pv realpath rsync sqlite3 subversion \
sudo texinfo tofrodos unar unzip wget zlib1g-dev
Zusätzlich muss manuell installiert werden:
cmake min v3.4.3 https://ftp.osuosl.org/pub/blfs/conglomeration/cmake/cmake-3.4.3.tar.gz
cpio min v2.12 https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.bz2
make min v3.82 https://ftp.gnu.org/gnu/make/make-3.82.tar.bz2
libzstd min v0 https://github.com/facebook/zstd/releases/download/v1.4.9/zstd-1.4.9.tar.gz
Und ausserdem falls ccache gebaut werden soll:
cmake min v3.10 https://ftp.osuosl.org/pub/blfs/conglomeration/cmake/cmake-3.10.3.tar.gz
gmp min v4.2 https://ftp.gnu.org/gnu/gmp/gmp-4.2.4.tar.bz2
mpfr min v2.4 https://ftp.gnu.org/gnu/mpfr/mpfr-2.4.2.tar.xz
mpc min v0.8 https://gcc.gnu.org/pub/gcc/infrastructure/mpc-0.8.1.tar.gz
gcc min v6 https://ftp.gnu.org/gnu/gcc/gcc-6.5.0/gcc-6.5.0.tar.xz
# export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64:/usr/local/lib32"
sudo apt-get -y install libc6-dev-i386 lib32ncurses5-dev gcc-multilib lib32stdc++6
sudo apt-get -y install libtool-bin
sudo apt-get -y install \
autoconf automake automake1.9 binutils bison bzip2 ecj fastjar flex g++ gawk gcc gettext \
graphicsmagick intltool libacl1-dev libcap-dev libncurses5-dev libreadline-dev libstring-crc32-perl \
libtool libusb-dev make patch perl pkg-config python realpath subversion texinfo tofrodos unzip \
zlib1g-dev
sudo apt-get -y install \
autoconf automake binutils bison bzip2 ecj fastjar flex g++ gawk gcc gettext git-core \
imagemagick intltool libacl1-dev libattr1-dev libcap-dev libglib2.0-dev libncurses5-dev \
libreadline-dev libstring-crc32-perl libtool libusb-dev make patch perl pkg-config python realpath \
subversion texinfo tofrodos unzip xz-utils zlib1g-dev
sudo apt-get -y install \
autoconf automake automake1.9 binutils bison bzip2 ecj fastjar flex g++ gawk gcc gettext \
git-core imagemagick intltool jikes libacl1-dev libattr1-dev libcap-dev libglib2.0-dev \
libncurses5-dev libreadline-dev libstring-crc32-perl libtool libusb-dev make patch perl pkg-config \
python realpath subversion texinfo tofrodos unzip xz-utils zlib1g-dev
Kali rolling wurde schon erfolgreich zum Bauen benutzt. Einfach die Pakete installieren, die für Ubuntu vorgeschlagen werden. Das meiste wird bei Kali sowieso schon dabei installiert sein.