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?

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

    @aha_1980 18.04.1 LTS.

    aha_1980A Offline
    aha_1980A Offline
    aha_1980
    Lifetime Qt Champion
    wrote on 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
    • SGaistS SGaist

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

      N Offline
      N Offline
      Nima Ghorab
      wrote on 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.

      mrjjM 1 Reply Last reply
      1
      • N Nima Ghorab

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

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on 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
        1
        • mrjjM mrjj

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

          mrjjM 1 Reply Last reply
          0
          • N Nima Ghorab

            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!

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on 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
            1
            • mrjjM mrjj

              @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 last edited by
              #12

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

              mrjjM 1 Reply Last reply
              1
              • N Nima Ghorab

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

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on 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
                1
                • mrjjM mrjj

                  @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 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
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 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
                    4
                    • SGaistS SGaist
                      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 last edited by
                      #16

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

                      1 Reply Last reply
                      0

                      • Login

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