How To Install plank on Ubuntu 22.04

In this tutorial we learn how to install plank on Ubuntu 22.04. plank is Elegant, simple, clean dock

Introduction

In this tutorial we learn how to install plank on Ubuntu 22.04.

What is plank

plank is:

Plank is a dock enabling you to start applications and manage your windows.

Plank is meant to be the simplest dock on the planet. The goal is to provide just what a dock needs and absolutely nothing more. It is, however, a library which can be extended to create other dock programs with more advanced features.

There are three methods to install plank on Ubuntu 22.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 plank Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install plank

Install plank Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install plank

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

sudo aptitude -y install plank

How To Uninstall plank on Ubuntu 22.04

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

sudo apt-get remove plank

Uninstall plank And Its Dependencies

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

sudo apt-get -y autoremove plank

Remove plank Configurations and Data

To remove plank configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge plank

Remove plank configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge plank

References

Summary

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