The crm shell is an advanced command-line interface for High-Availability cluster management in GNU/Linux. Effortlessly configure, manage and troubleshoot your clusters from the command line, with full tab completion and extensive help. crmsh also provides advanced features like low-level cluster configuration, cluster scripting and package management, and history exploration tools giving you an instant view of what your cluster is doing. I will show you how to install crmsh on Ubuntu 22.04 in this tutorial.
- OS: Ubuntu 22.04 or older Ubuntu versions
- Privileges: Verify that you can execute the sudo commands line.
Install crmsh Ubuntu 22.04
crmsh is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.
Install crmsh using APT
This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these steps to get crmsh on your Ubuntu.
Step 1: Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:
Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install crmsh Ubuntu by pasting this command into the terminal and executing it.
Install crmsh using Aptitude
Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.
Then, you can now install crmsh, just following these steps:
Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:
Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install crmsh Ubuntu by pasting this command into the terminal and executing it.
Uninstall crmsh on Ubuntu 22.04
Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a crmsh, can be easily uninstalled by anyone.
This command can be used to uninstall crmsh from Ubuntu 22.04 if it was installed using APT or Aptitude.
You can also execute this command if you want to uninstall crmsh and remove its data and dependencies:
In this guide, I showed you ways to install crmsh on Ubuntu 22.04 and ways to uninstall crmsh too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.