How To Install libgtk3-webkit2-perl on Ubuntu 18.04

In this tutorial we learn how to install libgtk3-webkit2-perl on Ubuntu 18.04. libgtk3-webkit2-perl is WebKit2 bindings for Perl

Introduction

In this tutorial we learn how to install libgtk3-webkit2-perl on Ubuntu 18.04.

What is libgtk3-webkit2-perl

libgtk3-webkit2-perl is:

Gtk3::WebKit2 provides the Perl bindings for the Gtk3 port of WebKit2.

With this package you can easily write your own WebKit2 based web browser implementation in Perl.

There are three methods to install libgtk3-webkit2-perl 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 libgtk3-webkit2-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgtk3-webkit2-perl

Install libgtk3-webkit2-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgtk3-webkit2-perl using apt by running the following command:

sudo apt -y install libgtk3-webkit2-perl

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

sudo aptitude -y install libgtk3-webkit2-perl

How To Uninstall libgtk3-webkit2-perl on Ubuntu 18.04

To uninstall only the libgtk3-webkit2-perl package we can use the following command:

sudo apt-get remove libgtk3-webkit2-perl

Uninstall libgtk3-webkit2-perl And Its Dependencies

To uninstall libgtk3-webkit2-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libgtk3-webkit2-perl

Remove libgtk3-webkit2-perl Configurations and Data

To remove libgtk3-webkit2-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgtk3-webkit2-perl

Remove libgtk3-webkit2-perl configuration, data, and all of its dependencies

We can use the following command to remove libgtk3-webkit2-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgtk3-webkit2-perl

References

Summary

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