How to install latest version of boost for using in Qt Creator on Ubuntu?
-
wrote on 24 Feb 2019, 17:54 last edited by
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! -
Hi,
What Linux distribution are you using ?
On a side note, that's a question you should bring to the boost community.
-
Hi,
What Linux distribution are you using ?
On a side note, that's a question you should bring to the boost community.
wrote on 24 Feb 2019, 18:02 last edited by Nima Ghorab@SGaist Really thanks man!
My distribution is Ubuntu.
Sorry if topic is not related to Qt's world! -
@SGaist Really thanks man!
My distribution is Ubuntu.
Sorry if topic is not related to Qt's world! -
wrote on 24 Feb 2019, 18:17 last edited by
@aha_1980 18.04.1 LTS.
-
By the way, what do you require from boost that demands the latest version ?
-
@aha_1980 18.04.1 LTS.
@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
-
wrote on 24 Feb 2019, 18:39 last edited by
-
@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 -
@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-ppawrote on 24 Feb 2019, 21:06 last edited byDear @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! -
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!@Nima-Ghorab
hi
so first you did
$ sudo add-apt-repository ppa:mhier/libboost-latest
$ sudo apt update
and then
sudo apt install libboostand then it said it didnt know libboost ?
-
@Nima-Ghorab
hi
so first you did
$ sudo add-apt-repository ppa:mhier/libboost-latest
$ sudo apt update
and then
sudo apt install libboostand then it said it didnt know libboost ?
wrote on 24 Feb 2019, 21:18 last edited by@mrjj Yes exactly I did but it didn't work!
Is this the same for you? -
@mrjj Yes exactly I did but it didn't work!
Is this the same for you?@Nima-Ghorab
Hi
ahh names are a bit differnt than last time
try
sudo apt install libboost1.68 -
@Nima-Ghorab
Hi
ahh names are a bit differnt than last time
try
sudo apt install libboost1.68wrote on 24 Feb 2019, 22:09 last edited by Nima Ghorab@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! -
- Using apt-cache to list the various boost package
- 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.
-
- Using apt-cache to list the various boost package
- 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.
wrote on 25 Feb 2019, 18:51 last edited by
1/16