Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6616 Discussions

Building from source openvino on Ubuntu 24.4

DH55T5
Beginner
434 Views

I've been trying hard to have a fully installed Openvino Toolkit from source but everytime, something is missing. Im on Ubuntu 24.4, with a Intel CPU i7 and a old  IGPU so I tought it will be the best. Unfortunatly, after many many tries, I must say, I'm quite discourage. So my question is simple: Is anyone already made a full install (only green checks or minor warnings)
If yes : Is with CMAKE gui, ninja, VSCODE? please need help !

0 Kudos
6 Replies
Zulkifli_Intel
Moderator
422 Views

Hi DH55T5,

Thank you for reaching out.

 

I'm able to build OpenVINO from source with Ubuntu 24.04.

build result.png

 

Here are the steps:

 

#create virtual environment:

python3 -m venv ov_build_env

source ov_build_env/bin/activate

 

#install necessary packages:

sudo apt update && sudo apt upgrade -y

sudo apt install -y git cmake build-essential python3-pip python3-dev python3-venv

sudo apt install unzip fdupes

pip install packaging

pip install setuptools

 

Clone OpenVINO GitHub repo:

git clone https://github.com/openvinotoolkit/openvino.git

cd openvino/

git submodule update --init --recursive

chmod +x scripts/install_dependencies/install_openvino_dependencies.sh

sudo ./scripts/install_dependencies/install_openvino_dependencies.sh

 

#build:

mkdir build && cd build

cmake -DCMAKE_BUILD_TYPE=Release \

     -DENABLE_PYTHON=ON \

     -DENABLE_WHEEL=ON \

     -DENABLE_STRICT_COMPILATION=OFF \

     -DENABLE_SYSTEM_TBB=ON \

     -DENABLE_TESTS=OFF \

     -DENABLE_CPPLINT=OFF \

     -DENABLE_INTEL_NPU=OFF \

     ..

 

make -j$(nproc)

 

Let me know if you encounter any errors.

 

Regards,

Zulkifli A.

 

0 Kudos
DH55T5
Beginner
304 Views
thanks so much I saw few things I didnt know such as STRICT_COMPILATION amd the fdupes. I will try. thanks
0 Kudos
DH55T5
Beginner
304 Views
I actually forgot to specify from source including Genai and OpenVino Tokenizer checkout 2025.4.x
0 Kudos
Zulkifli_Intel
Moderator
309 Views

Hi DH55T5,


This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.



Regards,

Zulkifli A.


0 Kudos
DH55T5
Beginner
284 Views

I actually get stuck at 78% (after the intel_cpu_plugins wich is intel_gpu_plugins) I tried to find the linux repo that you have somewhere on your website so there is my new question: may I have the direct link please thanks. 

0 Kudos
Zulkifli_Intel
Moderator
133 Views

Hi DH55T5,

Can you share which Intel i7 processor you are using? And if you could also share the error log, that would be nice.

 


Regards,

Zulkifli A.


0 Kudos
Reply