Geek

How To Install Bash 4.4 On Linux Distributions


Short Bytes:
Bash 4.4 has been recently released by GNU. The new version of GNU Project’s shell comes with a long list of useful changes. If your work revolves around Bash, you can grab the source package from GNU’s website and install it.

Before going ahead with Bash 4.4 installation process, make sure that you’ve got everything needed. Just in case you don’t have build-essential package, follow these steps:

Installing GNU Bash 4.4:

  • Debian and Ubuntu users (and their derivatives) need to run this command:
sudo apt-get install build-essential
  • Fedora and Red Hat users need to run the following command:
sudo yum groupinstall “Development Tools” “Legacy Software Development”

After installing these packages, one needs to head to the GNU’s FTP servers and fetch the required source packages. To do this, simply run this command:

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


The next step of installing GNU Bash 4.4 on your Linux distribution involves compiling the source package and installing it. To do this, run the following commands one by one:

tar xf bash-4.4.tar.gz
cd bash-4.4
./configure


make
sudo make install

There you go!

sh


Did you find this article helpful? Don’t forget to drop your feedback in the comments section below.

Also Read: New Features And Changes In GNU Bash 4.4

To Top

Pin It on Pinterest

Share This