How to Update Bash on Debian and Ubuntu

Posted on by J. Mays
Reading Time: < 1 minute
Pre-Flight Check
  • These instructions are intended specifically for updating Bash on Debian and Ubuntu.
  • I’ll be working from both a Liquid Web Core Managed Ubuntu 14.04 server and a Liquid Web Self Managed Debian 7.4 server, and I’ll be logged in as root.

Clean-Up Apt-get

apt-get autoclean

Update Bash

Updating Bash is as simple as running just one command:

apt-get install --only-upgrade bash

or… Upgrade All Installed Packages

Optionally, it is possible to Upgrade all of the installed packages at once with the following command:

apt-get upgrade

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

Using a Cloudflare Argo Tunnel with load balancing

Read Article

Subdomain takeover — protect your website against it!

Read Article

Controlling PHP settings with a custom php.ini file

Read Article

Linux dos2unix command syntax — removing hidden Windows characters from files

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article