# How to install OpenCV by downloading the latest version from Github?

**URL:** <https://forum.opencv.org/t/how-to-install-opencv-by-downloading-the-latest-version-from-github/6091>\
**Category:** Uncategorized\
**Tags:** build\
**Created:** [November 8, 2021, 5:41am UTC](https://forum.opencv.org/t/how-to-install-opencv-by-downloading-the-latest-version-from-github/6091 "2021-11-08T05:41:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![greentong67](https://avatars.discourse-cdn.com/v4/letter/g/7c8e57/32.png) [@greentong67](https://forum.opencv.org/u/greentong67)\
**Post date:** [November 8, 2021, 5:41am UTC](https://forum.opencv.org/t/how-to-install-opencv-by-downloading-the-latest-version-from-github/6091/1 "2021-11-08T05:41:30Z")

</div>

I don’t find any guildline for installation, can anybody help me?

---

<div class="post-metadata">

**Author:** ![kbarni](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/kbarni/32/26_2.png) [@kbarni](https://forum.opencv.org/u/kbarni)\
**Post date:** [November 8, 2021, 11:25am UTC](https://forum.opencv.org/t/how-to-install-opencv-by-downloading-the-latest-version-from-github/6091/2 "2021-11-08T11:25:21Z")

</div>

You must have **NOT** searched very hard to not to find any tutorial.

Did you try to google “build opencv”?

---

<div class="post-metadata">

**Author:** ![greentong67](https://avatars.discourse-cdn.com/v4/letter/g/7c8e57/32.png) [@greentong67](https://forum.opencv.org/u/greentong67)\
**Post date:** [November 8, 2021, 11:52am UTC](https://forum.opencv.org/t/how-to-install-opencv-by-downloading-the-latest-version-from-github/6091/3 "2021-11-08T11:52:59Z")

</div>

Thanks for your reply. Unfortunately, I can’t open google since Chinese goverment closed the channel to open google from inner China.  
Can anybody help me find the document and send me by a document of the installation guideline?

---

<div class="post-metadata">

**Author:** ![kbarni](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/kbarni/32/26_2.png) [@kbarni](https://forum.opencv.org/u/kbarni)\
**Post date:** [November 8, 2021, 4:51pm UTC](https://forum.opencv.org/t/how-to-install-opencv-by-downloading-the-latest-version-from-github/6091/4 "2021-11-08T16:51:26Z")

</div>

Okay, you can use any other search engine. I’m pretty sure Beidu or the search engine of your choice will find something for those keywords.  
Here’s a tutorial anyway: [opencv Tutorial =\> Build and install OpenCV from source](https://riptutorial.com/opencv/example/15781/build-and-install-opencv-from-source) or [OpenCV: Installation in Linux](https://docs.opencv.org/4.5.3/d7/d9f/tutorial_linux_install.html)  
My suggestion (compared to the tutorial) is to use `cmake-gui` instead of `cmake` so you can set more parameters. Here’s a reference for those options: [OpenCV: OpenCV configuration options reference](https://docs.opencv.org/4.5.3/db/d05/tutorial_config_reference.html) . I suggest to use `WITH_QT` for a better interface.

---

<div class="post-metadata">

**Author:** ![greentong67](https://avatars.discourse-cdn.com/v4/letter/g/7c8e57/32.png) [@greentong67](https://forum.opencv.org/u/greentong67)\
**Post date:** [November 9, 2021, 1:41am UTC](https://forum.opencv.org/t/how-to-install-opencv-by-downloading-the-latest-version-from-github/6091/5 "2021-11-09T01:41:14Z")

</div>

Thank you so much for your kind help.  
I am trying to install opencv on windows 10 and alone with Visual Studio 2019.  
my problem is that I didn’t find any instruction for such installation.

---

<div class="post-metadata">

**Author:** ![greentong67](https://avatars.discourse-cdn.com/v4/letter/g/7c8e57/32.png) [@greentong67](https://forum.opencv.org/u/greentong67)\
**Post date:** [November 9, 2021, 3:32am UTC](https://forum.opencv.org/t/how-to-install-opencv-by-downloading-the-latest-version-from-github/6091/6 "2021-11-09T03:32:35Z")

</div>

I did fix all the problems by now.  
Found instruction from Baidu.  
One suggestion is to update the installation guide in tutorial so that new comers could easily get environment ready for learn and work with OpenCv.  
Thank you again for your kind help again.!!!
