Ubuntu:C++::Boost library upgrade - c++

After installing Boost library using Synaptic Package Manager, the version installed is 1.42.
If I check on boost official website, the current version is: 1.45.
How can I upgrade to 1.45 from Synaptic package manager?
Thanks in advance.

You probably can not as the distribution usually lags behind. The best option I usually follow is to just download and compile and install it myself as described here

It has to be packaged first (by Ubuntu).
If you want to manually install the new version I would recommend that you install it into some local directory, since installing it into the system might break a lot of applications.

Related

redhat - using yum list available to query EL6, EL7, EL8 repos for specific package

Kinda new to redhat el and have inherited this machine. I have a redhat EL7 machine. I want to use yum list available to see what package version are available on EL6, El7, EL8. Since I have some packages that are from all those versions.
What repository do I have to add to see which version of packages are available in all those versions of redhat?
There is a package browser in the customer portal.
What problem are you trying to solve? There might be a better way than comparing package names and versions.

KDE Frameworks deployment on Windows

I am going to deploy a Qt Application on github and I want to link with some KF5 modules
I call the cmake command
find_package(KF5Crash)
and on linux the things are quite simple the user can
apt-get install libkf5crash-dev
I can mention on documentation the instruction on how to install kcrash or other kf5 modules, the problem is on windows, how can I instruct the windows developers/contributors to install any of the kf5 module?
KDE developers use the Craft utility to deploy source and binaries of KF5 (and many other dependencies) to Windows.
See https://community.kde.org/Craft

How to choose the right version of Google Cloud library components in python?

I have a specific version of google-cloud-core in my server and I don’t know how to choose the other libraries in a way to make them suit with my google cloud core version.
I can’t just move to the latest versions because old programs cannot run into new versions for example BigQuery library.
My specific need is to know « how to know » which version of Google Cloud Storage should I choose according to the 0.26.0 core version.
Is there some repositories where we can find packages grouped by google-cloud-core versions?
In my case the version 1.6 of google-cloud-storage works but I found it just by downgrade and try again method !
Best regards
What you can do as a workaround is create a virtual environment, install a specific library - like google-cloud-storage - and check the dependencies installed with that library version. I made a quick test and installed a few versions of google-cloud-storage. For version 1.3.0, the google-cloud-core 0.26.0 dependency was installed.
You can do so by following these steps:
virtualenv env-name
source env-name/bin/activate
pip freeze (to check there is nothing there)
pip install google-cloud-storage==1.3.0
pip freeze (again)
Once finished you’ll see google-cloud-core 0.26.0 was installed.

aapt missing MACOS Use the `android' tool to install the "Android SDK Platform-tools"

aapt missing MACOS Use the `android' tool to install the "Android SDK Platform-tools".
i have already use android download times.
but i can't find any usefully aapt file
only link to /usr/local/Cellar/android-sdk/r22.0.1/platform-tools/aapt
but under /usr/local/Cellar/android-sdk/r22.0.1/platform-tools/ only adb
the "aapt" tool was moved to the Build Tools folder. Run "android" and make sure you install the build tools (18.1 is currently the latest one).
also see this other post:
Android Maven Could not find tool 'aapt'
Run the android command and ensure that the SDK tools for your target platform are up to date. It is possible that you updated the SDK but not the build tools.
Hope that helps.
The android tools from brew expect version 17 of the SDK Build-tools to be installed.
I had a similar problem recently and found it to be an error with my HomeBrew setup. I think HomeBrew was expecting a particular version of the build tools that I didn't have.
I found that updating HomeBrew
brew update
gave me a new error which was much more informative:
It appears you do not have 'build-tools-19.0.3' installed.
Use the 'android' tool to install them:
android update sdk --no-ui --filter 'build-tools-19.0.3'
Unfortunately the filter in the suggested command didn't work but I found I could install it manually through the UI by running the android tool and selecting the version HomeBrew was expecting.
See https://stackoverflow.com/a/16585846/440362 for correct answer. The file's directory has changed from tools to build-tools/

Problems installing django-1.0.2 on Windows XP

I'm a Windows user. I tried to install django-1.0.2 final through the command prompt and it kept giving me an error in line 70:
The error occured where u"SVN"... It couldn't get past that line.
What to do in order to be able to install django-1.0.2?
You do not have SubVersion installed on your machine. You are trying to synchronize from the current production stream via SubVersion, which is a source control system, which you do not have installed.
Easiest solution - download the latest official version per the instructions at http://www.djangoproject.com/download/
Please install a client for the Subversion Version Control System. Since you are on Windows, you can also use TortoiseSVN which is an easy to use SVN client for Windows.
Alternately, you can download the tarball of Django 1.0.2 directly.
And please don't SHOUT on Internet forums. We hear you :)
If I recall correctly, installing TortoiseSVN won't help you there cause Django's code tries to use SVN's command line version.
Install a command-line SVN like:
Slik SVN
CollabNet SVN Command line
What version of python are you using? I had the same error when installing on top of python 3.2 instead of 2.7. Django only works with 2.7.
http://docs.djangoproject.com/en/1.2/faq/install/#can-i-use-django-with-python-3