Install htop in Ubuntu

In this article, we cover how to install htop in Ubuntu. It is a command-line tool that is used to monitor and manage processes. With the help of htop, we can nice & renice a process, sort processes on various parameters, terminate a process, search for a process, etc.

It is particularly useful in cases where we need to understand how well a process or our entire system is functioning. If a process is consuming way more resources than it should then we can limit the process through htop. Otherwise, we have to separately issue commands.

We cover its installation steps next.

Note: Following operations require Administrative Rights. In case you don’t have one then contact your System Administrator for assistance.

Install htop in Ubuntu

The package is a part of the standard Ubuntu repository. Therefore, update the repository first before we install the package. It is important we update the repository, this would help us get the latest version of the package. Hence, open a terminal and issue the following command:

sudo apt update

Next, install htop –

sudo apt install htop

Once it’s done. Issue the following command to run the command-line utility: htop

htop

In conclusion, we have covered how to install htop command-line utility in Ubuntu here. Through the utility, we can manage and monitor currently running process well.

Similar Posts