How To Install oxygen-molecule on Ubuntu 18.04

In this tutorial we learn how to install oxygen-molecule on Ubuntu 18.04. oxygen-molecule is GTK+ theme to match the Oxygen widget style

Introduction

In this tutorial we learn how to install oxygen-molecule on Ubuntu 18.04.

What is oxygen-molecule

oxygen-molecule is:

Oxygen-Molecule is a theme for GTK+ applications to provide a uniform look when used under the KDE desktop environment, as long as the Oxygen style is used.

It was originally based on the kde4-oxygen theme.

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

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

sudo apt-get update

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

sudo apt-get -y install oxygen-molecule

Install oxygen-molecule Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install oxygen-molecule

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

sudo aptitude -y install oxygen-molecule

How To Uninstall oxygen-molecule on Ubuntu 18.04

To uninstall only the oxygen-molecule package we can use the following command:

sudo apt-get remove oxygen-molecule

Uninstall oxygen-molecule And Its Dependencies

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

sudo apt-get -y autoremove oxygen-molecule

Remove oxygen-molecule Configurations and Data

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

sudo apt-get -y purge oxygen-molecule

Remove oxygen-molecule configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge oxygen-molecule

References

Summary

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