How To Install gir1.2-javascriptcoregtk-4.0 on Ubuntu 20.04

In this tutorial we learn how to install gir1.2-javascriptcoregtk-4.0 on Ubuntu 20.04. gir1.2-javascriptcoregtk-4.0 is JavaScript engine library from WebKitGTK - GObject introspection data JavaScript engine library from WebKitGTK - GObject introspection data

Introduction

In this tutorial we learn how to install gir1.2-javascriptcoregtk-4.0 on Ubuntu 20.04.

What is gir1.2-javascriptcoregtk-4.0

gir1.2-javascriptcoregtk-4.0 is:

JavaScriptCore is the JavaScript engine used in WebKit. It consists of the following building blocks: lexer, parser, start-up interpreter (LLInt), baseline JIT, a low-latency optimizing JIT (DFG), and a high-throughput optimizing JIT (FTL).

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

This package contains the introspection data, which can be used by packages using the GIRepository format to generate dynamic bindings. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: gir1.2-javascriptcoregtk-4.0 Architecture: amd64 Version: 2.28.1-1 Multi-Arch: same Priority: optional Section: introspection 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: 247 Depends: gir1.2-glib-2.0 (>= 0.9.12-4), libjavascriptcoregtk-4.0-18 Conflicts: gobject-introspection-repository Filename: pool/main/w/webkit2gtk/gir1.2-javascriptcoregtk-4.0_2.28.1-1_amd64.deb Size: 31936 MD5sum: 1034a0347ef80bcae2c13b48dcbb64b3 SHA1: 72215cbcd7b3d493320919b73b35139b570b9194 SHA256: 967c3ca3c0f81f6030bd314ba9dcc9e21b1fed6cb1262c7a493d7a0af8d5247e Homepage: https://webkitgtk.org/ Description-en: JavaScript engine library from WebKitGTK - GObject introspection data JavaScriptCore is the JavaScript engine used in WebKit. It consists of the following building blocks: lexer, parser, start-up interpreter (LLInt), baseline JIT, a low-latency optimizing JIT (DFG), and a high-throughput optimizing JIT (FTL).

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

This package contains the introspection data, which can be used by packages using the GIRepository format to generate dynamic bindings. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install gir1.2-javascriptcoregtk-4.0 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 gir1.2-javascriptcoregtk-4.0 Using apt-get

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

sudo apt-get update

After updating apt database, We can install gir1.2-javascriptcoregtk-4.0 using apt-get by running the following command:

sudo apt-get -y install gir1.2-javascriptcoregtk-4.0

Install gir1.2-javascriptcoregtk-4.0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gir1.2-javascriptcoregtk-4.0 using apt by running the following command:

sudo apt -y install gir1.2-javascriptcoregtk-4.0

Install gir1.2-javascriptcoregtk-4.0 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 gir1.2-javascriptcoregtk-4.0 using aptitude by running the following command:

sudo aptitude -y install gir1.2-javascriptcoregtk-4.0

How To Uninstall gir1.2-javascriptcoregtk-4.0 on Ubuntu 20.04

To uninstall only the gir1.2-javascriptcoregtk-4.0 package we can use the following command:

sudo apt-get remove gir1.2-javascriptcoregtk-4.0

Uninstall gir1.2-javascriptcoregtk-4.0 And Its Dependencies

To uninstall gir1.2-javascriptcoregtk-4.0 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove gir1.2-javascriptcoregtk-4.0

Remove gir1.2-javascriptcoregtk-4.0 Configurations and Data

To remove gir1.2-javascriptcoregtk-4.0 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge gir1.2-javascriptcoregtk-4.0

Remove gir1.2-javascriptcoregtk-4.0 configuration, data, and all of its dependencies

We can use the following command to remove gir1.2-javascriptcoregtk-4.0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gir1.2-javascriptcoregtk-4.0

References

Summary

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