# How to install OpenCV on Ubuntu 22.04 for C++

**URL:** https://forum.opencv.org/t/how-to-install-opencv-on-ubuntu-22-04-for-c/17189
**Category:** C++
**Tags:** build
**Created:** [April 7, 2024, 1:16pm UTC](https://forum.opencv.org/t/how-to-install-opencv-on-ubuntu-22-04-for-c/17189 "2024-04-07T13:16:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Ioannis\_D](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/ioannis_d/32/10144_2.png) [@Ioannis\_D](https://forum.opencv.org/u/Ioannis_D)
#### Post date: [April 7, 2024, 1:16pm UTC](https://forum.opencv.org/t/how-to-install-opencv-on-ubuntu-22-04-for-c/17189/1 "2024-04-07T13:16:08Z")

</div>

Hello everyone,

I have not major experience with C++.  
However, I have tried every demo under the sun to install OpenCV on my device for C++ (on VS code).  
Can someone please help me cause nothing has worked so far.

Thank you in advacen
