Install Conan on Kubuntu 22.04 LTS

  • Post category:Conan / Tools

I recently decided to take a closer look at Conan, the C/C++Package Manager to enhance my dependency management.
This post briefly describes the steps to install Conan on Kubuntu 22.04 LTS based on the the official conan installation docs.

Install pip3

Using pip is the recommended way to install Conan. You can skip this step, if you already have pip3 installed.

sudo apt -y install python3-pip

Install Conan

pip3 install conan

Verify the installation

I got an error there, see below:

conan –version

I got an error, telling me that conan could not be found. I had to issue the command from “Known installation issue part” and it worked fine and was gone after rebooting:

source ~/.profile

After that you can check your installed version:

conan –version
Conan version 1.48.1

Now you are ready to use conan. See upcoming posts on how to use conan with CMake.

More references

Some great talks by Matheusz Pusz about Conan, CMake integration, git, etc.: