How to install Phoronix Test Suite on Ubuntu 17.04

To install Phoronix Text Suite on Ubuntu

Phoronix Test Suite is a free and open-source platform commonly deployed for the purpose of performing testing and performance evaluation for Linux and other operating systems. It lets the users to carry out performance testing (test installation to execution) in a fully automated way. Each tests executed via Phoronix Test Suite can be easily reproduced. It is very simple to install the Phoronix Test Suite and this tutorial covers the method involved in the installation of Phoronix Text Suite on Ubuntu.

Installing Phoronix Text Suite

Before you begin with the installation process of Phoronix, make sure you add its repository which you can do with the help of the following command.

root@linuxhelp1:~# add-apt-repository ppa:eugenesan/ppa
 This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.

+-------------------------------------------------------------------------------------+
| Disclaimer:
+-------------------------------------------------------------------------------------+
* Packages in this a nd related PPAs are for personal use only.
  They developed specifically for several custom environments and may not work for you.
* Usage of packages in this PPA, in some forms, might contradict licenses of software
  packaged in this and related PPAs. End users and administrator are responsible for
  runtime licensing and possible legal consequences.
* Some packages provided with their dependencies while some might require additional
  Ubuntu repositories and external PPAs. Below is the list of
.
.
.
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox ' /tmp/tmp58gcy2yp/pubring.gpg'  created
gpg: /tmp/tmp58gcy2yp/trustdb.gpg: trustdb created
gpg: key E61380B28313A596: public key " Launchpad synergy+"  imported
gpg: Total number processed: 1
gpg:               imported: 1
OK


After the addition of Phoronix' s repo to your system, make sure you update it as follows.

root@linuxhelp1:~# apt-get update
Get:1 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty InRelease [15.4 kB]                                                       
Hit:2 http://in.archive.ubuntu.com/ubuntu zesty InRelease                                                                           
Hit:3 http://security.ubuntu.com/ubuntu zesty-security InRelease                                          
Hit:4 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease                                         
Hit:5 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease
Get:6 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main amd64 Packages [1,100 B]
Get:7 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main i386 Packages [1,108 B]
Get:8 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main Translation-en [1,288 B]
Fetched 18.9 kB in 1s (12.3 kB/s)
Reading package lists... Done

Now, all is set for the installation of Phoronix. Use the following command for the same purpose.

root@linuxhelp1:~# apt-get install phoronix-test-suite -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  php-cli php-common php-gd php-xml php7.0-cli php7.0-common php7.0-gd php7.0-json php7.0-opcache php7.0-readline php7.0-xml
Suggested packages:
  php-pear
The following NEW packages will be installed:
  phoronix-test-suite php-cli php-common php-gd php-xml php7.0-cli php7.0-common php7.0-gd php7.0-json php7.0-opcache
  php7.0-readline php7.0-xml
0 upgraded, 12 newly installed, 0 to remove and 99 not upgraded.
Need to get 2,776 kB of archives.
After this operation, 13.0 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu zesty/main amd64 php-common all 1:49 [11.9 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu zesty-updates/main amd64 php7.0-common amd64 7.0.18-0ubuntu0.17.04.1 [829 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu zesty-updates/main amd64 php7.0-json amd64 7.0.18-0ubuntu0.17.04.1 [17.1 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu zesty-updates/main amd64 php7.0-opcache amd64 7.0.18-0ubuntu0.17.04.1 [77.0 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu zesty-updates/main amd64 php7.0-readline amd64 7.0.18-0ubuntu0.17.04.1 [12.3 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu zesty-updates/main amd64 php7.0-cli amd64 7.0.18-0ubuntu0.17.04.1 [1,292 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu zesty/main amd64 php-cli all 1:7.0+49 [2,940 B]
Get:8 http://in.archive.ubuntu.com/ubuntu zesty-updates/main amd64 php7.0-gd amd64 7.0.18-0ubuntu0.17.04.1 [27.2 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu zesty/main amd64 php-gd all 1:7.0+49 [1,910 B]
.
.
.
Creating config file /etc/php/7.0/mods-available/opcache.ini with new version
Setting up php7.0-gd (7.0.18-0ubuntu0.17.04.1) ...

Creating config file /etc/php/7.0/mods-available/gd.ini with new version
Setting up php-xml (1:7.0+49) ...
Setting up php7.0-json (7.0.18-0ubuntu0.17.04.1) ...

Creating config file /etc/php/7.0/mods-available/json.ini with new version
Setting up php-gd (1:7.0+49) ...
Setting up php7.0-cli (7.0.18-0ubuntu0.17.04.1) ...
update-alternatives: using /usr/bin/php7.0 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.0 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.0 to provide /usr/bin/phar.phar (phar.phar) in auto mode

Creating config file /etc/php/7.0/cli/php.ini with new version
Setting up phoronix-test-suite (5.2.1-1ubuntu2) ...
Setting up php-cli (1:7.0+49) ...

Phoronix has been installed. To use the package, run the following command.

root@linuxhelp1:~# phoronix-test-suite --help
Phoronix Test Suite v5.2.1 (Khanino)
The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux, Solaris, Mac OS X, and BSD operating systems. The Phoronix Test Suite allows for carrying out tests in a fully automated manner from test installation to execution and reporting. All tests are meant to be easily reproducible, easy-to-use, and support fully automated execution. The Phoronix Test Suite is open-source under the GNU GPLv3 license and is developed by Phoronix Media in cooperation with partners.
View the included PDF / HTML documentation or visit http://www.phoronix-test-suite.com/ for full details.
TEST INSTALLATION
   install [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   install-dependencies [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   make-download-cache
   remove-installed-test [Test]
TESTING
   auto-compare
   benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   finish-run [Test Result]
   run [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   run-random-tests
   run-tests-in-suite
BATCH TESTING
   batch-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   batch-install [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   batch-run [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   batch-setup
   default-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   default-run [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   internal-run [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
OPENBENCHMARKING.ORG
   clone-result [OpenBenchmarking ID]  ...
   list-recommended-tests
   openbenchmarking-changes
   openbenchmarking-launcher
   openbenchmarking-login
   openbenchmarking-refresh
   openbenchmarking-repositories
   upload-result [Test Result]
   upload-test-profile
   upload-test-suite
SYSTEM
   detailed-system-info
   diagnostics
   interactive
   system-info
   system-sensors
INFORMATION
   info [Test | Suite | OpenBenchmarking.org ID | Test Result]
   list-available-suites
   list-available-tests
   list-available-virtual-suites
   list-installed-dependencies
   list-installed-suites
   list-installed-tests
   list-missing-dependencies
   list-possible-dependencies
   list-saved-results
   list-test-usage
   list-unsupported-tests
ASSET CREATION
   debug-install [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   debug-run [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   debug-test-download-links [Test | Suite]
   download-test-files [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   force-install [Test | Suite | OpenBenchmarking.org ID | Test Result]  ...
   result-file-to-suite [Test Result]
   validate-result-file
   validate-test-profile
   validate-test-suite
RESULT MANAGEMENT
   auto-sort-result-file [Test Result]
   copy-run-in-result-file [Test Result]
   edit-result-file [Test Result]
   extract-from-result-file [Test Result]
   merge-results [Test Result]  ...
   refresh-graphs [Test Result]
   remove-from-result-file [Test Result]
   remove-result [Test Result]
   rename-identifier-in-result-file [Test Result]
   rename-result-file [Test Result]
   reorder-result-file [Test Result]
   result-file-to-csv [Test Result]
   result-file-to-pdf [Test Result]
   result-file-to-text [Test Result]
   show-result [Test Result]
RESULT ANALYTICS
   analyze-all-runs [Test Result]
   analyze-batch [Test Result]
   analyze-image-delta [Test Result]
OTHER
   build-suite
   debug-self-test
   help
   network-setup
   rebuild-composite-xml [Test Result]
   user-config-reset
   user-config-set
   version
WEB / GUI SUPPORT
   gui
   start-remote-gui-server
   start-ws-server
MODULES
   list-modules
   module-info [Phoronix Test Suite Module]
   module-setup [Phoronix Test Suite Module]
   test-module [Phoronix Test Suite Module]
GUI / WEB SUPPORT
   start-phoromatic-server

It was a simple installation procedure, wasn' t it? You can do several kinds of performance testing tasks with Phoronix.

Comment
andyowen
Feb 24 2018
Not really.. keep coming up with the same message at the end of the install 'Unable to fetch some archives....'
Add a comment
FAQ
Q
How to use the Phoronix Test Suite package?
A
To use the package, run the following command:
# phoronix-test-suite --help
Q
What is Phoronix Test Suite?
A
Phoronix Test Suite is a free and open-source platform commonly deployed for the purpose of performing testing and performance evaluation for Linux and other operating systems. It lets the users carry out performance testing (test installation to execution) in a fully automated way. Each test executed via Phoronix Test Suite can be easily reproduced.
Q
How to install Phoronix Test Suite on Ubuntu?
A
Use the following command:
# apt-get install phoronix-test-suite
Q
What's the difference between testing and benchmarking?
A
Basically no difference from my perspective in the terminology around PTS. The only time it matters is with the 'benchmark' sub-command being install if necessary then run the test as oppose
Q
is it possible to change "Default Test Directory" for the Disk benchmark?
A
you can change the default test directory via the EnvironmentDirectory in ~/.phoronix-test-suite/user-config.xml. If you have issues with that please visit http://www.phoronix.com/forums/ or