How to install an application that requires gksu package on ubuntu 18.04?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
6
down vote
favorite
I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error:
I tried to install gksu
manually via sudo apt install gksu
but I got this error
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
How can I install this software on ubuntu 18.04 (I download it yesturday so it is the most recent version on upwork website) ?
software-installation 18.04 gksu
 |Â
show 1 more comment
up vote
6
down vote
favorite
I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error:
I tried to install gksu
manually via sudo apt install gksu
but I got this error
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
How can I install this software on ubuntu 18.04 (I download it yesturday so it is the most recent version on upwork website) ?
software-installation 18.04 gksu
1
You find some alternatives in the following link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?. A simple alternative issudo -H GUI-application-program
, but there are alternatives with higher security, for examplepkexec
. When you get used to text mode command lines (in terminal windows), you are no longer affected by this problem.
â sudodus
Apr 30 at 11:10
1
pkexec with higher security accompanied by a higher probability of causing error messages, so test the app for error messages when using pkexec.
â karel
Apr 30 at 11:25
2
Possible duplicate of How to fake a package version installed?
â muru
Apr 30 at 12:47
Highly related: askubuntu.com/questions/1026800/â¦
â Organic Marble
Apr 30 at 13:45
2
Close Voters: Initially I voted along with @muru duplicate candidate but retracted after reading Nobert's answer below which will server the OP much better because there will actually be agksu
app for the parent to call. Plus OP is satisfied and accepted answer.
â WinEunuuchs2Unix
May 1 at 0:00
 |Â
show 1 more comment
up vote
6
down vote
favorite
up vote
6
down vote
favorite
I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error:
I tried to install gksu
manually via sudo apt install gksu
but I got this error
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
How can I install this software on ubuntu 18.04 (I download it yesturday so it is the most recent version on upwork website) ?
software-installation 18.04 gksu
I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error:
I tried to install gksu
manually via sudo apt install gksu
but I got this error
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
How can I install this software on ubuntu 18.04 (I download it yesturday so it is the most recent version on upwork website) ?
software-installation 18.04 gksu
asked Apr 30 at 10:19
![](https://i.stack.imgur.com/fcJx9.jpg?s=32&g=1)
![](https://i.stack.imgur.com/fcJx9.jpg?s=32&g=1)
Abdelaziz Mokhnache
13614
13614
1
You find some alternatives in the following link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?. A simple alternative issudo -H GUI-application-program
, but there are alternatives with higher security, for examplepkexec
. When you get used to text mode command lines (in terminal windows), you are no longer affected by this problem.
â sudodus
Apr 30 at 11:10
1
pkexec with higher security accompanied by a higher probability of causing error messages, so test the app for error messages when using pkexec.
â karel
Apr 30 at 11:25
2
Possible duplicate of How to fake a package version installed?
â muru
Apr 30 at 12:47
Highly related: askubuntu.com/questions/1026800/â¦
â Organic Marble
Apr 30 at 13:45
2
Close Voters: Initially I voted along with @muru duplicate candidate but retracted after reading Nobert's answer below which will server the OP much better because there will actually be agksu
app for the parent to call. Plus OP is satisfied and accepted answer.
â WinEunuuchs2Unix
May 1 at 0:00
 |Â
show 1 more comment
1
You find some alternatives in the following link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?. A simple alternative issudo -H GUI-application-program
, but there are alternatives with higher security, for examplepkexec
. When you get used to text mode command lines (in terminal windows), you are no longer affected by this problem.
â sudodus
Apr 30 at 11:10
1
pkexec with higher security accompanied by a higher probability of causing error messages, so test the app for error messages when using pkexec.
â karel
Apr 30 at 11:25
2
Possible duplicate of How to fake a package version installed?
â muru
Apr 30 at 12:47
Highly related: askubuntu.com/questions/1026800/â¦
â Organic Marble
Apr 30 at 13:45
2
Close Voters: Initially I voted along with @muru duplicate candidate but retracted after reading Nobert's answer below which will server the OP much better because there will actually be agksu
app for the parent to call. Plus OP is satisfied and accepted answer.
â WinEunuuchs2Unix
May 1 at 0:00
1
1
You find some alternatives in the following link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?. A simple alternative is
sudo -H GUI-application-program
, but there are alternatives with higher security, for example pkexec
. When you get used to text mode command lines (in terminal windows), you are no longer affected by this problem.â sudodus
Apr 30 at 11:10
You find some alternatives in the following link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?. A simple alternative is
sudo -H GUI-application-program
, but there are alternatives with higher security, for example pkexec
. When you get used to text mode command lines (in terminal windows), you are no longer affected by this problem.â sudodus
Apr 30 at 11:10
1
1
pkexec with higher security accompanied by a higher probability of causing error messages, so test the app for error messages when using pkexec.
â karel
Apr 30 at 11:25
pkexec with higher security accompanied by a higher probability of causing error messages, so test the app for error messages when using pkexec.
â karel
Apr 30 at 11:25
2
2
Possible duplicate of How to fake a package version installed?
â muru
Apr 30 at 12:47
Possible duplicate of How to fake a package version installed?
â muru
Apr 30 at 12:47
Highly related: askubuntu.com/questions/1026800/â¦
â Organic Marble
Apr 30 at 13:45
Highly related: askubuntu.com/questions/1026800/â¦
â Organic Marble
Apr 30 at 13:45
2
2
Close Voters: Initially I voted along with @muru duplicate candidate but retracted after reading Nobert's answer below which will server the OP much better because there will actually be a
gksu
app for the parent to call. Plus OP is satisfied and accepted answer.â WinEunuuchs2Unix
May 1 at 0:00
Close Voters: Initially I voted along with @muru duplicate candidate but retracted after reading Nobert's answer below which will server the OP much better because there will actually be a
gksu
app for the parent to call. Plus OP is satisfied and accepted answer.â WinEunuuchs2Unix
May 1 at 0:00
 |Â
show 1 more comment
3 Answers
3
active
oldest
votes
up vote
6
down vote
accepted
Introduction
As Jeremy Bicha wrote:
Posted on April 18, 2018 by Jeremy Bicha â 8 Comments
Today, gksu was removed from Ubuntu 18.04, four weeks after it was removed from Debian.
So theoretically speaking there are no packages on Bionic Beaver 18.04 LTS, depending on gksu
. But this is not true:
$ apt-cache rdepends gksu
gksu
Reverse Depends:
gexec
wicd-gtk
spacefm-gtk3
spacefm
|menu
$ aptitude why gksu
i menu Suggests gksu | kde-runtime | ktsuss
As you see some software, which are distibuted by third-party may depend on gksu
package. So you can proceed installing gksu
with method below on your own risk.
How to fix?
Possible solution is to install version from previous (17.10, artful) release.
Warning: do not execute the commands below if unsure!
* Short method (as @MK suggested)
wget http://mirrors.kernel.org/ubuntu/pool/universe/libg/libgksu/libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
sudo apt install ./libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gksu/gksu_2.0.2-9ubuntu1_amd64.deb
sudo apt install ./gksu_2.0.2-9ubuntu1_amd64.deb
* Long method
Add artful repositories to the system:
cat <<EOF | sudo tee /etc/apt/sources.list.d/artful.list
deb http://archive.ubuntu.com/ubuntu/ artful universe
EOFUpdate package cache
sudo apt-get update
Install
gksu
packagesudo apt-get install gksu
Remove artful repository from system for safety
sudo rm /etc/apt/sources.list.d/artful.list
sudo apt-get update
Test
Test gksu
(should work on Xorg-sessions)
gksu-properties # check that it has "Authentication mode" to "sudo"
gksu date
gksudo date
Notes
After installation the following packages will be marked as obsolete (locally-installed): gksu
, libgksu2-0
. But they will work as expected.
1
brilliant, I worked like Magic !!! thanks a lot
â Abdelaziz Mokhnache
Apr 30 at 12:19
just to be sure, won't I have issues in the future havinggksu
installed on 18.04 ? or I have to remove it after I am done with App installation ?
â Abdelaziz Mokhnache
Apr 30 at 12:21
@N0rbert: Instead of adding the whole shabang, which you admit is dangerous, you can just download the lib .deb from packages.ubuntu.com/artful/amd64/libgksu2-0/download and the gksu .deb file from launchpad.net/ubuntu/bionic/amd64/gksu/2.0.2-9ubuntu1. Install the lib first usinggdebi
, followed by the gksu, also usinggedbi
â M K
May 9 at 11:10
@MK, thanks, I added your method to the answer.
â N0rbert
May 14 at 19:12
Running with mixed repositories is a horrible idea. If you must, at least set up Apt Pinning.
â xiota
May 31 at 2:18
add a comment |Â
up vote
1
down vote
Mixed repositories
Adding the artful repositories to a bionic system is an absolutely horrible idea.âÂÂI cannot stress enough how much suffering the notion, alone, of running with mixed repositories will bring.âÂÂThere shall be misery and gnashing of teeth to the end of the age and beyond.
Masochists, please at least use protection (Apt Pinning).
Better ideas
Wait for new releases that do not depend on outdated packages. (Patience is a virtue that will prevent embarrassing visits to the Help Center with conf-files, or worse, stuck where they don't belong.)
Rebuild packages without unnecessary dependencies.
Find PPAs with the packages you want.
Put a wrapper -script- around
pkexec
.Faux play -with faux packages- and
equivs
.
Notes
kdesudo
has been dropped as well.lxqt-sudo
is still around, but didn't work for me.Something called
gosa
?âÂÂNo idea what it is.Might as well play
sudoku
until this mess is figured out.
add a comment |Â
up vote
-1
down vote
Gksu has been removed from the Ubuntu 18.04 LTS repositories. Though, there are a few ways to install it besides. One way is to use N0rbert's answer.
Install Gksu manually
Gksu only has one required dependency not included in 18.04 repositories. To install this way, just download the two .deb files. Here are the links:
64 bit packages:
Gksu
libgksu2-0
Ubuntu 18.04 LTS removed support for 32 bit packages, so I won't be including those.
If you are using Gksu for your own purposes (not for a dependancy), try this substitute program
Pkexec is a good substitute for Gksu. It is included with the system. Like I said, go ahead and try it as a replacement for gksu or gksudo.
Notes
Pkexec is a program that was installed on Ubuntu 18.04 LTS on both of my machines. I had not installed it before hand. Though I did notice that it was not on the apt repositories either, it is preinstalled, so I feel it is a good substitute candidate.
There are other programs similar to Pkexec and Gksu, like Kdesudo. I assume Kdesudo is included with the KDE desktop environment.
Edit:
Kdesudo has been removed with Gksudo.
kdesudo
is gone too.
â xiota
May 31 at 2:16
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
accepted
Introduction
As Jeremy Bicha wrote:
Posted on April 18, 2018 by Jeremy Bicha â 8 Comments
Today, gksu was removed from Ubuntu 18.04, four weeks after it was removed from Debian.
So theoretically speaking there are no packages on Bionic Beaver 18.04 LTS, depending on gksu
. But this is not true:
$ apt-cache rdepends gksu
gksu
Reverse Depends:
gexec
wicd-gtk
spacefm-gtk3
spacefm
|menu
$ aptitude why gksu
i menu Suggests gksu | kde-runtime | ktsuss
As you see some software, which are distibuted by third-party may depend on gksu
package. So you can proceed installing gksu
with method below on your own risk.
How to fix?
Possible solution is to install version from previous (17.10, artful) release.
Warning: do not execute the commands below if unsure!
* Short method (as @MK suggested)
wget http://mirrors.kernel.org/ubuntu/pool/universe/libg/libgksu/libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
sudo apt install ./libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gksu/gksu_2.0.2-9ubuntu1_amd64.deb
sudo apt install ./gksu_2.0.2-9ubuntu1_amd64.deb
* Long method
Add artful repositories to the system:
cat <<EOF | sudo tee /etc/apt/sources.list.d/artful.list
deb http://archive.ubuntu.com/ubuntu/ artful universe
EOFUpdate package cache
sudo apt-get update
Install
gksu
packagesudo apt-get install gksu
Remove artful repository from system for safety
sudo rm /etc/apt/sources.list.d/artful.list
sudo apt-get update
Test
Test gksu
(should work on Xorg-sessions)
gksu-properties # check that it has "Authentication mode" to "sudo"
gksu date
gksudo date
Notes
After installation the following packages will be marked as obsolete (locally-installed): gksu
, libgksu2-0
. But they will work as expected.
1
brilliant, I worked like Magic !!! thanks a lot
â Abdelaziz Mokhnache
Apr 30 at 12:19
just to be sure, won't I have issues in the future havinggksu
installed on 18.04 ? or I have to remove it after I am done with App installation ?
â Abdelaziz Mokhnache
Apr 30 at 12:21
@N0rbert: Instead of adding the whole shabang, which you admit is dangerous, you can just download the lib .deb from packages.ubuntu.com/artful/amd64/libgksu2-0/download and the gksu .deb file from launchpad.net/ubuntu/bionic/amd64/gksu/2.0.2-9ubuntu1. Install the lib first usinggdebi
, followed by the gksu, also usinggedbi
â M K
May 9 at 11:10
@MK, thanks, I added your method to the answer.
â N0rbert
May 14 at 19:12
Running with mixed repositories is a horrible idea. If you must, at least set up Apt Pinning.
â xiota
May 31 at 2:18
add a comment |Â
up vote
6
down vote
accepted
Introduction
As Jeremy Bicha wrote:
Posted on April 18, 2018 by Jeremy Bicha â 8 Comments
Today, gksu was removed from Ubuntu 18.04, four weeks after it was removed from Debian.
So theoretically speaking there are no packages on Bionic Beaver 18.04 LTS, depending on gksu
. But this is not true:
$ apt-cache rdepends gksu
gksu
Reverse Depends:
gexec
wicd-gtk
spacefm-gtk3
spacefm
|menu
$ aptitude why gksu
i menu Suggests gksu | kde-runtime | ktsuss
As you see some software, which are distibuted by third-party may depend on gksu
package. So you can proceed installing gksu
with method below on your own risk.
How to fix?
Possible solution is to install version from previous (17.10, artful) release.
Warning: do not execute the commands below if unsure!
* Short method (as @MK suggested)
wget http://mirrors.kernel.org/ubuntu/pool/universe/libg/libgksu/libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
sudo apt install ./libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gksu/gksu_2.0.2-9ubuntu1_amd64.deb
sudo apt install ./gksu_2.0.2-9ubuntu1_amd64.deb
* Long method
Add artful repositories to the system:
cat <<EOF | sudo tee /etc/apt/sources.list.d/artful.list
deb http://archive.ubuntu.com/ubuntu/ artful universe
EOFUpdate package cache
sudo apt-get update
Install
gksu
packagesudo apt-get install gksu
Remove artful repository from system for safety
sudo rm /etc/apt/sources.list.d/artful.list
sudo apt-get update
Test
Test gksu
(should work on Xorg-sessions)
gksu-properties # check that it has "Authentication mode" to "sudo"
gksu date
gksudo date
Notes
After installation the following packages will be marked as obsolete (locally-installed): gksu
, libgksu2-0
. But they will work as expected.
1
brilliant, I worked like Magic !!! thanks a lot
â Abdelaziz Mokhnache
Apr 30 at 12:19
just to be sure, won't I have issues in the future havinggksu
installed on 18.04 ? or I have to remove it after I am done with App installation ?
â Abdelaziz Mokhnache
Apr 30 at 12:21
@N0rbert: Instead of adding the whole shabang, which you admit is dangerous, you can just download the lib .deb from packages.ubuntu.com/artful/amd64/libgksu2-0/download and the gksu .deb file from launchpad.net/ubuntu/bionic/amd64/gksu/2.0.2-9ubuntu1. Install the lib first usinggdebi
, followed by the gksu, also usinggedbi
â M K
May 9 at 11:10
@MK, thanks, I added your method to the answer.
â N0rbert
May 14 at 19:12
Running with mixed repositories is a horrible idea. If you must, at least set up Apt Pinning.
â xiota
May 31 at 2:18
add a comment |Â
up vote
6
down vote
accepted
up vote
6
down vote
accepted
Introduction
As Jeremy Bicha wrote:
Posted on April 18, 2018 by Jeremy Bicha â 8 Comments
Today, gksu was removed from Ubuntu 18.04, four weeks after it was removed from Debian.
So theoretically speaking there are no packages on Bionic Beaver 18.04 LTS, depending on gksu
. But this is not true:
$ apt-cache rdepends gksu
gksu
Reverse Depends:
gexec
wicd-gtk
spacefm-gtk3
spacefm
|menu
$ aptitude why gksu
i menu Suggests gksu | kde-runtime | ktsuss
As you see some software, which are distibuted by third-party may depend on gksu
package. So you can proceed installing gksu
with method below on your own risk.
How to fix?
Possible solution is to install version from previous (17.10, artful) release.
Warning: do not execute the commands below if unsure!
* Short method (as @MK suggested)
wget http://mirrors.kernel.org/ubuntu/pool/universe/libg/libgksu/libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
sudo apt install ./libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gksu/gksu_2.0.2-9ubuntu1_amd64.deb
sudo apt install ./gksu_2.0.2-9ubuntu1_amd64.deb
* Long method
Add artful repositories to the system:
cat <<EOF | sudo tee /etc/apt/sources.list.d/artful.list
deb http://archive.ubuntu.com/ubuntu/ artful universe
EOFUpdate package cache
sudo apt-get update
Install
gksu
packagesudo apt-get install gksu
Remove artful repository from system for safety
sudo rm /etc/apt/sources.list.d/artful.list
sudo apt-get update
Test
Test gksu
(should work on Xorg-sessions)
gksu-properties # check that it has "Authentication mode" to "sudo"
gksu date
gksudo date
Notes
After installation the following packages will be marked as obsolete (locally-installed): gksu
, libgksu2-0
. But they will work as expected.
Introduction
As Jeremy Bicha wrote:
Posted on April 18, 2018 by Jeremy Bicha â 8 Comments
Today, gksu was removed from Ubuntu 18.04, four weeks after it was removed from Debian.
So theoretically speaking there are no packages on Bionic Beaver 18.04 LTS, depending on gksu
. But this is not true:
$ apt-cache rdepends gksu
gksu
Reverse Depends:
gexec
wicd-gtk
spacefm-gtk3
spacefm
|menu
$ aptitude why gksu
i menu Suggests gksu | kde-runtime | ktsuss
As you see some software, which are distibuted by third-party may depend on gksu
package. So you can proceed installing gksu
with method below on your own risk.
How to fix?
Possible solution is to install version from previous (17.10, artful) release.
Warning: do not execute the commands below if unsure!
* Short method (as @MK suggested)
wget http://mirrors.kernel.org/ubuntu/pool/universe/libg/libgksu/libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
sudo apt install ./libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gksu/gksu_2.0.2-9ubuntu1_amd64.deb
sudo apt install ./gksu_2.0.2-9ubuntu1_amd64.deb
* Long method
Add artful repositories to the system:
cat <<EOF | sudo tee /etc/apt/sources.list.d/artful.list
deb http://archive.ubuntu.com/ubuntu/ artful universe
EOFUpdate package cache
sudo apt-get update
Install
gksu
packagesudo apt-get install gksu
Remove artful repository from system for safety
sudo rm /etc/apt/sources.list.d/artful.list
sudo apt-get update
Test
Test gksu
(should work on Xorg-sessions)
gksu-properties # check that it has "Authentication mode" to "sudo"
gksu date
gksudo date
Notes
After installation the following packages will be marked as obsolete (locally-installed): gksu
, libgksu2-0
. But they will work as expected.
edited May 14 at 19:11
answered Apr 30 at 11:04
N0rbert
15.1k33069
15.1k33069
1
brilliant, I worked like Magic !!! thanks a lot
â Abdelaziz Mokhnache
Apr 30 at 12:19
just to be sure, won't I have issues in the future havinggksu
installed on 18.04 ? or I have to remove it after I am done with App installation ?
â Abdelaziz Mokhnache
Apr 30 at 12:21
@N0rbert: Instead of adding the whole shabang, which you admit is dangerous, you can just download the lib .deb from packages.ubuntu.com/artful/amd64/libgksu2-0/download and the gksu .deb file from launchpad.net/ubuntu/bionic/amd64/gksu/2.0.2-9ubuntu1. Install the lib first usinggdebi
, followed by the gksu, also usinggedbi
â M K
May 9 at 11:10
@MK, thanks, I added your method to the answer.
â N0rbert
May 14 at 19:12
Running with mixed repositories is a horrible idea. If you must, at least set up Apt Pinning.
â xiota
May 31 at 2:18
add a comment |Â
1
brilliant, I worked like Magic !!! thanks a lot
â Abdelaziz Mokhnache
Apr 30 at 12:19
just to be sure, won't I have issues in the future havinggksu
installed on 18.04 ? or I have to remove it after I am done with App installation ?
â Abdelaziz Mokhnache
Apr 30 at 12:21
@N0rbert: Instead of adding the whole shabang, which you admit is dangerous, you can just download the lib .deb from packages.ubuntu.com/artful/amd64/libgksu2-0/download and the gksu .deb file from launchpad.net/ubuntu/bionic/amd64/gksu/2.0.2-9ubuntu1. Install the lib first usinggdebi
, followed by the gksu, also usinggedbi
â M K
May 9 at 11:10
@MK, thanks, I added your method to the answer.
â N0rbert
May 14 at 19:12
Running with mixed repositories is a horrible idea. If you must, at least set up Apt Pinning.
â xiota
May 31 at 2:18
1
1
brilliant, I worked like Magic !!! thanks a lot
â Abdelaziz Mokhnache
Apr 30 at 12:19
brilliant, I worked like Magic !!! thanks a lot
â Abdelaziz Mokhnache
Apr 30 at 12:19
just to be sure, won't I have issues in the future having
gksu
installed on 18.04 ? or I have to remove it after I am done with App installation ?â Abdelaziz Mokhnache
Apr 30 at 12:21
just to be sure, won't I have issues in the future having
gksu
installed on 18.04 ? or I have to remove it after I am done with App installation ?â Abdelaziz Mokhnache
Apr 30 at 12:21
@N0rbert: Instead of adding the whole shabang, which you admit is dangerous, you can just download the lib .deb from packages.ubuntu.com/artful/amd64/libgksu2-0/download and the gksu .deb file from launchpad.net/ubuntu/bionic/amd64/gksu/2.0.2-9ubuntu1. Install the lib first using
gdebi
, followed by the gksu, also using gedbi
â M K
May 9 at 11:10
@N0rbert: Instead of adding the whole shabang, which you admit is dangerous, you can just download the lib .deb from packages.ubuntu.com/artful/amd64/libgksu2-0/download and the gksu .deb file from launchpad.net/ubuntu/bionic/amd64/gksu/2.0.2-9ubuntu1. Install the lib first using
gdebi
, followed by the gksu, also using gedbi
â M K
May 9 at 11:10
@MK, thanks, I added your method to the answer.
â N0rbert
May 14 at 19:12
@MK, thanks, I added your method to the answer.
â N0rbert
May 14 at 19:12
Running with mixed repositories is a horrible idea. If you must, at least set up Apt Pinning.
â xiota
May 31 at 2:18
Running with mixed repositories is a horrible idea. If you must, at least set up Apt Pinning.
â xiota
May 31 at 2:18
add a comment |Â
up vote
1
down vote
Mixed repositories
Adding the artful repositories to a bionic system is an absolutely horrible idea.âÂÂI cannot stress enough how much suffering the notion, alone, of running with mixed repositories will bring.âÂÂThere shall be misery and gnashing of teeth to the end of the age and beyond.
Masochists, please at least use protection (Apt Pinning).
Better ideas
Wait for new releases that do not depend on outdated packages. (Patience is a virtue that will prevent embarrassing visits to the Help Center with conf-files, or worse, stuck where they don't belong.)
Rebuild packages without unnecessary dependencies.
Find PPAs with the packages you want.
Put a wrapper -script- around
pkexec
.Faux play -with faux packages- and
equivs
.
Notes
kdesudo
has been dropped as well.lxqt-sudo
is still around, but didn't work for me.Something called
gosa
?âÂÂNo idea what it is.Might as well play
sudoku
until this mess is figured out.
add a comment |Â
up vote
1
down vote
Mixed repositories
Adding the artful repositories to a bionic system is an absolutely horrible idea.âÂÂI cannot stress enough how much suffering the notion, alone, of running with mixed repositories will bring.âÂÂThere shall be misery and gnashing of teeth to the end of the age and beyond.
Masochists, please at least use protection (Apt Pinning).
Better ideas
Wait for new releases that do not depend on outdated packages. (Patience is a virtue that will prevent embarrassing visits to the Help Center with conf-files, or worse, stuck where they don't belong.)
Rebuild packages without unnecessary dependencies.
Find PPAs with the packages you want.
Put a wrapper -script- around
pkexec
.Faux play -with faux packages- and
equivs
.
Notes
kdesudo
has been dropped as well.lxqt-sudo
is still around, but didn't work for me.Something called
gosa
?âÂÂNo idea what it is.Might as well play
sudoku
until this mess is figured out.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Mixed repositories
Adding the artful repositories to a bionic system is an absolutely horrible idea.âÂÂI cannot stress enough how much suffering the notion, alone, of running with mixed repositories will bring.âÂÂThere shall be misery and gnashing of teeth to the end of the age and beyond.
Masochists, please at least use protection (Apt Pinning).
Better ideas
Wait for new releases that do not depend on outdated packages. (Patience is a virtue that will prevent embarrassing visits to the Help Center with conf-files, or worse, stuck where they don't belong.)
Rebuild packages without unnecessary dependencies.
Find PPAs with the packages you want.
Put a wrapper -script- around
pkexec
.Faux play -with faux packages- and
equivs
.
Notes
kdesudo
has been dropped as well.lxqt-sudo
is still around, but didn't work for me.Something called
gosa
?âÂÂNo idea what it is.Might as well play
sudoku
until this mess is figured out.
Mixed repositories
Adding the artful repositories to a bionic system is an absolutely horrible idea.âÂÂI cannot stress enough how much suffering the notion, alone, of running with mixed repositories will bring.âÂÂThere shall be misery and gnashing of teeth to the end of the age and beyond.
Masochists, please at least use protection (Apt Pinning).
Better ideas
Wait for new releases that do not depend on outdated packages. (Patience is a virtue that will prevent embarrassing visits to the Help Center with conf-files, or worse, stuck where they don't belong.)
Rebuild packages without unnecessary dependencies.
Find PPAs with the packages you want.
Put a wrapper -script- around
pkexec
.Faux play -with faux packages- and
equivs
.
Notes
kdesudo
has been dropped as well.lxqt-sudo
is still around, but didn't work for me.Something called
gosa
?âÂÂNo idea what it is.Might as well play
sudoku
until this mess is figured out.
edited May 31 at 2:14
answered May 31 at 2:09
xiota
1,0561422
1,0561422
add a comment |Â
add a comment |Â
up vote
-1
down vote
Gksu has been removed from the Ubuntu 18.04 LTS repositories. Though, there are a few ways to install it besides. One way is to use N0rbert's answer.
Install Gksu manually
Gksu only has one required dependency not included in 18.04 repositories. To install this way, just download the two .deb files. Here are the links:
64 bit packages:
Gksu
libgksu2-0
Ubuntu 18.04 LTS removed support for 32 bit packages, so I won't be including those.
If you are using Gksu for your own purposes (not for a dependancy), try this substitute program
Pkexec is a good substitute for Gksu. It is included with the system. Like I said, go ahead and try it as a replacement for gksu or gksudo.
Notes
Pkexec is a program that was installed on Ubuntu 18.04 LTS on both of my machines. I had not installed it before hand. Though I did notice that it was not on the apt repositories either, it is preinstalled, so I feel it is a good substitute candidate.
There are other programs similar to Pkexec and Gksu, like Kdesudo. I assume Kdesudo is included with the KDE desktop environment.
Edit:
Kdesudo has been removed with Gksudo.
kdesudo
is gone too.
â xiota
May 31 at 2:16
add a comment |Â
up vote
-1
down vote
Gksu has been removed from the Ubuntu 18.04 LTS repositories. Though, there are a few ways to install it besides. One way is to use N0rbert's answer.
Install Gksu manually
Gksu only has one required dependency not included in 18.04 repositories. To install this way, just download the two .deb files. Here are the links:
64 bit packages:
Gksu
libgksu2-0
Ubuntu 18.04 LTS removed support for 32 bit packages, so I won't be including those.
If you are using Gksu for your own purposes (not for a dependancy), try this substitute program
Pkexec is a good substitute for Gksu. It is included with the system. Like I said, go ahead and try it as a replacement for gksu or gksudo.
Notes
Pkexec is a program that was installed on Ubuntu 18.04 LTS on both of my machines. I had not installed it before hand. Though I did notice that it was not on the apt repositories either, it is preinstalled, so I feel it is a good substitute candidate.
There are other programs similar to Pkexec and Gksu, like Kdesudo. I assume Kdesudo is included with the KDE desktop environment.
Edit:
Kdesudo has been removed with Gksudo.
kdesudo
is gone too.
â xiota
May 31 at 2:16
add a comment |Â
up vote
-1
down vote
up vote
-1
down vote
Gksu has been removed from the Ubuntu 18.04 LTS repositories. Though, there are a few ways to install it besides. One way is to use N0rbert's answer.
Install Gksu manually
Gksu only has one required dependency not included in 18.04 repositories. To install this way, just download the two .deb files. Here are the links:
64 bit packages:
Gksu
libgksu2-0
Ubuntu 18.04 LTS removed support for 32 bit packages, so I won't be including those.
If you are using Gksu for your own purposes (not for a dependancy), try this substitute program
Pkexec is a good substitute for Gksu. It is included with the system. Like I said, go ahead and try it as a replacement for gksu or gksudo.
Notes
Pkexec is a program that was installed on Ubuntu 18.04 LTS on both of my machines. I had not installed it before hand. Though I did notice that it was not on the apt repositories either, it is preinstalled, so I feel it is a good substitute candidate.
There are other programs similar to Pkexec and Gksu, like Kdesudo. I assume Kdesudo is included with the KDE desktop environment.
Edit:
Kdesudo has been removed with Gksudo.
Gksu has been removed from the Ubuntu 18.04 LTS repositories. Though, there are a few ways to install it besides. One way is to use N0rbert's answer.
Install Gksu manually
Gksu only has one required dependency not included in 18.04 repositories. To install this way, just download the two .deb files. Here are the links:
64 bit packages:
Gksu
libgksu2-0
Ubuntu 18.04 LTS removed support for 32 bit packages, so I won't be including those.
If you are using Gksu for your own purposes (not for a dependancy), try this substitute program
Pkexec is a good substitute for Gksu. It is included with the system. Like I said, go ahead and try it as a replacement for gksu or gksudo.
Notes
Pkexec is a program that was installed on Ubuntu 18.04 LTS on both of my machines. I had not installed it before hand. Though I did notice that it was not on the apt repositories either, it is preinstalled, so I feel it is a good substitute candidate.
There are other programs similar to Pkexec and Gksu, like Kdesudo. I assume Kdesudo is included with the KDE desktop environment.
Edit:
Kdesudo has been removed with Gksudo.
edited Jun 3 at 17:20
answered May 30 at 23:53
![](https://i.stack.imgur.com/7ipXO.png?s=32&g=1)
![](https://i.stack.imgur.com/7ipXO.png?s=32&g=1)
Xelxa
395
395
kdesudo
is gone too.
â xiota
May 31 at 2:16
add a comment |Â
kdesudo
is gone too.
â xiota
May 31 at 2:16
kdesudo
is gone too.â xiota
May 31 at 2:16
kdesudo
is gone too.â xiota
May 31 at 2:16
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030054%2fhow-to-install-an-application-that-requires-gksu-package-on-ubuntu-18-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
You find some alternatives in the following link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?. A simple alternative is
sudo -H GUI-application-program
, but there are alternatives with higher security, for examplepkexec
. When you get used to text mode command lines (in terminal windows), you are no longer affected by this problem.â sudodus
Apr 30 at 11:10
1
pkexec with higher security accompanied by a higher probability of causing error messages, so test the app for error messages when using pkexec.
â karel
Apr 30 at 11:25
2
Possible duplicate of How to fake a package version installed?
â muru
Apr 30 at 12:47
Highly related: askubuntu.com/questions/1026800/â¦
â Organic Marble
Apr 30 at 13:45
2
Close Voters: Initially I voted along with @muru duplicate candidate but retracted after reading Nobert's answer below which will server the OP much better because there will actually be a
gksu
app for the parent to call. Plus OP is satisfied and accepted answer.â WinEunuuchs2Unix
May 1 at 0:00