How To Install radeontool on Ubuntu 18.04

In this tutorial we learn how to install radeontool on Ubuntu 18.04. radeontool is utility to control ATI Radeon backlight functions on laptops

Introduction

In this tutorial we learn how to install radeontool on Ubuntu 18.04.

What is radeontool

radeontool is:

Radeontool is a small utility to control ATI Radeon based laptops’ backlight and external output functions. It is also able to dump the contents of registers for debugging purposes.

WARNING: Radeontool code has not been completely audited and may contain bugs that could damage your hardware. Use at your own risk.

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

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

sudo apt-get update

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

sudo apt-get -y install radeontool

Install radeontool Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install radeontool using apt by running the following command:

sudo apt -y install radeontool

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

sudo aptitude -y install radeontool

How To Uninstall radeontool on Ubuntu 18.04

To uninstall only the radeontool package we can use the following command:

sudo apt-get remove radeontool

Uninstall radeontool And Its Dependencies

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

sudo apt-get -y autoremove radeontool

Remove radeontool Configurations and Data

To remove radeontool configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge radeontool

Remove radeontool configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge radeontool

References

Summary

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