wget https://ftp.gnu.org/gnu/bash/bash-5.1.8.tar.gz tar -xf bash-5.1.8.tar.gz cd bash-5.1.8 sed -e 's/$(prefix)/$(DESTDIR)$(prefix)/g' -i Makefile ./configure --prefix \ --bindir=/bin \ --without-bash-malloc make make install DESTDIR="$1"