Linux

Installing perf-tools-unstable on Ubuntu 17.04 LTS

Example of installing perf-tools-unstable on Ubuntu 17.04 LTS using the command sudo apt-get install perf-tools-unstable.

Quick installation of perf-tools-unstable:

Step 1: Update system:

sudo apt-get update

Step 2: Install: perf-tools-unstable

Ater updaing the OS run following command to install the packae:

sudo apt-get install perf-tools-unstable

Package Details

Package:perf-tools-unstable
Version:0.0.1~20160212+git0c13e83-1ubuntu1
Maintainer:Ubuntu Developers
Home page:https://github.com/brendangregg/perf-tools
Description:DTrace-like tools for Linux A miscellaneous collection of in-development and unsupported performance analysis tools for Linux perf_events, aka the "perf" command, and ftrace. Both perf_events and ftrace are core Linux tracing tools, and are included in the Linux kernel source. . These tools are designed to be simple to use, easy to install, and provide advanced performance observability. This collection was written by Brendan Gregg (author of the DTraceToolkit). . Many of these tools employ workarounds so that functionality is possible on existing Linux kernels. Because of this, many tools have caveats (see man pages), and their implementation should be considered a placeholder until future kernel features, or new tracing subsystems, are added.
Distro:Ubuntu 17.04
Release:
Repo/Section:universe/utils

How to install perf-tools-unstable on Ubuntu 17.04?

First of all update your system with the command:

sudo apt-get update

Above command will download the package lists for Ubuntu 17.04 on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If perf-tools-unstable is not installed on your compter then the command 'dpkg -L perf-tools-unstable' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L perf-tools-unstable
dpkg-query: package 'perf-tools-unstable' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
deepak@deepak-VirtualBox:~$ 

Installing perf-tools-unstable:

After system update use the following command to install perf-tools-unstable:

sudo apt-get install perf-tools-unstable

Above command will confirm before installing the package on your Ubuntu 17.04 Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove perf-tools-unstable from Ubuntu 17.04?

Now we will see the commands for uninstalling the perf-tools-unstable from Ubuntu 17.04. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the perf-tools-unstable following command is used:

sudo apt-get remove  perf-tools-unstable

Following command is used to remove the perf-tools-unstable package along with its dependencies:

sudo apt-get remove --auto-remove perf-tools-unstable

This will remove perf-tools-unstable and all its dependent packages which is no longer needed in the system.

Completely removing perf-tools-unstable with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge perf-tools-unstable

or you can use following command also:

sudo apt-get purge --auto-remove perf-tools-unstable

Above command will remove all the configuration files and data associated with perf-tools-unstable package. You can can't recover the delete data, so, use this command with care.

Get our newsletter

Categories