How To Install openbox-gnome-session on Ubuntu 18.04

In this tutorial we learn how to install openbox-gnome-session on Ubuntu 18.04. openbox-gnome-session is command line utility to run Openbox as GNOME session

Introduction

In this tutorial we learn how to install openbox-gnome-session on Ubuntu 18.04.

What is openbox-gnome-session

openbox-gnome-session is:

openbox-gnome-session can provide GNOME session with openbox as a default window manager. It can replace the original window manager in GNOME Shell and GNOME Fallback sessions.

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

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

sudo apt-get update

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

sudo apt-get -y install openbox-gnome-session

Install openbox-gnome-session Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openbox-gnome-session using apt by running the following command:

sudo apt -y install openbox-gnome-session

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

sudo aptitude -y install openbox-gnome-session

How To Uninstall openbox-gnome-session on Ubuntu 18.04

To uninstall only the openbox-gnome-session package we can use the following command:

sudo apt-get remove openbox-gnome-session

Uninstall openbox-gnome-session And Its Dependencies

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

sudo apt-get -y autoremove openbox-gnome-session

Remove openbox-gnome-session Configurations and Data

To remove openbox-gnome-session configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge openbox-gnome-session

Remove openbox-gnome-session configuration, data, and all of its dependencies

We can use the following command to remove openbox-gnome-session configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge openbox-gnome-session

References

Summary

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