
Save and Exit the file using Ctrl+X, press Y and then the Enter key. nano ~/.bashrcĪfter that scroll to the end of the file and paste the following line. This will allow us to use the Glances command line anywhere from the terminal.Įdit the Bashrc file, if the nano editor is not then you can install it using sudo apt install nano. Once using the PIP the latest version of Glances is on your Ubuntu 22.04 Linux, add its installation folder to your system path. This will install a complete package of Glances for all major supported items to be monitored. #Using APT package manager: sudo apt install glances However, to perform this tutorial we used the PIP method. Here we will show both methods but choose only one to install Glances on your Linux system. However, for the latest version, we can use the PIP.

The only difference is the version of Glances via APT to install will be the most stable but older. Well, there are two easy ways to install Glances on Ubuntu 22.04 LTS Linux, one is using the default system package manager which is APT, and the other uses Python’s package manager – PIP. Although Ubuntu comes with Python pre-installed, however, still run the given command for some of the required dependencies: sudo apt-get install -y python3-pip python3-dev python3-docker gcc lm-sensors wireless-tools Glances required Python to run properly, so your system must have Python installed. It is because the process will not only install the popular updates but also refresh the APT cache. Start with a system updateĮxecute the system update command on your Ubuntu 22.04 before installing Glances. Glances Upgrade and Uninstallation on Ubuntu 22.04 1.

Moreover, it can be used on all Debian and RPM-based Linux easily.

Using it users or admins can identify any potential issues or bottlenecks hampering the overall performance of their Linux system. It is not just limited to the local system but even can be used for remote system monitoring, which makes it useful for system administrators and power users alike.

Glances which is a real-time system monitoring can display several information about computer resources such as CPU usage, memory usage, network traffic, and more. Here in this tutorial, we learn how to install Glances Ubuntu 22.04 for our Linux performance monitoring. It can be considered a good alternative to top/Htop command line system monitoring tools for Ubuntu. Glances is a free open-source command line software solution for Linux systems to monitor computer activity in real time.
