How To Install phoronix-test-suite on Ubuntu 18.04

In this tutorial we learn how to install phoronix-test-suite on Ubuntu 18.04. phoronix-test-suite is comprehensive testing and benchmarking platform

Introduction

In this tutorial we learn how to install phoronix-test-suite on Ubuntu 18.04.

What is phoronix-test-suite

phoronix-test-suite is:

The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for the Linux operating system. This software is designed to effectively carry out both qualitative and quantitative benchmarks in a clean, reproducible, and easy-to-use manner. The Phoronix Test Suite consists of a lightweight processing core (pts-core) with each benchmark consisting of an XML-based profile with related resource scripts. The process from the benchmark installation, to the actual benchmarking, to the parsing of important hardware and software components is heavily automated and completely repeatable, asking users only for confirmation of actions.

There are three methods to install phoronix-test-suite 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 phoronix-test-suite Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install phoronix-test-suite using apt-get by running the following command:

sudo apt-get -y install phoronix-test-suite

Install phoronix-test-suite Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install phoronix-test-suite using apt by running the following command:

sudo apt -y install phoronix-test-suite

Install phoronix-test-suite 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 phoronix-test-suite using aptitude by running the following command:

sudo aptitude -y install phoronix-test-suite

How To Uninstall phoronix-test-suite on Ubuntu 18.04

To uninstall only the phoronix-test-suite package we can use the following command:

sudo apt-get remove phoronix-test-suite

Uninstall phoronix-test-suite And Its Dependencies

To uninstall phoronix-test-suite and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove phoronix-test-suite

Remove phoronix-test-suite Configurations and Data

To remove phoronix-test-suite configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge phoronix-test-suite

Remove phoronix-test-suite configuration, data, and all of its dependencies

We can use the following command to remove phoronix-test-suite configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge phoronix-test-suite

References

Summary

In this tutorial we learn how to install phoronix-test-suite package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.