Upgrade Bash (4.3-4.4) in a minimal (uncustomized) system - how to, and is it safe?
I have an Ubuntu server 16.04 (xenial) based Nginx server environment I host at digitalocean.com. This environment is minimalist - it has no kernel / shell customizations. I only have a few aliases in
/etc/bash.bashrc, and I use only one Bash extension (WP-CLI for Wordpress sites). I rarely use any utility which is not native to Unix (CSF-LFD, Maldet,
unzip and that's basically it).
apt get update -y && apt get upgrade -y but from
bash --version it seems my version is still 4.3.48(1).
I would like to upgrade that shell to it's highest version 4.4. Is it possible, and safe, in my distro and environment?
For those who wonder why it's important to me:
The reason I ask this is to successfully implement a specific solution I got as an answer in this question. Please see update_2 in that question.