How to Update Bash on CentOS 6 and CentOS 7
Posted on by J. Mays
Reading Time: < 1 minute
Pre-Flight Check
- These instructions are intended specifically for updating Bash on CentOS 6 and CentOS 7.
- I’ll be working from both a Liquid Web Core Managed CentOS 6 server and a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root.
First, Clean-Up Yum
yum clean all
Update Bash
Updating Bash is as simple as running just one command:
yum -y update bash
or… Update All Installed Packages
Optionally, it is possible to update all of the installed packages at once with the following command:
yum -y update
Related Articles:
- What is CentOS? Everything You Need to Know
- Check Apache Status with systemctl status and apachectl status Commands
- How to Find the Server Name Indication (SNI) Supporting Details
- How to Install Pip on CentOS 7
- Get Kernel Version for Linux: A Guide
- What Is a Time Series Database? How It Works & Use Cases

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!
Categories
Have Some Questions?
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
1.800.580.4985
1.517.322.0434
Latest Articles
How to Install WordPress on Linux (AlmaLinux)
Read ArticleWhat is CentOS? Everything You Need to Know
Read ArticleWhat is CentOS? Everything You Need to Know
Read ArticleRedis as Cache: How It Works and Why You Should Use It
Read ArticleRefer-a-Friend Program for Website Hosting: Get $100 for Each Friend!
Read ArticleWant More Great Content Sent to Your Inbox?