Ubuntu 18.04.1 LTS x64: how to update Qt 5.10 from Qt 5.9.5?Upgrading Ubuntu Based distro without losing...

How would one muzzle a full grown polar bear in the 13th century?

Using a Lyapunov function to classify stability and sketching a phase portrait

Please, smoke with good manners

Does this extra sentence in the description of the warlock's Eyes of the Rune Keeper eldritch invocation appear in any official reference?

Binary Numbers Magic Trick

What does the "ep" capability mean?

Is there really no use for MD5 anymore?

Why do games have consumables?

Meaning of Bloch representation

A ​Note ​on ​N!

How can I practically buy stocks?

The Defining Moment

Stop and Take a Breath!

Why is it that the natural deduction method can't test for invalidity?

Does Gita support doctrine of eternal samsara?

Pass By Reference VS Pass by Value

Why do Computer Science majors learn Calculus?

Packing rectangles: Does rotation ever help?

US visa is under administrative processing, I need the passport back ASAP

Sci fi novel series with instant travel between planets through gates. A river runs through the gates

A Strange Latex Symbol

Unexpected email from Yorkshire Bank

Realistic Necromancy?

How can the Zone of Truth spell be defeated without the caster knowing?



Ubuntu 18.04.1 LTS x64: how to update Qt 5.10 from Qt 5.9.5?


Upgrading Ubuntu Based distro without losing everythingFailure to startx on Ubuntu 14.04 after security update - missing libXfont.so.1Building PHP from source for use in ApacheCannot run 32-bit executable on 64-bit system with multi-arch supportI did something wrong with apt-get (Linux Mint 17)How to install ZFS on KDE neon?Allow apt-get through iptables that drop everything [Ubuntu]Upgrade from Ubuntu 16.04 to 18.04.1: why do I need to wait several days?Ubuntu 18.04.1 LTS - default DISPLAY valueUbuntu 18.04.1 LTS - starting second xsession fail






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I'm on Ubuntu 18.04.1 LTS x64 and I need to update my Qt 5 installation from v5.9.5 to v5.10.0, however when I issue the command



sudo apt-get install qt5-default


it gives me that



qt5-default is already at the latest versione (5.9.5+dfsg-0ubuntu1).


But obviously it's not true.
I've also tried running:



sudo apt-get update
sudo apt upgrade
sudo apt dist-upgrade


before, but without success.



What is wrong with those commands? I just need to install the core libs without the UI stuff (e.g. qtcreator).










share|improve this question































    1















    I'm on Ubuntu 18.04.1 LTS x64 and I need to update my Qt 5 installation from v5.9.5 to v5.10.0, however when I issue the command



    sudo apt-get install qt5-default


    it gives me that



    qt5-default is already at the latest versione (5.9.5+dfsg-0ubuntu1).


    But obviously it's not true.
    I've also tried running:



    sudo apt-get update
    sudo apt upgrade
    sudo apt dist-upgrade


    before, but without success.



    What is wrong with those commands? I just need to install the core libs without the UI stuff (e.g. qtcreator).










    share|improve this question



























      1












      1








      1








      I'm on Ubuntu 18.04.1 LTS x64 and I need to update my Qt 5 installation from v5.9.5 to v5.10.0, however when I issue the command



      sudo apt-get install qt5-default


      it gives me that



      qt5-default is already at the latest versione (5.9.5+dfsg-0ubuntu1).


      But obviously it's not true.
      I've also tried running:



      sudo apt-get update
      sudo apt upgrade
      sudo apt dist-upgrade


      before, but without success.



      What is wrong with those commands? I just need to install the core libs without the UI stuff (e.g. qtcreator).










      share|improve this question
















      I'm on Ubuntu 18.04.1 LTS x64 and I need to update my Qt 5 installation from v5.9.5 to v5.10.0, however when I issue the command



      sudo apt-get install qt5-default


      it gives me that



      qt5-default is already at the latest versione (5.9.5+dfsg-0ubuntu1).


      But obviously it's not true.
      I've also tried running:



      sudo apt-get update
      sudo apt upgrade
      sudo apt dist-upgrade


      before, but without success.



      What is wrong with those commands? I just need to install the core libs without the UI stuff (e.g. qtcreator).







      ubuntu qt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 11 '18 at 9:43







      1Z10

















      asked Nov 11 '18 at 9:14









      1Z101Z10

      15629




      15629






















          2 Answers
          2






          active

          oldest

          votes


















          6














          You have the latest version of qt5-default package available from Ubuntu repositories qt5-default (5.9.5+dfsg-0ubuntu1). To install the 5.10.x version you should follow the instructions described on the official website : Install Qt 5 on Ubuntu



          The installation file can be downloaded from here.



          The 5.10.0 version:



          wget http://download.qt.io/official_releases/qt/5.10/5.10.0/qt-opensource-linux-x64-5.10.0.run


          The 5.10.1 version:



          wget http://download.qt.io/official_releases/qt/5.10/5.10.1/qt-opensource-linux-x64-5.10.1.run


          to set qt 5.10 as default edit:



          sudo nano /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf


          with the following line (replace $USER with your username):



          /home/$USER/Qt5.10.0/5.10.0/gcc_64/bin
          /home/$USER/Qt5.10.0/5.10.0/gcc_64/lib


          then run:



          qtchooser -print-env
          qmake -v


          .






          share|improve this answer


























          • ok, I installed the 5.10.0 with Qt Creator and Desktop gcc x64, but qmake -v still returns QMake version 3.1 Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu

            – 1Z10
            Nov 11 '18 at 11:07











          • @1Z10 please add the output of qtchooser -l

            – GAD3R
            Nov 11 '18 at 11:52











          • I installed it and this is the output $ qtchooser -l 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5

            – 1Z10
            Nov 11 '18 at 12:03





















          0














          I spent several weeks messing with a system level replacement of Qt 5.9.5 on Ubuntu Bionic and it didn't seem feasible without a backport. The qtxxx.run file will install to /opt which is correct but ancillary and would require some environment variable and/or path override. I built some programs against qt in /opt but they didn't work well just because everything wants to use system default.



          System Qt is distributed in a wide array of folders that exist in parallel where the /opt is in a tree. This magic appears to happen toward the end of the debuild/backportpackage type process where the rules makes changes to some of the paths stored in files to mesh with Ubuntu's structure. I was unable to backport upstream versions because of chicken and the egg situations where cross-package dependencies fail even with the bootstrapped qmake.



          Long story short, at least for me, best to stick with the Qt version that's part of the distro. It is a core item that isn't meant to be either replaced or have multiple versions without very careful testing.



          This was my experience but that doesn't mean it's fact. I'd be pleased to hear if anyone had more success.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f481063%2fubuntu-18-04-1-lts-x64-how-to-update-qt-5-10-from-qt-5-9-5%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            6














            You have the latest version of qt5-default package available from Ubuntu repositories qt5-default (5.9.5+dfsg-0ubuntu1). To install the 5.10.x version you should follow the instructions described on the official website : Install Qt 5 on Ubuntu



            The installation file can be downloaded from here.



            The 5.10.0 version:



            wget http://download.qt.io/official_releases/qt/5.10/5.10.0/qt-opensource-linux-x64-5.10.0.run


            The 5.10.1 version:



            wget http://download.qt.io/official_releases/qt/5.10/5.10.1/qt-opensource-linux-x64-5.10.1.run


            to set qt 5.10 as default edit:



            sudo nano /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf


            with the following line (replace $USER with your username):



            /home/$USER/Qt5.10.0/5.10.0/gcc_64/bin
            /home/$USER/Qt5.10.0/5.10.0/gcc_64/lib


            then run:



            qtchooser -print-env
            qmake -v


            .






            share|improve this answer


























            • ok, I installed the 5.10.0 with Qt Creator and Desktop gcc x64, but qmake -v still returns QMake version 3.1 Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu

              – 1Z10
              Nov 11 '18 at 11:07











            • @1Z10 please add the output of qtchooser -l

              – GAD3R
              Nov 11 '18 at 11:52











            • I installed it and this is the output $ qtchooser -l 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5

              – 1Z10
              Nov 11 '18 at 12:03


















            6














            You have the latest version of qt5-default package available from Ubuntu repositories qt5-default (5.9.5+dfsg-0ubuntu1). To install the 5.10.x version you should follow the instructions described on the official website : Install Qt 5 on Ubuntu



            The installation file can be downloaded from here.



            The 5.10.0 version:



            wget http://download.qt.io/official_releases/qt/5.10/5.10.0/qt-opensource-linux-x64-5.10.0.run


            The 5.10.1 version:



            wget http://download.qt.io/official_releases/qt/5.10/5.10.1/qt-opensource-linux-x64-5.10.1.run


            to set qt 5.10 as default edit:



            sudo nano /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf


            with the following line (replace $USER with your username):



            /home/$USER/Qt5.10.0/5.10.0/gcc_64/bin
            /home/$USER/Qt5.10.0/5.10.0/gcc_64/lib


            then run:



            qtchooser -print-env
            qmake -v


            .






            share|improve this answer


























            • ok, I installed the 5.10.0 with Qt Creator and Desktop gcc x64, but qmake -v still returns QMake version 3.1 Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu

              – 1Z10
              Nov 11 '18 at 11:07











            • @1Z10 please add the output of qtchooser -l

              – GAD3R
              Nov 11 '18 at 11:52











            • I installed it and this is the output $ qtchooser -l 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5

              – 1Z10
              Nov 11 '18 at 12:03
















            6












            6








            6







            You have the latest version of qt5-default package available from Ubuntu repositories qt5-default (5.9.5+dfsg-0ubuntu1). To install the 5.10.x version you should follow the instructions described on the official website : Install Qt 5 on Ubuntu



            The installation file can be downloaded from here.



            The 5.10.0 version:



            wget http://download.qt.io/official_releases/qt/5.10/5.10.0/qt-opensource-linux-x64-5.10.0.run


            The 5.10.1 version:



            wget http://download.qt.io/official_releases/qt/5.10/5.10.1/qt-opensource-linux-x64-5.10.1.run


            to set qt 5.10 as default edit:



            sudo nano /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf


            with the following line (replace $USER with your username):



            /home/$USER/Qt5.10.0/5.10.0/gcc_64/bin
            /home/$USER/Qt5.10.0/5.10.0/gcc_64/lib


            then run:



            qtchooser -print-env
            qmake -v


            .






            share|improve this answer















            You have the latest version of qt5-default package available from Ubuntu repositories qt5-default (5.9.5+dfsg-0ubuntu1). To install the 5.10.x version you should follow the instructions described on the official website : Install Qt 5 on Ubuntu



            The installation file can be downloaded from here.



            The 5.10.0 version:



            wget http://download.qt.io/official_releases/qt/5.10/5.10.0/qt-opensource-linux-x64-5.10.0.run


            The 5.10.1 version:



            wget http://download.qt.io/official_releases/qt/5.10/5.10.1/qt-opensource-linux-x64-5.10.1.run


            to set qt 5.10 as default edit:



            sudo nano /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf


            with the following line (replace $USER with your username):



            /home/$USER/Qt5.10.0/5.10.0/gcc_64/bin
            /home/$USER/Qt5.10.0/5.10.0/gcc_64/lib


            then run:



            qtchooser -print-env
            qmake -v


            .







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 11 '18 at 15:57

























            answered Nov 11 '18 at 9:59









            GAD3RGAD3R

            28.5k1959116




            28.5k1959116













            • ok, I installed the 5.10.0 with Qt Creator and Desktop gcc x64, but qmake -v still returns QMake version 3.1 Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu

              – 1Z10
              Nov 11 '18 at 11:07











            • @1Z10 please add the output of qtchooser -l

              – GAD3R
              Nov 11 '18 at 11:52











            • I installed it and this is the output $ qtchooser -l 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5

              – 1Z10
              Nov 11 '18 at 12:03





















            • ok, I installed the 5.10.0 with Qt Creator and Desktop gcc x64, but qmake -v still returns QMake version 3.1 Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu

              – 1Z10
              Nov 11 '18 at 11:07











            • @1Z10 please add the output of qtchooser -l

              – GAD3R
              Nov 11 '18 at 11:52











            • I installed it and this is the output $ qtchooser -l 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5

              – 1Z10
              Nov 11 '18 at 12:03



















            ok, I installed the 5.10.0 with Qt Creator and Desktop gcc x64, but qmake -v still returns QMake version 3.1 Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu

            – 1Z10
            Nov 11 '18 at 11:07





            ok, I installed the 5.10.0 with Qt Creator and Desktop gcc x64, but qmake -v still returns QMake version 3.1 Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu

            – 1Z10
            Nov 11 '18 at 11:07













            @1Z10 please add the output of qtchooser -l

            – GAD3R
            Nov 11 '18 at 11:52





            @1Z10 please add the output of qtchooser -l

            – GAD3R
            Nov 11 '18 at 11:52













            I installed it and this is the output $ qtchooser -l 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5

            – 1Z10
            Nov 11 '18 at 12:03







            I installed it and this is the output $ qtchooser -l 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5

            – 1Z10
            Nov 11 '18 at 12:03















            0














            I spent several weeks messing with a system level replacement of Qt 5.9.5 on Ubuntu Bionic and it didn't seem feasible without a backport. The qtxxx.run file will install to /opt which is correct but ancillary and would require some environment variable and/or path override. I built some programs against qt in /opt but they didn't work well just because everything wants to use system default.



            System Qt is distributed in a wide array of folders that exist in parallel where the /opt is in a tree. This magic appears to happen toward the end of the debuild/backportpackage type process where the rules makes changes to some of the paths stored in files to mesh with Ubuntu's structure. I was unable to backport upstream versions because of chicken and the egg situations where cross-package dependencies fail even with the bootstrapped qmake.



            Long story short, at least for me, best to stick with the Qt version that's part of the distro. It is a core item that isn't meant to be either replaced or have multiple versions without very careful testing.



            This was my experience but that doesn't mean it's fact. I'd be pleased to hear if anyone had more success.






            share|improve this answer




























              0














              I spent several weeks messing with a system level replacement of Qt 5.9.5 on Ubuntu Bionic and it didn't seem feasible without a backport. The qtxxx.run file will install to /opt which is correct but ancillary and would require some environment variable and/or path override. I built some programs against qt in /opt but they didn't work well just because everything wants to use system default.



              System Qt is distributed in a wide array of folders that exist in parallel where the /opt is in a tree. This magic appears to happen toward the end of the debuild/backportpackage type process where the rules makes changes to some of the paths stored in files to mesh with Ubuntu's structure. I was unable to backport upstream versions because of chicken and the egg situations where cross-package dependencies fail even with the bootstrapped qmake.



              Long story short, at least for me, best to stick with the Qt version that's part of the distro. It is a core item that isn't meant to be either replaced or have multiple versions without very careful testing.



              This was my experience but that doesn't mean it's fact. I'd be pleased to hear if anyone had more success.






              share|improve this answer


























                0












                0








                0







                I spent several weeks messing with a system level replacement of Qt 5.9.5 on Ubuntu Bionic and it didn't seem feasible without a backport. The qtxxx.run file will install to /opt which is correct but ancillary and would require some environment variable and/or path override. I built some programs against qt in /opt but they didn't work well just because everything wants to use system default.



                System Qt is distributed in a wide array of folders that exist in parallel where the /opt is in a tree. This magic appears to happen toward the end of the debuild/backportpackage type process where the rules makes changes to some of the paths stored in files to mesh with Ubuntu's structure. I was unable to backport upstream versions because of chicken and the egg situations where cross-package dependencies fail even with the bootstrapped qmake.



                Long story short, at least for me, best to stick with the Qt version that's part of the distro. It is a core item that isn't meant to be either replaced or have multiple versions without very careful testing.



                This was my experience but that doesn't mean it's fact. I'd be pleased to hear if anyone had more success.






                share|improve this answer













                I spent several weeks messing with a system level replacement of Qt 5.9.5 on Ubuntu Bionic and it didn't seem feasible without a backport. The qtxxx.run file will install to /opt which is correct but ancillary and would require some environment variable and/or path override. I built some programs against qt in /opt but they didn't work well just because everything wants to use system default.



                System Qt is distributed in a wide array of folders that exist in parallel where the /opt is in a tree. This magic appears to happen toward the end of the debuild/backportpackage type process where the rules makes changes to some of the paths stored in files to mesh with Ubuntu's structure. I was unable to backport upstream versions because of chicken and the egg situations where cross-package dependencies fail even with the bootstrapped qmake.



                Long story short, at least for me, best to stick with the Qt version that's part of the distro. It is a core item that isn't meant to be either replaced or have multiple versions without very careful testing.



                This was my experience but that doesn't mean it's fact. I'd be pleased to hear if anyone had more success.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 37 mins ago









                noabodynoabody

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f481063%2fubuntu-18-04-1-lts-x64-how-to-update-qt-5-10-from-qt-5-9-5%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

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...