How to install an application that requires gksu package on ubuntu 18.04?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
6
down vote

favorite
4












I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error:



enter image description here



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) ?







share|improve this question
















  • 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






  • 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















up vote
6
down vote

favorite
4












I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error:



enter image description here



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) ?







share|improve this question
















  • 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






  • 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













up vote
6
down vote

favorite
4









up vote
6
down vote

favorite
4






4





I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error:



enter image description here



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) ?







share|improve this question












I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error:



enter image description here



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) ?









share|improve this question











share|improve this question




share|improve this question










asked Apr 30 at 10:19









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 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




    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













  • 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






  • 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








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











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




  1. 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
    EOF



  2. Update package cache



    sudo apt-get update



  3. Install gksu package



    sudo apt-get install gksu



  4. 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.






share|improve this answer


















  • 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 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











  • @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

















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.






share|improve this answer





























    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.






    share|improve this answer






















    • kdesudo is gone too.
      – xiota
      May 31 at 2:16










    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    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






























    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




    1. 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
      EOF



    2. Update package cache



      sudo apt-get update



    3. Install gksu package



      sudo apt-get install gksu



    4. 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.






    share|improve this answer


















    • 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 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











    • @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














    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




    1. 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
      EOF



    2. Update package cache



      sudo apt-get update



    3. Install gksu package



      sudo apt-get install gksu



    4. 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.






    share|improve this answer


















    • 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 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











    • @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












    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




    1. 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
      EOF



    2. Update package cache



      sudo apt-get update



    3. Install gksu package



      sudo apt-get install gksu



    4. 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.






    share|improve this answer














    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




    1. 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
      EOF



    2. Update package cache



      sudo apt-get update



    3. Install gksu package



      sudo apt-get install gksu



    4. 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.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    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 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











    • @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




      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










    • @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










    • 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












    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.






    share|improve this answer


























      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.






      share|improve this answer
























        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.






        share|improve this answer














        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 31 at 2:14

























        answered May 31 at 2:09









        xiota

        1,0561422




        1,0561422




















            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.






            share|improve this answer






















            • kdesudo is gone too.
              – xiota
              May 31 at 2:16














            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.






            share|improve this answer






















            • kdesudo is gone too.
              – xiota
              May 31 at 2:16












            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.






            share|improve this answer














            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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 3 at 17:20

























            answered May 30 at 23:53









            Xelxa

            395




            395











            • 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




            kdesudo is gone too.
            – xiota
            May 31 at 2:16

















             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            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













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491