Menu
User

DropVPS Team

Writer: Cooper Reagan

How to install htop on ubuntu 24.10

How to install htop on ubuntu 24.10

Publication Date

05/20/2025

Category

Articles

Reading Time

2 Min

Table of Contents

Before installing any new software, it’s always a good practice to update your package list to ensure you have the latest information on available packages. Open your terminal and execute the following command:

sudo apt update

This command updates the package list for upgrades and new package installations.

Step 1: Install htop

Once your package list is updated, you can install htop by running the following command in your terminal:

sudo apt install htop

This command will fetch htop and its dependencies from the Ubuntu repositories. You may be prompted to confirm the installation; simply type Y and hit Enter.

Step 2: Launch htop

After the installation is complete, you can launch htop by typing the following command in your terminal:

htop

You will see a colorful interface displaying system processes, CPU usage, memory consumption, and more. You can navigate through the htop interface using the arrow keys, and you can kill processes by selecting them and pressing F9.

Step 3: Customize htop (Optional)

htop allows you to customize its appearance and functionality. You can access the setup menu by pressing F2. Here, you can adjust various settings such as:

  • Display options: Choose what information to show and how to display it.
  • Colors: Customize the color scheme to your liking.
  • Process sorting: Change how processes are sorted based on various criteria.

Feel free to explore these options to tailor htop to your needs.

Step 4: Uninstall htop (If Needed)

If you decide that htop is not for you, uninstalling it is straightforward. Run the following command in your terminal:

sudo apt remove htop

This command will remove htop from your system, but your configuration files will remain in case you want to reinstall it later.

For more tips and guides related to Ubuntu and other Linux distributions, stay tuned to our blog at dropvps.com!

Linux VPS
U
Loading...

Related Posts