Bash 5.0 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

wget http://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz

Next step is compiling and installing it;

tar xf bash-5.0.tar.gz
cd bash-5.0
./configure
make
sudo make install
sh

Bash 4.4 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

wget http://ftp.gnu.org/gnu/bash/bash-4.4.18.tar.gz

Next step is compiling and installing it;

tar xf bash-4.4.4.18.tar.gz
cd bash-4.4*
./configure
make
sudo make install
sh

Bash 4.3 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

wget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz

Next step is compiling and installing it;

tar xf bash-4.3.tar.gz
cd bash-4.3
./configure
make
sudo make install
sh

Bash 4.2 installation for Linux

Aside

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

wget http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz

Next step is compiling and installing it;

tar xf bash-4.2.tar.gz
cd bash-4.2
./configure
make
sudo make install
sh

How-to install Bash 4.1 in Linux

Aside

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

wget http://ftp.gnu.org/gnu/bash/bash-4.1.tar.gz

Next step is compiling and installing it;

tar xf bash-4.1.tar.gz
cd bash-4.1*
./configure
make
sudo make install