Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to install latest version of boost for using in Qt Creator on Ubuntu?
Forum Updated to NodeBB v4.3 + New Features

How to install latest version of boost for using in Qt Creator on Ubuntu?

Scheduled Pinned Locked Moved Solved General and Desktop
16 Posts 4 Posters 3.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nima Ghorab
    wrote on 24 Feb 2019, 17:54 last edited by
    #1

    Hello guys.
    I want to install latest version of boost library on Ubuntu in order to use in Qt Creator IDE.
    I type the following in terminal:

    sudo apt-get install libboost-all-dev
    

    But this only gives me version 1.65.1 of boost which is for couple of years ago!
    Is there any way to install latest binary of boost 1.69.0 without needing to compile it?
    Any helps greatly appreciated!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 Feb 2019, 17:58 last edited by
      #2

      Hi,

      What Linux distribution are you using ?

      On a side note, that's a question you should bring to the boost community.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      N 1 Reply Last reply 24 Feb 2019, 18:02
      3
      • S SGaist
        24 Feb 2019, 17:58

        Hi,

        What Linux distribution are you using ?

        On a side note, that's a question you should bring to the boost community.

        N Offline
        N Offline
        Nima Ghorab
        wrote on 24 Feb 2019, 18:02 last edited by Nima Ghorab
        #3

        @SGaist Really thanks man!
        My distribution is Ubuntu.
        Sorry if topic is not related to Qt's world!

        A 1 Reply Last reply 24 Feb 2019, 18:09
        0
        • N Nima Ghorab
          24 Feb 2019, 18:02

          @SGaist Really thanks man!
          My distribution is Ubuntu.
          Sorry if topic is not related to Qt's world!

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 24 Feb 2019, 18:09 last edited by
          #4

          @Nima-Ghorab

          My distribution is Ubuntu.

          And which version?

          Qt has to stay free or it will die.

          N 1 Reply Last reply 24 Feb 2019, 18:17
          2
          • A aha_1980
            24 Feb 2019, 18:09

            @Nima-Ghorab

            My distribution is Ubuntu.

            And which version?

            N Offline
            N Offline
            Nima Ghorab
            wrote on 24 Feb 2019, 18:17 last edited by
            #5

            @aha_1980 18.04.1 LTS.

            A 1 Reply Last reply 24 Feb 2019, 18:23
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 24 Feb 2019, 18:23 last edited by
              #6

              By the way, what do you require from boost that demands the latest version ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              N 1 Reply Last reply 24 Feb 2019, 18:39
              2
              • N Nima Ghorab
                24 Feb 2019, 18:17

                @aha_1980 18.04.1 LTS.

                A Offline
                A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on 24 Feb 2019, 18:23 last edited by
                #7

                @Nima-Ghorab Not even Debian Sid has the latest boost version, so if you don't find a third party package, no way to get the latest version. Sorry

                Qt has to stay free or it will die.

                1 Reply Last reply
                1
                • S SGaist
                  24 Feb 2019, 18:23

                  By the way, what do you require from boost that demands the latest version ?

                  N Offline
                  N Offline
                  Nima Ghorab
                  wrote on 24 Feb 2019, 18:39 last edited by
                  #8

                  @SGaist Just curious to know how can I do that.

                  @aha_1980 Thanks man I think there is no way to install binary directly and I should compile latest boost version on Ubuntu.

                  M 1 Reply Last reply 24 Feb 2019, 18:54
                  1
                  • N Nima Ghorab
                    24 Feb 2019, 18:39

                    @SGaist Just curious to know how can I do that.

                    @aha_1980 Thanks man I think there is no way to install binary directly and I should compile latest boost version on Ubuntu.

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 24 Feb 2019, 18:54 last edited by mrjj
                    #9

                    @Nima-Ghorab
                    Hi
                    Just as a note.
                    You can 1.65 with a (private?) PPA
                    https://www.osetc.com/en/how-to-install-boost-on-ubuntu-16-04-18-04-linux.html#install-boost-ppa

                    N 1 Reply Last reply 24 Feb 2019, 21:06
                    1
                    • M mrjj
                      24 Feb 2019, 18:54

                      @Nima-Ghorab
                      Hi
                      Just as a note.
                      You can 1.65 with a (private?) PPA
                      https://www.osetc.com/en/how-to-install-boost-on-ubuntu-16-04-18-04-linux.html#install-boost-ppa

                      N Offline
                      N Offline
                      Nima Ghorab
                      wrote on 24 Feb 2019, 21:06 last edited by
                      #10

                      Dear @mrjj I did that but when I want to install it via apt-get it tells me that unable to locate package libboost!
                      I checked out Software and Updates the repository is successfully added but it doesn't work!

                      M 1 Reply Last reply 24 Feb 2019, 21:09
                      0
                      • N Nima Ghorab
                        24 Feb 2019, 21:06

                        Dear @mrjj I did that but when I want to install it via apt-get it tells me that unable to locate package libboost!
                        I checked out Software and Updates the repository is successfully added but it doesn't work!

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 24 Feb 2019, 21:09 last edited by
                        #11

                        @Nima-Ghorab
                        hi
                        so first you did
                        $ sudo add-apt-repository ppa:mhier/libboost-latest
                        $ sudo apt update
                        and then
                        sudo apt install libboost

                        and then it said it didnt know libboost ?

                        N 1 Reply Last reply 24 Feb 2019, 21:18
                        1
                        • M mrjj
                          24 Feb 2019, 21:09

                          @Nima-Ghorab
                          hi
                          so first you did
                          $ sudo add-apt-repository ppa:mhier/libboost-latest
                          $ sudo apt update
                          and then
                          sudo apt install libboost

                          and then it said it didnt know libboost ?

                          N Offline
                          N Offline
                          Nima Ghorab
                          wrote on 24 Feb 2019, 21:18 last edited by
                          #12

                          @mrjj Yes exactly I did but it didn't work!
                          Is this the same for you?

                          M 1 Reply Last reply 24 Feb 2019, 21:43
                          1
                          • N Nima Ghorab
                            24 Feb 2019, 21:18

                            @mrjj Yes exactly I did but it didn't work!
                            Is this the same for you?

                            M Offline
                            M Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on 24 Feb 2019, 21:43 last edited by
                            #13

                            @Nima-Ghorab
                            Hi
                            ahh names are a bit differnt than last time
                            try
                            sudo apt install libboost1.68

                            N 1 Reply Last reply 24 Feb 2019, 22:09
                            1
                            • M mrjj
                              24 Feb 2019, 21:43

                              @Nima-Ghorab
                              Hi
                              ahh names are a bit differnt than last time
                              try
                              sudo apt install libboost1.68

                              N Offline
                              N Offline
                              Nima Ghorab
                              wrote on 24 Feb 2019, 22:09 last edited by Nima Ghorab
                              #14

                              @mrjj Thank you so much and at the end I have two questions:
                              1_How did you get that we should use sudo apt install libboost1.68 instead of sudo apt install libboost?
                              2_Why major repositories don't update their databases to the latest version of libraries so that users can choose the proper version they want?
                              Thank you so much!

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 24 Feb 2019, 22:20 last edited by
                                #15
                                1. Using apt-cache to list the various boost package
                                2. Debian (which Ubuntu is based on) is known to ship packages that are considered stable because they have gone through thorough testing. They have a procedure to follow which means the package has to go first through unstable, then testing and finally stable.
                                  "Latest and greatest" doesn't fit in the latest category.
                                  All of this work requires time and people.

                                Most Linux distributions are the result of the work of volunteers who help creating packages and maintaining them. If you need that much a package for a given distribution, you are welcome to help the effort of getting it on it.

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                N 1 Reply Last reply 25 Feb 2019, 18:51
                                4
                                • S SGaist
                                  24 Feb 2019, 22:20
                                  1. Using apt-cache to list the various boost package
                                  2. Debian (which Ubuntu is based on) is known to ship packages that are considered stable because they have gone through thorough testing. They have a procedure to follow which means the package has to go first through unstable, then testing and finally stable.
                                    "Latest and greatest" doesn't fit in the latest category.
                                    All of this work requires time and people.

                                  Most Linux distributions are the result of the work of volunteers who help creating packages and maintaining them. If you need that much a package for a given distribution, you are welcome to help the effort of getting it on it.

                                  N Offline
                                  N Offline
                                  Nima Ghorab
                                  wrote on 25 Feb 2019, 18:51 last edited by
                                  #16

                                  @SGaist and @mrjj thank you so much for your great helps.

                                  1 Reply Last reply
                                  0

                                  1/16

                                  24 Feb 2019, 17:54

                                  • Login

                                  • Login or register to search.
                                  1 out of 16
                                  • First post
                                    1/16
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved