4
sudo apt install gksu -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gksu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gksu' has no installation candidate

1 Answers1

1

I am assuming that you are using Ubuntu 18.04 and above.

The gksu program is deprecated for Ubuntu 18.04 and later versions. An alternative is pkexec, which comes preinstalled with Ubuntu 18.04+.

You can find some more options in Pekka Lehtikoski's answer in I need an equivalent of gksu in 18.04.