How To Install chromium-driver on Debian 9
Introduction
In this tutorial we learn how to install chromium-driver
on Debian 9.
What is chromium-driver
chromium-driver is:
Web browser that aims to build a safer, faster, and more stable internet browsing experience.
This package provides a bridge between the browser component and the selenium automatic webdriver.
There are three methods to install chromium-driver
on Debian 9. 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-driver 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-driver
using apt-get
by running the following command:
sudo apt-get -y install chromium-driver
Install chromium-driver Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install chromium-driver
using apt
by running the following command:
sudo apt -y install chromium-driver
Install chromium-driver 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install chromium-driver
using aptitude
by running the following command:
sudo aptitude -y install chromium-driver
How To Uninstall chromium-driver on Debian 9
To uninstall only the chromium-driver
package we can use the following command:
sudo apt-get remove chromium-driver
Uninstall chromium-driver And Its Dependencies
To uninstall chromium-driver
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove chromium-driver
Remove chromium-driver Configurations and Data
To remove chromium-driver
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge chromium-driver
Remove chromium-driver configuration, data, and all of its dependencies
We can use the following command to remove chromium-driver
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge chromium-driver
Dependencies
chromium-driver have the following dependencies:
References
Summary
In this tutorial we learn how to install chromium-driver
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.