How To Install lxde on Ubuntu 20.04

Installatione
2 min readAug 14, 2021

--

In this tutorial we learn how to install lxde on Ubuntu 20.04

Introduction

In this tutorial we learn how to install lxde on Ubuntu 20.04

Update APT Database

Before we install lxde we will update the APT database first. There are three tools that we can use to update apt database: apt, apt-get, or aptitude. You can choose to use one of them

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

sudo apt-get update

Alternative command to update apt database is using apt command below:

sudo apt update

The last alternative is to use aptitude command below:

sudo aptitude update

How to Install lxde on Ubuntu 20.04

After updating apt database on our computer, we can install the lxde package

We can choose to use either apt-get, apt or aptitude to install lxde package.

Install lxde Using apt-get

sudo apt-get -y install lxde

Install lxde Using apt

sudo apt -y install lxde

Install lxde Using aptitude

sudo aptitude -y install lxde

How To Uninstall lxde on Ubuntu 20.04

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

sudo apt-get remove lxde

Uninstall lxde and its dependencies

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

sudo apt-get autoremove lxde

Remove lxde Configurations and Data

To remove lxde configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get purge lxde

Remove lxde configuration, data, and all of its dependencies

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

sudo apt-get autoremove --purge lxde

--

--

Installatione
0 Followers

Installatione provides tutorials / howto install various linux packages on a variety of Linux distribution