Ubuntu 18.04 Unable to install Viber












24















I am trying to get Viber on my new Ubuntu 18.04 but I get these error ...



sudo dpkg -i Downloads/viber.deb 
(Reading database ... 138136 files and directories currently installed.)
Preparing to unpack Downloads/viber.deb ...
Unpacking viber (7.0.0.1035) over (7.0.0.1035) ...
dpkg: dependency problems prevent configuration of viber:
viber depends on libcurl3; however:
Package libcurl3 is not installed.

dpkg: error processing package viber (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
viber









share|improve this question


















  • 2





    Looks like the Viber people need to provide a package for 18.04 (or if this was one for Ubuntu 18.04 then they need to fix it) so that it depends on the correct dependencies.

    – JanC
    May 1 '18 at 19:05


















24















I am trying to get Viber on my new Ubuntu 18.04 but I get these error ...



sudo dpkg -i Downloads/viber.deb 
(Reading database ... 138136 files and directories currently installed.)
Preparing to unpack Downloads/viber.deb ...
Unpacking viber (7.0.0.1035) over (7.0.0.1035) ...
dpkg: dependency problems prevent configuration of viber:
viber depends on libcurl3; however:
Package libcurl3 is not installed.

dpkg: error processing package viber (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
viber









share|improve this question


















  • 2





    Looks like the Viber people need to provide a package for 18.04 (or if this was one for Ubuntu 18.04 then they need to fix it) so that it depends on the correct dependencies.

    – JanC
    May 1 '18 at 19:05
















24












24








24


12






I am trying to get Viber on my new Ubuntu 18.04 but I get these error ...



sudo dpkg -i Downloads/viber.deb 
(Reading database ... 138136 files and directories currently installed.)
Preparing to unpack Downloads/viber.deb ...
Unpacking viber (7.0.0.1035) over (7.0.0.1035) ...
dpkg: dependency problems prevent configuration of viber:
viber depends on libcurl3; however:
Package libcurl3 is not installed.

dpkg: error processing package viber (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
viber









share|improve this question














I am trying to get Viber on my new Ubuntu 18.04 but I get these error ...



sudo dpkg -i Downloads/viber.deb 
(Reading database ... 138136 files and directories currently installed.)
Preparing to unpack Downloads/viber.deb ...
Unpacking viber (7.0.0.1035) over (7.0.0.1035) ...
dpkg: dependency problems prevent configuration of viber:
viber depends on libcurl3; however:
Package libcurl3 is not installed.

dpkg: error processing package viber (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
viber






18.04 viber






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 1 '18 at 9:08









AdelinAdelin

256129




256129








  • 2





    Looks like the Viber people need to provide a package for 18.04 (or if this was one for Ubuntu 18.04 then they need to fix it) so that it depends on the correct dependencies.

    – JanC
    May 1 '18 at 19:05
















  • 2





    Looks like the Viber people need to provide a package for 18.04 (or if this was one for Ubuntu 18.04 then they need to fix it) so that it depends on the correct dependencies.

    – JanC
    May 1 '18 at 19:05










2




2





Looks like the Viber people need to provide a package for 18.04 (or if this was one for Ubuntu 18.04 then they need to fix it) so that it depends on the correct dependencies.

– JanC
May 1 '18 at 19:05







Looks like the Viber people need to provide a package for 18.04 (or if this was one for Ubuntu 18.04 then they need to fix it) so that it depends on the correct dependencies.

– JanC
May 1 '18 at 19:05












8 Answers
8






active

oldest

votes


















55














The problem is not only with the viber.deb file but also with the libcurl3 requirement of viber.deb.



In Ubuntu 18.04 libcurl3 cannot coexist with libcurl4 so you are going to face problems with other applications. In my case Viber and Steam could not coexist.



After some search I found the following solution which is to deb-package, fix the dependency and then build a new viber file.



The steps are:




  1. Save the viber.deb file in a folder

  2. Open the folder in a terminal

  3. execute the following commands

  4. dpkg-deb -x viber.deb viber

  5. dpkg-deb --control viber.deb viber/DEBIAN

  6. Edit viber/DEBIAN/control and replace "libcurl3" with "libcurl4"
    (also delete the last blank line from the file or you will get an error afterwards)

  7. dpkg -b viber viberlibcurl4.deb


  8. sudo dpkg -i viberlibcurl4.deb or install the .deb file with gdebi


Viber seems to work ok with libcurl4 atleast for me until now.



I found the solution here, in a comment...



https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux






share|improve this answer





















  • 1





    How is still not fixed by viber themselves?

    – D. Dan
    Sep 13 '18 at 10:15






  • 1





    Rakuten is a company. They make shareholders happy. Shareholders are happy when 95% of users are happy. 95% of users are happy when windows/osx/android/ios versions work.

    – Lennart Rolland
    Oct 15 '18 at 18:03











  • Hope it's OK if I bump in here: the above doesn't work for me. When I try it, or when I try to install viber with the "software-center" on ubuntu, nothing happens. I did all the above, but when I type ´viber´ into the terminal, it says the command isn't found, and ´which viber´ gives nothing too.

    – Limok Palantaemon
    Nov 2 '18 at 10:38











  • It appears somehow the link to viber didn't get put on my system path? I found ´viber.desktop´ in ´/usr/share/applications/´, and with ´cat´ turns out there is an executable in ´/opt/viber/Viber´, which seems to run Viber. However, what does this mean? Does the system not look for executable files there, and if so, why did Viber get put there? How do I make it "visibile" to the system with ´which´, when running from terminal or when searching for the application?

    – Limok Palantaemon
    Nov 2 '18 at 10:52



















15














sudo dpkg -i --ignore-depends=libcurl3 viber.deb


Works perfectly for me.



Update: @borowis is right: after installing this way it gets uninstalled on fix broken dependencies.
Another one line, but still workable solution is:



sudo apt install libcurl3 ~/viber.deb 


source: https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux






share|improve this answer





















  • 3





    This should be the accepted answer. For viber at least

    – Prasun Jajodia
    Jul 24 '18 at 6:07






  • 3





    viber works but I got "Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)"

    – borowis
    Aug 22 '18 at 9:50











  • This solution is the accepted answer.

    – Antonis
    Oct 17 '18 at 23:38



















8














The easiest way is to convert the rpm package on Viber website to a deb package. To do that:



Download the rpm package with:



wget https://download.cdn.viber.com/desktop/Linux/viber.rpm


Install alien, convert the rpm package and install the newly created deb package:



sudo apt-get install alien
sudo alien --to-deb --scripts viber.rpm
sudo dpkg -i viber_7.0.0.1035-3_amd64.deb


The conversion will take about 5 minutes. Be patient!






share|improve this answer
























  • Thanks it worked for me

    – Asnad Atta
    May 2 '18 at 9:54



















3














The solution to installing Viber on Ubuntu 18.04 is to explicitly include the libcurl3 package prerequisite as part of the apt installation command:



sudo apt install libcurl3 ~/Downloads/viber.deb


How to install Viber on Ubuntu 18.04 Bionic Beaver Linux



You can also just install the flatpak version from flathub.org






share|improve this answer


























  • 'Warning' section from 'Install Viber' from your link seems to be working great. I advise everyone try it with libcurl4

    – Ivan Yarych
    May 7 '18 at 7:26



















1














After trying some above answers I found another solution. There is a cURL PPA which supports both cURL version 3 and 4.



https://launchpad.net/~xapienz/+archive/ubuntu/curl34



So, I added this PPA to my Ubuntu 18.04 and installed cURL from there. Then I installed Viber with this below command-



sudo dpkg -i viber.deb


And Viber is working fine till then.




No broken package warning till now and libcurl4 package is installed.







share|improve this answer































    0














    The better way to install single deb-packages it to use APT-tool, which will solve all dependencies automatically:



    sudo apt-get install ./Downloads/viber.deb 





    share|improve this answer



















    • 1





      I don't think it can work unless the problem between libcurl version 3 and 4 is fixed first.

      – Sonevol
      Sep 7 '18 at 18:58



















    0














    You can install libcurl3 and remove libcurl4.



    All the programs as far as I know, like Opera and Brackets work fine with either.



    Go to terminal and type:



    sudo apt install libcurl3


    When asked for confirmation press y



    This will automatically remove all libcurl4 and it's dependencies and install libcurl3.



    As a precaution do:



    sudo apt install -f


    to fix any dependency issues that may occur.



    Now download the viber debian package from their official site.



    In terminal type



    sudo dpkg -i viber.deb
    sudo install -f


    This should install viber without any trouble.



    Now open viber from launchpad.



    Happy chatting in viber :)






    share|improve this answer































      0














      If you don't mind to use snap, you can install Viber easily from Snap Store:



      sudo snap install viber-unofficial


      Disclaimer: I've added this snap to snap store.






      share|improve this answer























        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',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        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%2f1030479%2fubuntu-18-04-unable-to-install-viber%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        8 Answers
        8






        active

        oldest

        votes








        8 Answers
        8






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        55














        The problem is not only with the viber.deb file but also with the libcurl3 requirement of viber.deb.



        In Ubuntu 18.04 libcurl3 cannot coexist with libcurl4 so you are going to face problems with other applications. In my case Viber and Steam could not coexist.



        After some search I found the following solution which is to deb-package, fix the dependency and then build a new viber file.



        The steps are:




        1. Save the viber.deb file in a folder

        2. Open the folder in a terminal

        3. execute the following commands

        4. dpkg-deb -x viber.deb viber

        5. dpkg-deb --control viber.deb viber/DEBIAN

        6. Edit viber/DEBIAN/control and replace "libcurl3" with "libcurl4"
          (also delete the last blank line from the file or you will get an error afterwards)

        7. dpkg -b viber viberlibcurl4.deb


        8. sudo dpkg -i viberlibcurl4.deb or install the .deb file with gdebi


        Viber seems to work ok with libcurl4 atleast for me until now.



        I found the solution here, in a comment...



        https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux






        share|improve this answer





















        • 1





          How is still not fixed by viber themselves?

          – D. Dan
          Sep 13 '18 at 10:15






        • 1





          Rakuten is a company. They make shareholders happy. Shareholders are happy when 95% of users are happy. 95% of users are happy when windows/osx/android/ios versions work.

          – Lennart Rolland
          Oct 15 '18 at 18:03











        • Hope it's OK if I bump in here: the above doesn't work for me. When I try it, or when I try to install viber with the "software-center" on ubuntu, nothing happens. I did all the above, but when I type ´viber´ into the terminal, it says the command isn't found, and ´which viber´ gives nothing too.

          – Limok Palantaemon
          Nov 2 '18 at 10:38











        • It appears somehow the link to viber didn't get put on my system path? I found ´viber.desktop´ in ´/usr/share/applications/´, and with ´cat´ turns out there is an executable in ´/opt/viber/Viber´, which seems to run Viber. However, what does this mean? Does the system not look for executable files there, and if so, why did Viber get put there? How do I make it "visibile" to the system with ´which´, when running from terminal or when searching for the application?

          – Limok Palantaemon
          Nov 2 '18 at 10:52
















        55














        The problem is not only with the viber.deb file but also with the libcurl3 requirement of viber.deb.



        In Ubuntu 18.04 libcurl3 cannot coexist with libcurl4 so you are going to face problems with other applications. In my case Viber and Steam could not coexist.



        After some search I found the following solution which is to deb-package, fix the dependency and then build a new viber file.



        The steps are:




        1. Save the viber.deb file in a folder

        2. Open the folder in a terminal

        3. execute the following commands

        4. dpkg-deb -x viber.deb viber

        5. dpkg-deb --control viber.deb viber/DEBIAN

        6. Edit viber/DEBIAN/control and replace "libcurl3" with "libcurl4"
          (also delete the last blank line from the file or you will get an error afterwards)

        7. dpkg -b viber viberlibcurl4.deb


        8. sudo dpkg -i viberlibcurl4.deb or install the .deb file with gdebi


        Viber seems to work ok with libcurl4 atleast for me until now.



        I found the solution here, in a comment...



        https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux






        share|improve this answer





















        • 1





          How is still not fixed by viber themselves?

          – D. Dan
          Sep 13 '18 at 10:15






        • 1





          Rakuten is a company. They make shareholders happy. Shareholders are happy when 95% of users are happy. 95% of users are happy when windows/osx/android/ios versions work.

          – Lennart Rolland
          Oct 15 '18 at 18:03











        • Hope it's OK if I bump in here: the above doesn't work for me. When I try it, or when I try to install viber with the "software-center" on ubuntu, nothing happens. I did all the above, but when I type ´viber´ into the terminal, it says the command isn't found, and ´which viber´ gives nothing too.

          – Limok Palantaemon
          Nov 2 '18 at 10:38











        • It appears somehow the link to viber didn't get put on my system path? I found ´viber.desktop´ in ´/usr/share/applications/´, and with ´cat´ turns out there is an executable in ´/opt/viber/Viber´, which seems to run Viber. However, what does this mean? Does the system not look for executable files there, and if so, why did Viber get put there? How do I make it "visibile" to the system with ´which´, when running from terminal or when searching for the application?

          – Limok Palantaemon
          Nov 2 '18 at 10:52














        55












        55








        55







        The problem is not only with the viber.deb file but also with the libcurl3 requirement of viber.deb.



        In Ubuntu 18.04 libcurl3 cannot coexist with libcurl4 so you are going to face problems with other applications. In my case Viber and Steam could not coexist.



        After some search I found the following solution which is to deb-package, fix the dependency and then build a new viber file.



        The steps are:




        1. Save the viber.deb file in a folder

        2. Open the folder in a terminal

        3. execute the following commands

        4. dpkg-deb -x viber.deb viber

        5. dpkg-deb --control viber.deb viber/DEBIAN

        6. Edit viber/DEBIAN/control and replace "libcurl3" with "libcurl4"
          (also delete the last blank line from the file or you will get an error afterwards)

        7. dpkg -b viber viberlibcurl4.deb


        8. sudo dpkg -i viberlibcurl4.deb or install the .deb file with gdebi


        Viber seems to work ok with libcurl4 atleast for me until now.



        I found the solution here, in a comment...



        https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux






        share|improve this answer















        The problem is not only with the viber.deb file but also with the libcurl3 requirement of viber.deb.



        In Ubuntu 18.04 libcurl3 cannot coexist with libcurl4 so you are going to face problems with other applications. In my case Viber and Steam could not coexist.



        After some search I found the following solution which is to deb-package, fix the dependency and then build a new viber file.



        The steps are:




        1. Save the viber.deb file in a folder

        2. Open the folder in a terminal

        3. execute the following commands

        4. dpkg-deb -x viber.deb viber

        5. dpkg-deb --control viber.deb viber/DEBIAN

        6. Edit viber/DEBIAN/control and replace "libcurl3" with "libcurl4"
          (also delete the last blank line from the file or you will get an error afterwards)

        7. dpkg -b viber viberlibcurl4.deb


        8. sudo dpkg -i viberlibcurl4.deb or install the .deb file with gdebi


        Viber seems to work ok with libcurl4 atleast for me until now.



        I found the solution here, in a comment...



        https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 13 '18 at 10:06









        N0rbert

        21.7k547101




        21.7k547101










        answered May 3 '18 at 15:18









        Plevrakis TheophilosPlevrakis Theophilos

        699168




        699168








        • 1





          How is still not fixed by viber themselves?

          – D. Dan
          Sep 13 '18 at 10:15






        • 1





          Rakuten is a company. They make shareholders happy. Shareholders are happy when 95% of users are happy. 95% of users are happy when windows/osx/android/ios versions work.

          – Lennart Rolland
          Oct 15 '18 at 18:03











        • Hope it's OK if I bump in here: the above doesn't work for me. When I try it, or when I try to install viber with the "software-center" on ubuntu, nothing happens. I did all the above, but when I type ´viber´ into the terminal, it says the command isn't found, and ´which viber´ gives nothing too.

          – Limok Palantaemon
          Nov 2 '18 at 10:38











        • It appears somehow the link to viber didn't get put on my system path? I found ´viber.desktop´ in ´/usr/share/applications/´, and with ´cat´ turns out there is an executable in ´/opt/viber/Viber´, which seems to run Viber. However, what does this mean? Does the system not look for executable files there, and if so, why did Viber get put there? How do I make it "visibile" to the system with ´which´, when running from terminal or when searching for the application?

          – Limok Palantaemon
          Nov 2 '18 at 10:52














        • 1





          How is still not fixed by viber themselves?

          – D. Dan
          Sep 13 '18 at 10:15






        • 1





          Rakuten is a company. They make shareholders happy. Shareholders are happy when 95% of users are happy. 95% of users are happy when windows/osx/android/ios versions work.

          – Lennart Rolland
          Oct 15 '18 at 18:03











        • Hope it's OK if I bump in here: the above doesn't work for me. When I try it, or when I try to install viber with the "software-center" on ubuntu, nothing happens. I did all the above, but when I type ´viber´ into the terminal, it says the command isn't found, and ´which viber´ gives nothing too.

          – Limok Palantaemon
          Nov 2 '18 at 10:38











        • It appears somehow the link to viber didn't get put on my system path? I found ´viber.desktop´ in ´/usr/share/applications/´, and with ´cat´ turns out there is an executable in ´/opt/viber/Viber´, which seems to run Viber. However, what does this mean? Does the system not look for executable files there, and if so, why did Viber get put there? How do I make it "visibile" to the system with ´which´, when running from terminal or when searching for the application?

          – Limok Palantaemon
          Nov 2 '18 at 10:52








        1




        1





        How is still not fixed by viber themselves?

        – D. Dan
        Sep 13 '18 at 10:15





        How is still not fixed by viber themselves?

        – D. Dan
        Sep 13 '18 at 10:15




        1




        1





        Rakuten is a company. They make shareholders happy. Shareholders are happy when 95% of users are happy. 95% of users are happy when windows/osx/android/ios versions work.

        – Lennart Rolland
        Oct 15 '18 at 18:03





        Rakuten is a company. They make shareholders happy. Shareholders are happy when 95% of users are happy. 95% of users are happy when windows/osx/android/ios versions work.

        – Lennart Rolland
        Oct 15 '18 at 18:03













        Hope it's OK if I bump in here: the above doesn't work for me. When I try it, or when I try to install viber with the "software-center" on ubuntu, nothing happens. I did all the above, but when I type ´viber´ into the terminal, it says the command isn't found, and ´which viber´ gives nothing too.

        – Limok Palantaemon
        Nov 2 '18 at 10:38





        Hope it's OK if I bump in here: the above doesn't work for me. When I try it, or when I try to install viber with the "software-center" on ubuntu, nothing happens. I did all the above, but when I type ´viber´ into the terminal, it says the command isn't found, and ´which viber´ gives nothing too.

        – Limok Palantaemon
        Nov 2 '18 at 10:38













        It appears somehow the link to viber didn't get put on my system path? I found ´viber.desktop´ in ´/usr/share/applications/´, and with ´cat´ turns out there is an executable in ´/opt/viber/Viber´, which seems to run Viber. However, what does this mean? Does the system not look for executable files there, and if so, why did Viber get put there? How do I make it "visibile" to the system with ´which´, when running from terminal or when searching for the application?

        – Limok Palantaemon
        Nov 2 '18 at 10:52





        It appears somehow the link to viber didn't get put on my system path? I found ´viber.desktop´ in ´/usr/share/applications/´, and with ´cat´ turns out there is an executable in ´/opt/viber/Viber´, which seems to run Viber. However, what does this mean? Does the system not look for executable files there, and if so, why did Viber get put there? How do I make it "visibile" to the system with ´which´, when running from terminal or when searching for the application?

        – Limok Palantaemon
        Nov 2 '18 at 10:52













        15














        sudo dpkg -i --ignore-depends=libcurl3 viber.deb


        Works perfectly for me.



        Update: @borowis is right: after installing this way it gets uninstalled on fix broken dependencies.
        Another one line, but still workable solution is:



        sudo apt install libcurl3 ~/viber.deb 


        source: https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux






        share|improve this answer





















        • 3





          This should be the accepted answer. For viber at least

          – Prasun Jajodia
          Jul 24 '18 at 6:07






        • 3





          viber works but I got "Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)"

          – borowis
          Aug 22 '18 at 9:50











        • This solution is the accepted answer.

          – Antonis
          Oct 17 '18 at 23:38
















        15














        sudo dpkg -i --ignore-depends=libcurl3 viber.deb


        Works perfectly for me.



        Update: @borowis is right: after installing this way it gets uninstalled on fix broken dependencies.
        Another one line, but still workable solution is:



        sudo apt install libcurl3 ~/viber.deb 


        source: https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux






        share|improve this answer





















        • 3





          This should be the accepted answer. For viber at least

          – Prasun Jajodia
          Jul 24 '18 at 6:07






        • 3





          viber works but I got "Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)"

          – borowis
          Aug 22 '18 at 9:50











        • This solution is the accepted answer.

          – Antonis
          Oct 17 '18 at 23:38














        15












        15








        15







        sudo dpkg -i --ignore-depends=libcurl3 viber.deb


        Works perfectly for me.



        Update: @borowis is right: after installing this way it gets uninstalled on fix broken dependencies.
        Another one line, but still workable solution is:



        sudo apt install libcurl3 ~/viber.deb 


        source: https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux






        share|improve this answer















        sudo dpkg -i --ignore-depends=libcurl3 viber.deb


        Works perfectly for me.



        Update: @borowis is right: after installing this way it gets uninstalled on fix broken dependencies.
        Another one line, but still workable solution is:



        sudo apt install libcurl3 ~/viber.deb 


        source: https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 27 '18 at 19:10

























        answered Jul 8 '18 at 10:42









        TradunskyTradunsky

        15114




        15114








        • 3





          This should be the accepted answer. For viber at least

          – Prasun Jajodia
          Jul 24 '18 at 6:07






        • 3





          viber works but I got "Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)"

          – borowis
          Aug 22 '18 at 9:50











        • This solution is the accepted answer.

          – Antonis
          Oct 17 '18 at 23:38














        • 3





          This should be the accepted answer. For viber at least

          – Prasun Jajodia
          Jul 24 '18 at 6:07






        • 3





          viber works but I got "Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)"

          – borowis
          Aug 22 '18 at 9:50











        • This solution is the accepted answer.

          – Antonis
          Oct 17 '18 at 23:38








        3




        3





        This should be the accepted answer. For viber at least

        – Prasun Jajodia
        Jul 24 '18 at 6:07





        This should be the accepted answer. For viber at least

        – Prasun Jajodia
        Jul 24 '18 at 6:07




        3




        3





        viber works but I got "Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)"

        – borowis
        Aug 22 '18 at 9:50





        viber works but I got "Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)"

        – borowis
        Aug 22 '18 at 9:50













        This solution is the accepted answer.

        – Antonis
        Oct 17 '18 at 23:38





        This solution is the accepted answer.

        – Antonis
        Oct 17 '18 at 23:38











        8














        The easiest way is to convert the rpm package on Viber website to a deb package. To do that:



        Download the rpm package with:



        wget https://download.cdn.viber.com/desktop/Linux/viber.rpm


        Install alien, convert the rpm package and install the newly created deb package:



        sudo apt-get install alien
        sudo alien --to-deb --scripts viber.rpm
        sudo dpkg -i viber_7.0.0.1035-3_amd64.deb


        The conversion will take about 5 minutes. Be patient!






        share|improve this answer
























        • Thanks it worked for me

          – Asnad Atta
          May 2 '18 at 9:54
















        8














        The easiest way is to convert the rpm package on Viber website to a deb package. To do that:



        Download the rpm package with:



        wget https://download.cdn.viber.com/desktop/Linux/viber.rpm


        Install alien, convert the rpm package and install the newly created deb package:



        sudo apt-get install alien
        sudo alien --to-deb --scripts viber.rpm
        sudo dpkg -i viber_7.0.0.1035-3_amd64.deb


        The conversion will take about 5 minutes. Be patient!






        share|improve this answer
























        • Thanks it worked for me

          – Asnad Atta
          May 2 '18 at 9:54














        8












        8








        8







        The easiest way is to convert the rpm package on Viber website to a deb package. To do that:



        Download the rpm package with:



        wget https://download.cdn.viber.com/desktop/Linux/viber.rpm


        Install alien, convert the rpm package and install the newly created deb package:



        sudo apt-get install alien
        sudo alien --to-deb --scripts viber.rpm
        sudo dpkg -i viber_7.0.0.1035-3_amd64.deb


        The conversion will take about 5 minutes. Be patient!






        share|improve this answer













        The easiest way is to convert the rpm package on Viber website to a deb package. To do that:



        Download the rpm package with:



        wget https://download.cdn.viber.com/desktop/Linux/viber.rpm


        Install alien, convert the rpm package and install the newly created deb package:



        sudo apt-get install alien
        sudo alien --to-deb --scripts viber.rpm
        sudo dpkg -i viber_7.0.0.1035-3_amd64.deb


        The conversion will take about 5 minutes. Be patient!







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 1 '18 at 15:17









        Claudio TaccognaClaudio Taccogna

        31428




        31428













        • Thanks it worked for me

          – Asnad Atta
          May 2 '18 at 9:54



















        • Thanks it worked for me

          – Asnad Atta
          May 2 '18 at 9:54

















        Thanks it worked for me

        – Asnad Atta
        May 2 '18 at 9:54





        Thanks it worked for me

        – Asnad Atta
        May 2 '18 at 9:54











        3














        The solution to installing Viber on Ubuntu 18.04 is to explicitly include the libcurl3 package prerequisite as part of the apt installation command:



        sudo apt install libcurl3 ~/Downloads/viber.deb


        How to install Viber on Ubuntu 18.04 Bionic Beaver Linux



        You can also just install the flatpak version from flathub.org






        share|improve this answer


























        • 'Warning' section from 'Install Viber' from your link seems to be working great. I advise everyone try it with libcurl4

          – Ivan Yarych
          May 7 '18 at 7:26
















        3














        The solution to installing Viber on Ubuntu 18.04 is to explicitly include the libcurl3 package prerequisite as part of the apt installation command:



        sudo apt install libcurl3 ~/Downloads/viber.deb


        How to install Viber on Ubuntu 18.04 Bionic Beaver Linux



        You can also just install the flatpak version from flathub.org






        share|improve this answer


























        • 'Warning' section from 'Install Viber' from your link seems to be working great. I advise everyone try it with libcurl4

          – Ivan Yarych
          May 7 '18 at 7:26














        3












        3








        3







        The solution to installing Viber on Ubuntu 18.04 is to explicitly include the libcurl3 package prerequisite as part of the apt installation command:



        sudo apt install libcurl3 ~/Downloads/viber.deb


        How to install Viber on Ubuntu 18.04 Bionic Beaver Linux



        You can also just install the flatpak version from flathub.org






        share|improve this answer















        The solution to installing Viber on Ubuntu 18.04 is to explicitly include the libcurl3 package prerequisite as part of the apt installation command:



        sudo apt install libcurl3 ~/Downloads/viber.deb


        How to install Viber on Ubuntu 18.04 Bionic Beaver Linux



        You can also just install the flatpak version from flathub.org







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 4 '18 at 21:43

























        answered May 1 '18 at 17:48









        Ivan V.Ivan V.

        1313




        1313













        • 'Warning' section from 'Install Viber' from your link seems to be working great. I advise everyone try it with libcurl4

          – Ivan Yarych
          May 7 '18 at 7:26



















        • 'Warning' section from 'Install Viber' from your link seems to be working great. I advise everyone try it with libcurl4

          – Ivan Yarych
          May 7 '18 at 7:26

















        'Warning' section from 'Install Viber' from your link seems to be working great. I advise everyone try it with libcurl4

        – Ivan Yarych
        May 7 '18 at 7:26





        'Warning' section from 'Install Viber' from your link seems to be working great. I advise everyone try it with libcurl4

        – Ivan Yarych
        May 7 '18 at 7:26











        1














        After trying some above answers I found another solution. There is a cURL PPA which supports both cURL version 3 and 4.



        https://launchpad.net/~xapienz/+archive/ubuntu/curl34



        So, I added this PPA to my Ubuntu 18.04 and installed cURL from there. Then I installed Viber with this below command-



        sudo dpkg -i viber.deb


        And Viber is working fine till then.




        No broken package warning till now and libcurl4 package is installed.







        share|improve this answer




























          1














          After trying some above answers I found another solution. There is a cURL PPA which supports both cURL version 3 and 4.



          https://launchpad.net/~xapienz/+archive/ubuntu/curl34



          So, I added this PPA to my Ubuntu 18.04 and installed cURL from there. Then I installed Viber with this below command-



          sudo dpkg -i viber.deb


          And Viber is working fine till then.




          No broken package warning till now and libcurl4 package is installed.







          share|improve this answer


























            1












            1








            1







            After trying some above answers I found another solution. There is a cURL PPA which supports both cURL version 3 and 4.



            https://launchpad.net/~xapienz/+archive/ubuntu/curl34



            So, I added this PPA to my Ubuntu 18.04 and installed cURL from there. Then I installed Viber with this below command-



            sudo dpkg -i viber.deb


            And Viber is working fine till then.




            No broken package warning till now and libcurl4 package is installed.







            share|improve this answer













            After trying some above answers I found another solution. There is a cURL PPA which supports both cURL version 3 and 4.



            https://launchpad.net/~xapienz/+archive/ubuntu/curl34



            So, I added this PPA to my Ubuntu 18.04 and installed cURL from there. Then I installed Viber with this below command-



            sudo dpkg -i viber.deb


            And Viber is working fine till then.




            No broken package warning till now and libcurl4 package is installed.








            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 9 '18 at 5:27









            CodeMascotCodeMascot

            14429




            14429























                0














                The better way to install single deb-packages it to use APT-tool, which will solve all dependencies automatically:



                sudo apt-get install ./Downloads/viber.deb 





                share|improve this answer



















                • 1





                  I don't think it can work unless the problem between libcurl version 3 and 4 is fixed first.

                  – Sonevol
                  Sep 7 '18 at 18:58
















                0














                The better way to install single deb-packages it to use APT-tool, which will solve all dependencies automatically:



                sudo apt-get install ./Downloads/viber.deb 





                share|improve this answer



















                • 1





                  I don't think it can work unless the problem between libcurl version 3 and 4 is fixed first.

                  – Sonevol
                  Sep 7 '18 at 18:58














                0












                0








                0







                The better way to install single deb-packages it to use APT-tool, which will solve all dependencies automatically:



                sudo apt-get install ./Downloads/viber.deb 





                share|improve this answer













                The better way to install single deb-packages it to use APT-tool, which will solve all dependencies automatically:



                sudo apt-get install ./Downloads/viber.deb 






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 1 '18 at 10:46









                N0rbertN0rbert

                21.7k547101




                21.7k547101








                • 1





                  I don't think it can work unless the problem between libcurl version 3 and 4 is fixed first.

                  – Sonevol
                  Sep 7 '18 at 18:58














                • 1





                  I don't think it can work unless the problem between libcurl version 3 and 4 is fixed first.

                  – Sonevol
                  Sep 7 '18 at 18:58








                1




                1





                I don't think it can work unless the problem between libcurl version 3 and 4 is fixed first.

                – Sonevol
                Sep 7 '18 at 18:58





                I don't think it can work unless the problem between libcurl version 3 and 4 is fixed first.

                – Sonevol
                Sep 7 '18 at 18:58











                0














                You can install libcurl3 and remove libcurl4.



                All the programs as far as I know, like Opera and Brackets work fine with either.



                Go to terminal and type:



                sudo apt install libcurl3


                When asked for confirmation press y



                This will automatically remove all libcurl4 and it's dependencies and install libcurl3.



                As a precaution do:



                sudo apt install -f


                to fix any dependency issues that may occur.



                Now download the viber debian package from their official site.



                In terminal type



                sudo dpkg -i viber.deb
                sudo install -f


                This should install viber without any trouble.



                Now open viber from launchpad.



                Happy chatting in viber :)






                share|improve this answer




























                  0














                  You can install libcurl3 and remove libcurl4.



                  All the programs as far as I know, like Opera and Brackets work fine with either.



                  Go to terminal and type:



                  sudo apt install libcurl3


                  When asked for confirmation press y



                  This will automatically remove all libcurl4 and it's dependencies and install libcurl3.



                  As a precaution do:



                  sudo apt install -f


                  to fix any dependency issues that may occur.



                  Now download the viber debian package from their official site.



                  In terminal type



                  sudo dpkg -i viber.deb
                  sudo install -f


                  This should install viber without any trouble.



                  Now open viber from launchpad.



                  Happy chatting in viber :)






                  share|improve this answer


























                    0












                    0








                    0







                    You can install libcurl3 and remove libcurl4.



                    All the programs as far as I know, like Opera and Brackets work fine with either.



                    Go to terminal and type:



                    sudo apt install libcurl3


                    When asked for confirmation press y



                    This will automatically remove all libcurl4 and it's dependencies and install libcurl3.



                    As a precaution do:



                    sudo apt install -f


                    to fix any dependency issues that may occur.



                    Now download the viber debian package from their official site.



                    In terminal type



                    sudo dpkg -i viber.deb
                    sudo install -f


                    This should install viber without any trouble.



                    Now open viber from launchpad.



                    Happy chatting in viber :)






                    share|improve this answer













                    You can install libcurl3 and remove libcurl4.



                    All the programs as far as I know, like Opera and Brackets work fine with either.



                    Go to terminal and type:



                    sudo apt install libcurl3


                    When asked for confirmation press y



                    This will automatically remove all libcurl4 and it's dependencies and install libcurl3.



                    As a precaution do:



                    sudo apt install -f


                    to fix any dependency issues that may occur.



                    Now download the viber debian package from their official site.



                    In terminal type



                    sudo dpkg -i viber.deb
                    sudo install -f


                    This should install viber without any trouble.



                    Now open viber from launchpad.



                    Happy chatting in viber :)







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 7 '18 at 18:56









                    SonevolSonevol

                    250215




                    250215























                        0














                        If you don't mind to use snap, you can install Viber easily from Snap Store:



                        sudo snap install viber-unofficial


                        Disclaimer: I've added this snap to snap store.






                        share|improve this answer




























                          0














                          If you don't mind to use snap, you can install Viber easily from Snap Store:



                          sudo snap install viber-unofficial


                          Disclaimer: I've added this snap to snap store.






                          share|improve this answer


























                            0












                            0








                            0







                            If you don't mind to use snap, you can install Viber easily from Snap Store:



                            sudo snap install viber-unofficial


                            Disclaimer: I've added this snap to snap store.






                            share|improve this answer













                            If you don't mind to use snap, you can install Viber easily from Snap Store:



                            sudo snap install viber-unofficial


                            Disclaimer: I've added this snap to snap store.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Dec 25 '18 at 12:53









                            uglideuglide

                            512




                            512






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030479%2fubuntu-18-04-unable-to-install-viber%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                How to change which sound is reproduced for terminal bell?

                                Can I use Tabulator js library in my java Spring + Thymeleaf project?

                                Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents