How to install htop on ubuntu 24.10

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!

Share:

More Posts

How to Install Maven on macOS 2025

What you will read?1 Check for Java Installation2 Install Homebrew (If Not Installed)3 Install Maven via Homebrew4 Verify Environment Variables (Optional)5 Create a Sample Maven

How to Use Google SMTP Server

What you will read?1 Step 1: Enable SMTP Access in Gmail2 Step 2: Secure Connection with TLS3 Step 3: Send an Email via SMTP4 Step

how to install wine on RHEL

What you will read?1 Check RHEL version and CPU architecture2 Update system and install base tools3 Verify subscription and enable CodeReady Builder4 Enable EPEL repository5

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments