How To Install pytimechart on Ubuntu 18.04
Introduction
In this tutorial we learn how to install pytimechart
on Ubuntu 18.04.
What is pytimechart
pytimechart is:
PyTimechart provides explorability and overall visualization of Linux kernel traces. It is a tool that parses ftrace text traces, and display them with the help of a very powerful dynamic plot framework, python-chaco. The GUI makes the best it can to ease the browsing of huge traces.
There are three methods to install pytimechart
on Ubuntu 18.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 pytimechart Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install pytimechart
using apt-get
by running the following command:
sudo apt-get -y install pytimechart
Install pytimechart Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pytimechart
using apt
by running the following command:
sudo apt -y install pytimechart
Install pytimechart 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 pytimechart
using aptitude
by running the following command:
sudo aptitude -y install pytimechart
How To Uninstall pytimechart on Ubuntu 18.04
To uninstall only the pytimechart
package we can use the following command:
sudo apt-get remove pytimechart
Uninstall pytimechart And Its Dependencies
To uninstall pytimechart
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove pytimechart
Remove pytimechart Configurations and Data
To remove pytimechart
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge pytimechart
Remove pytimechart configuration, data, and all of its dependencies
We can use the following command to remove pytimechart
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pytimechart
References
Summary
In this tutorial we learn how to install pytimechart
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.