How to Uninstall and Install gjs Ubuntu 22.04

Updated: October 11, 2022

Makes it possible for applications to use all of GNOME’s platform libraries using the JavaScript language. It’s mainly based on the Mozilla JavaScript engine and the GObject introspection framework. In this tutorial, I will show you how to install gjs on Ubuntu 22.04.

Software Requirement

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install gjs on Ubuntu 22.04

Install gjs Ubuntu 22.04

gjs is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install gjs using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these instructions to get gjs on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install gjs Ubuntu by executing this command in the terminal.

sudo apt install gjs

Install gjs using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

Then, you can now install gjs by following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. You can now install gjs Ubuntu by executing this command in the terminal.

sudo aptitude install gjs

Uninstall gjs on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just gjs.

You can uninstall gjs Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove gjs

If you want to uninstall gjs and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge gjs

Conclusion

In this tutorial, I showed you ways to install gjs on Ubuntu 22.04 and some ways to uninstall gjs too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.