5.13. Bash-4.1

5.13.1. Installation der Bash

Das Paket entpacken und in das neue Verzeichnis wechseln:

tar xf pakete/bash-4.1.tar.gz &&
cd bash-4.1/

Bereite die Bash zum kompilieren vor:

./configure --prefix=/tools --without-bash-malloc

Die Bedeutung der Parameter für configure:

--without-bash-malloc

Malloc ist abgekürzt memory allocation und die von bash ist Mist. Die von Glibc ist viel besser.

Das Paket kompilieren:

make

Installiere das Paket:

make install

Einige Programme wollen sh, daher ein:

ln -vs bash /tools/bin/sh

Nun das Verzeichnis verlassen und dann entfernen:

cd .. &&
rm -rf bash-4.1/