Upgrading Software via SSH Updated on August 16, 2021 by InMotion Hosting Contributor 1 Minutes, 32 Seconds to Read Occasionally, you may need to upgrade your server software. This may be due to software updates, a change in configuration, or the installation of supplemental software. While this can sometimes be accomplished via graphic user interface, in general it will be done via the command-line. In this article, we will go over how to perform a server update and upgrade software via the command-line interface. Please be mindful that updating some packages could prevent others from working correctly. Note that you will require root access in order to use these directions. Upgrading Software By updating your software packages, you are downloading the latest version of the software that has been released since you last performed an update. By upgrading your software, you install the updated software and fully implement it. In order to perform both of these tasks, a few basic command-line operations are required. We only recommend performing these steps if you are comfortable with command-line operations. In this example, are using the YUM package manager, but the process is generally the same for other Linux-based operating systems. The process of upgrading your software is a two-step process that we will outline below: First, log into the server via SSH. Next, run the following command to update server packages within the server.yum updateOnce that is done, implement the updates using the upgrade command:yum upgrade Congratulations, now you know how to perform software updates and implement them on your web server! Please note that certain pieces of software can depend on specific versions of related software in order to function. If this is the case, upgrading your software may cause some applications to not function properly. As such we recommend double-checking your server’s software requirements before performing any substantial upgrades. Want to know what software you can install? Check out our Complete Software Installation Reference! Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles SSH Commands: The Practical Guide for Developers and Site Owners How to Connect to Your Server with SSH How to Use SCP For Secure File Transfer A Complete SSH Tutorial for Beginners How to Connect to Your Server via SSH How to View MariaDB Databases Using the Command Line How to Add SSH Keys to Your GitHub Account How to Change Directories using SSH Commands How to SSH Into Your Shared/Reseller Server Viewing Running Processes on your Dedicated Server