How To Install openbox-lxde-session on Ubuntu 18.04

In this tutorial we learn how to install openbox-lxde-session on Ubuntu 18.04. openbox-lxde-session is LXDE session manager and configuration files

Introduction

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

What is openbox-lxde-session

openbox-lxde-session is:

LXDE (the Lightweight X11 Desktop Environment) is a project aimed to provide a desktop environment which is lightweight and fast.

It’s not designed to be powerful and bloated, but to be usable and slim enough, and keep the resource usage low. Different from other desktop environments, LXDE doesn’t tightly integrate every component. Instead, LXDE tries to make all components independent, and each of them can be used independently with fewer dependencies.

Features:

  • Lightweight, runs with reasonable memory usage
  • Fast, runs well even on older machines produced in 1999
  • Good-looking, GTK+ 2 internationalized user interface
  • Easy-to-use, the user interface is simple, but usable enough
  • Desktop independent (surprise! Every component can be used without LXDE)
  • Standard compliant, follows the specs on freedesktop.org

This package depends on minimal set of components (lxsession, openbox, and lxde-screenlock.desktop file), and contains all the session-specific configuration files required to start a LXDE desktop session from a display manager such as GDM.

There are three methods to install openbox-lxde-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-lxde-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-lxde-session using apt-get by running the following command:

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

Install openbox-lxde-session Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install openbox-lxde-session

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

sudo aptitude -y install openbox-lxde-session

How To Uninstall openbox-lxde-session on Ubuntu 18.04

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

sudo apt-get remove openbox-lxde-session

Uninstall openbox-lxde-session And Its Dependencies

To uninstall openbox-lxde-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-lxde-session

Remove openbox-lxde-session Configurations and Data

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

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

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

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

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

References

Summary

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