Bash 4.2 installation for Linux

This guide is for almost every Linux distribution.

Prerequisite is that you have the required build tools installed already.

If not, do the following step:

Debian and Ubuntu users way;

sudo apt-get install build-essential

The Fedora/Red Hat way:

sudo yum groupinstall "Development Tools" "Legacy Software Development"

First step is getting the source package


Next step is compiling and installing it;

tar xf bash-4.2.tar.gz
cd bash-4.2
sudo make install

6 Replies to “Bash 4.2 installation for Linux”

      1. i also can’t continue at the step compiling & install it too, please explain what it does what those commands! 😀

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.