Ways to Install or Uninstall grun on Ubuntu 22.04

Updated: October 9, 2022

gRun is a GTK+ based Run dialog that closely resembles the Windows Run dialog, just like xexec. It has a intelligent history mechanism and a dual level fork() mechanism for launching the application in its own process. gRun also has support for launching console mode application in an XTerm as well as associations for file types. In this guide, I will show you how to install grun on Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install grun on Ubuntu 22.04

Install grun Ubuntu 22.04

grun 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 you believe is simple and easy to follow.

Install grun using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these steps to install grun on your Ubuntu 22.04.

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install grun Ubuntu by pasting this command into the terminal and executing it.

sudo apt install grun

Install grun using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get install aptitude

After installing it, you can now install grun 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 the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install grun Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install grun

Uninstall grun on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed grun using APT or Aptitude, you could uninstall grun on Ubuntu by executing this command

sudo apt remove --auto-remove grun

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

sudo apt autoremove --purge grun

Conclusion

In this guide, I showed you ways to install grun on Ubuntu 22.04 and some ways to uninstall grun too. Please contact me if you require any assistance. I’d be delighted to respond.