How to Install or Uninstall ngraph-gtk Ubuntu 22.04

Updated: August 28, 2022

Ngraph is the program to create scientific 2-dimensional graphs for researchers and engineers. This program can create advanced graphs which can’t be created by spreadsheets. Graphs can be exported to postscript. In this tutorial, I will show you ways to install ngraph-gtk Ubuntu 22.04.

Requirements

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install ngraph-gtk on Ubuntu 22.04

Install ngraph-gtk Ubuntu 22.04

ngraph-gtk is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install ngraph-gtk using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get ngraph-gtk on your Ubuntu.

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

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install ngraph-gtk Ubuntu by executing this command in the terminal.

sudo apt-get -y install ngraph-gtk

Install ngraph-gtk using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt-get install aptitude

After that, you can now install ngraph-gtk 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. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. You can now install ngraph-gtk Ubuntu by executing this command in the terminal.

sudo aptitude install ngraph-gtk

Uninstall ngraph-gtk 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 ngraph-gtk.

You can uninstall ngraph-gtk on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove ngraph-gtk

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

sudo apt autoremove --purge ngraph-gtk

Ending

In this guide, I showed you ways to install ngraph-gtk on Ubuntu 22.04 and ways to uninstall ngraph-gtk too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.