How To Install grun on Ubuntu 22.04
Introduction
In this tutorial we learn how to install grun
on Ubuntu 22.04.
What is grun
grun is:
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.
gRun is much more powerful than xexec, looks a lot better, and has the big advantage that you can start typing a command without having to mouse-click into the text field.
gRun is especially useful if you do not use the GNOME desktop which has a built-in run command, and if you use a window-manager (e.g. IceWM) where you can define a keyboard shortcut (e.g. Alt-F2) for staring gRun.
There are three methods to install grun
on Ubuntu 22.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 grun Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install grun
using apt-get
by running the following command:
sudo apt-get -y install grun
Install grun Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install grun
using apt
by running the following command:
sudo apt -y install grun
Install grun 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 grun
using aptitude
by running the following command:
sudo aptitude -y install grun
How To Uninstall grun on Ubuntu 22.04
To uninstall only the grun
package we can use the following command:
sudo apt-get remove grun
Uninstall grun And Its Dependencies
To uninstall grun
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove grun
Remove grun Configurations and Data
To remove grun
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge grun
Remove grun configuration, data, and all of its dependencies
We can use the following command to remove grun
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge grun
References
Summary
In this tutorial we learn how to install grun
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.