How To Install chromium-chromedriver on Ubuntu 22.04

In this tutorial we learn how to install chromium-chromedriver on Ubuntu 22.04. chromium-chromedriver is Transitional package - chromium-chromedriver -> chromium snap

Introduction

In this tutorial we learn how to install chromium-chromedriver on Ubuntu 22.04.

What is chromium-chromedriver

chromium-chromedriver is:

This is a transitional dummy package. It can safely be removed.

chromium-chromedriver is now replaced by the chromium snap.

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

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

sudo apt-get update

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

sudo apt-get -y install chromium-chromedriver

Install chromium-chromedriver Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install chromium-chromedriver

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

sudo aptitude -y install chromium-chromedriver

How To Uninstall chromium-chromedriver on Ubuntu 22.04

To uninstall only the chromium-chromedriver package we can use the following command:

sudo apt-get remove chromium-chromedriver

Uninstall chromium-chromedriver And Its Dependencies

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

sudo apt-get -y autoremove chromium-chromedriver

Remove chromium-chromedriver Configurations and Data

To remove chromium-chromedriver configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge chromium-chromedriver

Remove chromium-chromedriver configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge chromium-chromedriver

References

Summary

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