How To Install process-viewer on Ubuntu 20.04
Introduction
In this tutorial we learn how to install process-viewer on Ubuntu 20.04.
What is process-viewer
process-viewer is:
Process viewer provides current status of your processes (cpu and memory usage) and your system (usage of every core and of your RAM, and the temperature of your components if this information is available).
This package contains the following binaries built from the Rust crate “process_viewer”:
- process_viewer X-Cargo-Built-Using: rust-arrayvec (= 0.4.11-1), rust-atk (= 0.7.0-1), rust-atk-sys (= 0.9.0-2), rust-bitflags (= 1.2.1-1), rust-cairo-rs (= 0.7.1-1), rust-cairo-sys-rs (= 0.9.0-2), rust-cfg-if (= 0.1.9-1), rust-crossbeam-deque (= 0.7.1-1), rust-crossbeam-epoch (= 0.7.2-2), rust-crossbeam-queue (= 0.1.2-3), rust-crossbeam-utils (= 0.6.6-1), rust-doc-comment (= 0.3.1-2), rust-either (= 1.5.0-1), rust-fragile (= 0.3.0-1), rust-gdk (= 0.11.0-1), rust-gdk-pixbuf (= 0.7.0-2), rust-gdk-pixbuf-sys (= 0.9.0-2), rust-gdk-sys (= 0.9.0-2), rust-gio (= 0.7.0-1), rust-gio-sys (= 0.9.0-2), rust-glib (= 0.8.2-1), rust-glib-sys (= 0.9.0-3), rust-gobject-sys (= 0.9.0-2), rust-gtk (= 0.7.0-1), rust-gtk-sys (= 0.9.0-2), rust-lazy-static (= 1.3.0-1), rust-libc (= 0.2.62-1), rust-memoffset (= 0.5.2-1), rust-nodrop (= 0.1.13-1), rust-num-cpus (= 1.10.1-1), rust-pango (= 0.7.0-1), rust-pango-sys (= 0.9.0-2), rust-rayon-core (= 1.6.0-1), rust-rayon (= 1.1.0-2), rust-scopeguard (= 1.0.0-2), rust-serde (= 1.0.99-2), rust-sysinfo (= 0.9.5-2), rust-toml (= 0.5.1-2), rustc (= 1.37.0+dfsg1+llvm-1ubuntu1)
There are three methods to install process-viewer on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install process-viewer Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install process-viewer using apt-get by running the following command:
sudo apt-get -y install process-viewer
Install process-viewer Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install process-viewer using apt by running the following command:
sudo apt -y install process-viewer
Install process-viewer Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install process-viewer using aptitude by running the following command:
sudo aptitude -y install process-viewer
How To Uninstall process-viewer on Ubuntu 20.04
To uninstall only the process-viewer package we can use the following command:
sudo apt-get remove process-viewer
Uninstall process-viewer And Its Dependencies
To uninstall process-viewer and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove process-viewer
Remove process-viewer Configurations and Data
To remove process-viewer configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge process-viewer
Remove process-viewer configuration, data, and all of its dependencies
We can use the following command to remove process-viewer configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge process-viewer
References
Summary
In this tutorial we learn how to install process-viewer package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.