How to Install Htop on Ubuntu 18.04

In this article, we will have explained the necessary steps to install and configure Htop on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Htop is an ncursed-based process viewer similar to top, but it allows one to scroll the list vertically and horizontally to see all processes and their full command lines. . Tasks related to processes can be done without entering their PIDs.

Install Htop on Ubuntu

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

Step 2. Install Htop on Ubuntu 18.04.

Htop is not installed by default on Ubuntu 18, But available from the default Ubuntu software repository. To install htop, simply use the following command:

Now run the following command to start htop:

Install Htop on Ubuntu 18.04

At the top of the display, you will see the CPU and memory usage, load average and uptime of the server. Then, you see the list of running processes with their own CPU and memory utilization.

That’s all you need to do to install Htop on Ubuntu 18.04. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.