iv. Requisiti del sistema host

Il proprio sistema host deve avere il seguente software con almeno le versioni indicate. Questo non dovrebbe essere un problema per la maggior parte delle distribuzioni Linux moderne. Notare, inoltre, che molte distribuzioni metteranno gli header del software in pacchetti separati, spesso nella forma di «<package-name>-devel» o «<package-name>-dev». Assicurarsi di installare questi se la propria distribuzione li fornisce.

Per vedere se il proprio sistema host ha tutte le versioni di software appropriate, eseguire il seguente script:

cat > version-check.sh << "EOF"
#!/bin/bash

# Semplice script per elencare i numeri di versione degli strumenti di 
sviluppo critici

bash --version | head -n1 | cut -d" " -f2-4
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-4
bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
diff --version | head -n1
find --version | head -n1
gawk --version | head -n1
gcc --version | head -n1
/lib/libc.so.6 | head -n1 | cut -d" " -f1-7
grep --version | head -n1
gzip --version | head -n1
cat /proc/version | head -n1 | cut -d" " -f1-3,5-7
make --version | head -n1
patch --version | head -n1
sed --version | head -n1
tar --version | head -n1

EOF

bash version-check.sh