How To Install libwebkit2gtk-4.0-37 on Ubuntu 20.04

In this tutorial we learn how to install libwebkit2gtk-4.0-37 on Ubuntu 20.04. libwebkit2gtk-4.0-37 is Web content engine library for GTK Web content engine library for GTK

Introduction

In this tutorial we learn how to install libwebkit2gtk-4.0-37 on Ubuntu 20.04.

What is libwebkit2gtk-4.0-37

libwebkit2gtk-4.0-37 is:

WebKit is a web content engine, derived from KHTML and KJS from KDE, and used primarily in Apple’s Safari browser. It is made to be embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It also supports DOM, XMLHttpRequest, XSLT, CSS, JavaScript/ECMAScript and more.

WebKit2 is an API layer for WebKit designed from the ground up to support a split process model, where the web content lives in a separate process from the application UI.

This build comes from the GTK port of WebKit (API version 4.0).

This is the library for embedding in GTK applications. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libwebkit2gtk-4.0-37 Architecture: amd64 Version: 2.28.1-1 Multi-Arch: same Priority: optional Section: libs Source: webkit2gtk Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian WebKit Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 52584 Depends: libjavascriptcoregtk-4.0-18 (= 2.28.1-1), bubblewrap (>= 0.3.1), xdg-dbus-proxy, libatk1.0-0 (>= 2.12.0), libc6 (>= 2.29), libcairo2 (>= 1.15.12), libegl1, libenchant-2-2 (>= 2.2.3), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.9.1), libgcc-s1 (>= 7), libgcrypt20 (>= 1.8.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libgl1, libglib2.0-0 (>= 2.59.0), libgstreamer-gl1.0-0 (>= 1.14.0), libgstreamer-plugins-base1.0-0 (>= 1.13.1), libgstreamer1.0-0 (>= 1.14.0), libgtk-3-0 (>= 3.23.0), libharfbuzz-icu0 (>= 0.9.18), libharfbuzz0b (>= 1.4.2), libhyphen0 (>= 2.7.1), libicu66 (>= 66.1-1~), libjpeg8 (>= 8c), libnotify4 (>= 0.7.0), libpango-1.0-0 (>= 1.30.0), libpng16-16 (>= 1.6.2-1), libseccomp2 (>= 0.0.0~20120605), libsecret-1-0 (>= 0.7), libsoup2.4-1 (>= 2.69.90), libsqlite3-0 (>= 3.7.15), libstdc++6 (>= 9), libtasn1-6 (>= 4.14), libwayland-client0 (>= 1.9.91), libwayland-egl1 (>= 1.15.0), libwayland-server0 (>= 1.2.0), libwebp6 (>= 0.5.1), libwebpdemux2 (>= 0.5.1), libwoff1 (>= 1.0.0), libx11-6, libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxml2 (>= 2.8), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.2.0) Recommends: gstreamer1.0-plugins-good, gstreamer1.0-pulseaudio | gstreamer1.0-alsa, gstreamer1.0-gl, libgl1-mesa-dri Suggests: gstreamer1.0-libav Breaks: evolution (« 3.34.1) Filename: pool/main/w/webkit2gtk/libwebkit2gtk-4.0-37_2.28.1-1_amd64.deb Size: 12752092 MD5sum: 4af21b09705a8f6997b114d6b4773d71 SHA1: 7672c138613579bdde908474a7968b34040e8679 SHA256: caa739854e3941223297b5c53d51074ffea90454c86e8c086b41603cd05ed346 Homepage: https://webkitgtk.org/ Description-en: Web content engine library for GTK WebKit is a web content engine, derived from KHTML and KJS from KDE, and used primarily in Apple’s Safari browser. It is made to be embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It also supports DOM, XMLHttpRequest, XSLT, CSS, JavaScript/ECMAScript and more.

WebKit2 is an API layer for WebKit designed from the ground up to support a split process model, where the web content lives in a separate process from the application UI.

This build comes from the GTK port of WebKit (API version 4.0).

This is the library for embedding in GTK applications. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libwebkit2gtk-4.0-37 on Ubuntu 20.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 libwebkit2gtk-4.0-37 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libwebkit2gtk-4.0-37

Install libwebkit2gtk-4.0-37 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libwebkit2gtk-4.0-37 using apt by running the following command:

sudo apt -y install libwebkit2gtk-4.0-37

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

sudo aptitude -y install libwebkit2gtk-4.0-37

How To Uninstall libwebkit2gtk-4.0-37 on Ubuntu 20.04

To uninstall only the libwebkit2gtk-4.0-37 package we can use the following command:

sudo apt-get remove libwebkit2gtk-4.0-37

Uninstall libwebkit2gtk-4.0-37 And Its Dependencies

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

sudo apt-get -y autoremove libwebkit2gtk-4.0-37

Remove libwebkit2gtk-4.0-37 Configurations and Data

To remove libwebkit2gtk-4.0-37 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libwebkit2gtk-4.0-37

Remove libwebkit2gtk-4.0-37 configuration, data, and all of its dependencies

We can use the following command to remove libwebkit2gtk-4.0-37 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libwebkit2gtk-4.0-37

References

Summary

In this tutorial we learn how to install libwebkit2gtk-4.0-37 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.