How To Install render-bench on Ubuntu 18.04

In this tutorial we learn how to install render-bench on Ubuntu 18.04. render-bench is Benchmark for the XRender extension

Introduction

In this tutorial we learn how to install render-bench on Ubuntu 18.04.

What is render-bench

render-bench is:

A program that performs a series of tests to benchmark the XRender X11 extension. It also performs the same tests using the Imlib2 library to provide a base for comparing performance.

There are three methods to install render-bench 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 render-bench Using apt-get

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

sudo apt-get update

After updating apt database, We can install render-bench using apt-get by running the following command:

sudo apt-get -y install render-bench

Install render-bench Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install render-bench using apt by running the following command:

sudo apt -y install render-bench

Install render-bench 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 render-bench using aptitude by running the following command:

sudo aptitude -y install render-bench

How To Uninstall render-bench on Ubuntu 18.04

To uninstall only the render-bench package we can use the following command:

sudo apt-get remove render-bench

Uninstall render-bench And Its Dependencies

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

sudo apt-get -y autoremove render-bench

Remove render-bench Configurations and Data

To remove render-bench configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge render-bench

Remove render-bench configuration, data, and all of its dependencies

We can use the following command to remove render-bench configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge render-bench

References

Summary

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