CEP's Blog -by Kage Park: Computer/Linux 카테고리 글 목록
http://kaget.cep.kr/blog/
2022-08-13T17:28:03+09:00
Textcube 1.10.7 : Tempo primo
Upgrade from CentOS 8.3 to Rocky 8.6
Kage Park
http://kaget.cep.kr/blog/316
2022-07-06T02:09:59+09:00
2022-06-16T02:14:44+09:00
Backup your important data<br /><br />Clone rocky-tools<br /># git clone https://github.com/rocky-linux/rocky-tools.git<br /><br /># cd rocky-tools/migrate2rocky<br />Run rocky-tool<br /># chmod +x migrate2rocky.sh<br /># ./migrate2rocky.sh -r<br />...<br /><br />Reboot the system<br /># reboot <br /><br />Select Rocky Linux kernel.<br />(Boot prompt show all existing kernel and rocky kernel)<p><strong><a href="http://kaget.cep.kr/blog/316?commentInput=true#entry316WriteComment">댓글 쓰기</a></strong></p>
Problem: package centos-stream-release-8.6-1.el8.noarch requires centos-stream-repos, but none of the providers can be installed
Kage Park
http://kaget.cep.kr/blog/315
2022-06-15T11:11:14+09:00
2022-06-15T11:11:07+09:00
<div># yum update</div>
<div>Last metadata expiration check: 0:06:06 ago on Tue 14 Jun 2022 06:27:04 PM PDT.</div>
<div>Module yaml error: Unexpected key in data: static_context [line 9 col 3]</div>
<div>Module yaml error: Unexpected key in data: static_context [line 9 col 3]</div>
<div>Error: </div>
<div> Problem: package centos-stream-release-8.6-1.el8.noarch requires centos-stream-repos, but none of the providers can be installed</div>
<div> - package centos-linux-repos-8-2.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-2.el8.noarch</div>
<div> - package centos-stream-repos-8-2.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-2.el8.noarch</div>
<div> - package centos-linux-repos-8-2.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-3.el8.noarch</div>
<div> - package centos-stream-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-2.el8.noarch</div>
<div> - package centos-linux-repos-8-2.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-4.el8.noarch</div>
<div> - package centos-stream-repos-8-4.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-2.el8.noarch</div>
<div> - package centos-linux-repos-8-2.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-6.el8.noarch</div>
<div> - package centos-stream-repos-8-6.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-2.el8.noarch</div>
<div> - cannot install the best update candidate for package centos-linux-release-8.3-1.2011.el8.noarch</div>
<div> - problem with installed package centos-linux-repos-8-2.el8.noarch</div>
<div>(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)</div>
<div><br /><br /><br />But can not remove centos-linux-repos-8-2.el8.noarch .<br />
<div># yum erase --skip-broken --nobest centos-linux-repos-8-2.el8.noarch </div>
<div>Error: </div>
<div> Problem: The operation would result in removing the following protected packages: setup</div>
<div><br />This time you can upgrade repo then automatically remove that repo.<br /># dnf swap centos-{linux,stream}-repos<br />
<div>Dependencies resolved.</div>
<div>======================================================================================================================================================================================================================================</div>
<div> Package Architecture Version Repository Size</div>
<div>======================================================================================================================================================================================================================================</div>
<div>Installing:</div>
<div> centos-stream-release noarch 8.6-1.el8 Stream-BaseOS 22 k</div>
<div> replacing centos-linux-release.noarch 8.3-1.2011.el8</div>
<div> replacing centos-release-stream.x86_64 8.1-1.1911.0.7.el8</div>
<div> centos-stream-repos noarch 8-6.el8 Stream-BaseOS 20 k</div>
<div>Upgrading:</div>
<div> centos-gpg-keys noarch 1:8-6.el8 Stream-BaseOS 14 k</div>
<div>Removing:</div>
<div> centos-linux-repos noarch 8-2.el8 @BaseOS 26 k</div>
<div></div>
<div>Transaction Summary</div>
<div>======================================================================================================================================================================================================================================</div>
<div>Install 2 Packages</div>
<div>Upgrade 1 Package</div>
<div>Remove 1 Package</div>
<div></div>
<div>Total download size: 57 k</div>
<div>Is this ok [y/N]: y</div>
<div>Downloading Packages:</div>
<div>(1/3): centos-stream-release-8.6-1.el8.noarch.rpm 118 kB/s | 22 kB 00:00 </div>
<div>(2/3): centos-stream-repos-8-6.el8.noarch.rpm 105 kB/s | 20 kB 00:00 </div>
<div>(3/3): centos-gpg-keys-8-6.el8.noarch.rpm 75 kB/s | 14 kB 00:00 </div>
<div>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div>
<div>Total 96 kB/s | 57 kB 00:00 <br /><br />and everything OK.</div>
</div>
</div>
<div></div><p><strong><a href="http://kaget.cep.kr/blog/315?commentInput=true#entry315WriteComment">댓글 쓰기</a></strong></p>
Change Disk Partition of CentOS7 on Raspberry PI 3B+
Kage Park
http://kaget.cep.kr/blog/313
2021-01-06T10:17:27+09:00
2021-01-06T10:15:36+09:00
Install CentOS 7 <br /><br />Download Raspberry PI OS from <br />http://mirror.keystealth.org/centos-altarch/7.9.2009/isos/armhfp/CentOS-Userland-7-armv7hl-RaspberryPI-GNOME-2009-sda.raw.xz<br /><br />Download Raspberry PI Imager from https://www.raspberrypi.org/blog/raspberry-pi-imager-imaging-utility/<br /><br />Select "<span style="font-size: 15.008px;">CentOS-Userland-7-armv7hl-RaspberryPI-GNOME-2009-sda.raw.xz" file at Operating System button. ( "Use custom" at the bottom )<br /><br /></span>Insert SD Card at the USB reader then you can see the SD card at the "SD Card"<br /><br />Click "Write" button.<br /><br />This CentOS7 os defined 3.5GB filesystem at the SD Card. (partition 3 : / (3G) , 2: swap(500M), 1:/boot)<br />So, you can modify the filesystem as fit your own SD Card.<br /><br />Insert your SD Card on your linux machine<br /><br />If your SD Card device is /dev/sdb then.....<br />Make a extra partition at the free space<br /># fdisk /dev/sdb<br />n<br />9406464<br />wq<br /><br />Format the new device (/dev/sdb4)<br /># mkfs.ext4 /dev/sdb4<br /><br />Mount partitions<br /># mkdir /mnt/boot<br /># mkdir /mnt/root<br /># mkdir /mnt/new_root<br /># mount /dev/sdb1 /mnt/boot<br /># mount /dev/sdb3 /mnt/root<br /># mount /dev/sdb4 /mnt/new_root<br /><br />Copy whole filesystems to new partition<br /># cd /mnt/root<br /># rsync -a --progress . /mnt/new_root<br /><br />Modify the root device definition at the kernel parameter<br /># vi /mnt/boot/cmdline.txt<br />-----------------------------------------------------<br />console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline rootwait<br />---------------Change to below-------------------<br />console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p4 rootfstype=ext4 elevator=deadline rootwait<br />------------------------------------------------------<br /><br />Modify the root partition at the fstab<br /># vi /mnt/new_root/etc/fstab<br /><span style="font-size: 15.008px;">-----------------------------------------------------</span><br /><span style="font-size: 15.008px;">UUID=125a472a-16a7-4c65-af22-ca19632sc8fa</span><span style="font-size: 15.008px;"> / ext4 defaults,noatime 0 0</span>
<div style="font-size: 15.008px;">UUID=F10D-3C64 /boot vfat defaults,noatime 0 0</div>
<div style="font-size: 15.008px;">UUID=2fd27705-271d-4059-ae11-247ac8f2efde swap swap defaults,noatime 0 0</div>
<span style="font-size: 15.008px;">---------------Change to below-------------------</span><br />
<div>/dev/mmcblk0p4 / ext4 defaults,noatime 0 0</div>
<div>UUID=F10D-3C64 /boot vfat defaults,noatime 0 0</div>
<div>UUID=2fd27705-271d-4059-ae11-247ac8f2efde swap swap defaults,noatime 0 0<br /><span style="font-size: 15.008px;">-----------------------------------------------------<br /><br />Disable selinux<br /># vi /mnt/new_root/etc/selinux/config<br />Change from enforcing to disabled<br /><br />Unmount <br /># umount /mnt/boot /mnt/new_root /mnt/root<br /><br />Insert the SD Card to Raspberry PI.<br /><br />You can now use the big root filesystem on your SD Card.<br /><br />If you want increase the swap partition then change the old root partition to swap partition<br /><br /></span><span style="font-size: 15.008px;">Make a swap partition at the old root device</span><br /><span style="font-size: 15.008px;">$ sudo fdisk /dev/mmcblk0</span><br /><span style="font-size: 15.008px;">t </span><br /><span style="font-size: 15.008px;">3</span><br /><span style="font-size: 15.008px;">82</span><br /><span style="font-size: 15.008px;">wq</span><br /><span style="font-size: 15.008px;">$ sudo mkswap /dev/mmcblk0p3<br /></span><br />Add a line at the /etc/fstab file with UUID information<br />$ sudo vi /etc/fstab<br />UUID=1251472a-16a7-4c25-af22-ca1964ac8fd0 swap swap defaults,noatime 0 0<br /><br />$ sudo swapon <span style="font-size: 15.008px;">/dev/mmcblk0p3</span><br /><br /><span style="font-size: 15.008px;">Now you can use big swap and big filesystem.</span><br />
<div>$ df -h</div>
<div>Filesystem Size Used Avail Use% Mounted on</div>
<div>/dev/root 113G 3.2G 104G 3% /</div>
<div>devtmpfs 430M 0 430M 0% /dev</div>
<div>tmpfs 463M 0 463M 0% /dev/shm</div>
<div>tmpfs 463M 13M 451M 3% /run</div>
<div>tmpfs 463M 0 463M 0% /sys/fs/cgroup</div>
<div>/dev/mmcblk0p1 286M 55M 231M 20% /boot</div>
<div>tmpfs 93M 12K 93M 1% /run/user/42</div>
<div>tmpfs 93M 0 93M 0% /run/user/1000</div>
<div>tmpfs 93M 0 93M 0% /run/user/1001<br /><br />
<div>$ cat /proc/swaps</div>
<div>Filename Type Size Used Priority</div>
<div>/dev/mmcblk0p2 partition 499708 4352 -2</div>
<div>/dev/mmcblk0p3 partition 3906556 0 -3<br /><br />I tested many OS. but mine case, CentOS 7 is better than others.</div>
</div>
</div><p><strong><a href="http://kaget.cep.kr/blog/313?commentInput=true#entry313WriteComment">댓글 쓰기</a></strong></p>
[Trick] shellinabox with Google Two-factor Auth.
Kage Park
http://kaget.cep.kr/blog/312
2020-12-11T03:53:49+09:00
2020-12-11T03:53:46+09:00
Already installed shellinabox and setup Google authenticator for your account.<br /><br />Setup virtual network interface on your system.<br />(for example: tun0, kvm network)<br />(example ip : 10.0.0.2)<br /><br />setup google authenticator access list file.<br /># vi /etc/security/access-local.conf<br />
<div>------------------------------------------------------------</div>
<div>+ : ALL : xxx.xxx.xxx.0/24 # your inside network</div>
<div>+ : ALL : LOCAL # Local host </div>
<div>- : ALL : ALL # all other's IP need google Auth.<br /><span style="font-size: 15.008px;">------------------------------------------------------------<br /><br /></span>Add above rule at the pam file.<br /># vi /etc/pam.d/sshd<br />------------------------------------------------------------<br />
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 12px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.30769; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px; vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; background-color: var(--highlight-bg); border-radius: 5px; overflow-wrap: normal; color: var(--highlight-color);"><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; vertical-align: baseline; box-sizing: inherit; background-color: transparent; white-space: inherit; color: var(--black-800); border-radius: 0px;">auth [success=1 default=ignore] pam_access.so accessfile=/etc/security/access-local.conf
auth required pam_google_authenticator.so
</code></pre>
<div><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; vertical-align: baseline; box-sizing: inherit; background-color: transparent; white-space: inherit; color: var(--black-800); border-radius: 0px;"><span style="font-family: 'Helvetica Neue', Helvetica, Verdana, NanumBarunGothic, 나눔바른고딕, 'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', AppleGothic, Dotum, 돋움, sans-serif; font-size: 15.008px;">------------------------------------------------------------<br /><br />Change shellinabox configuration using SSH at OPTS (virtual device ip: 10.0.0.2)<br /># vi /etc/sysconfig/shellinaboxd<br />-------------------------------------------------------------<br />OPTS="-s /:SSH:10.0.0.2"<br /></span><span style="font-family: 'Helvetica Neue', Helvetica, Verdana, NanumBarunGothic, 나눔바른고딕, 'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', AppleGothic, Dotum, 돋움, sans-serif; font-size: 15.008px;">-------------------------------------------------------------</span><span style="font-family: 'Helvetica Neue', Helvetica, Verdana, NanumBarunGothic, 나눔바른고딕, 'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', AppleGothic, Dotum, 돋움, sans-serif; font-size: 15.008px;"><br /></span><br /><br />restart daemon<br /># systemctl restart shellinaboxd<br /><br />if you login with web then you can see asking google Auth. before password.</code></div>
</div><p><strong><a href="http://kaget.cep.kr/blog/312?commentInput=true#entry312WriteComment">댓글 쓰기</a></strong></p>
Install OpenCV on CentOS 7 & 8
Kage Park
http://kaget.cep.kr/blog/308
2021-01-09T02:24:43+09:00
2020-09-07T03:08:08+09:00
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## <OpenCL_INCLUDE_DIR-NOTFOUND/CL/cl.h> => OpenCL_INCLUDE_DIR-NOTFOUND/CL/cl.h: No such file or directory</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">If fixing videoio.h, png.h and FFMPEG then it will be fixed</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## videoio.h DBG (videodev2.h comes from kernel-headers)</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ cd /usr/include/sys/</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo ln -s /usr/include/linux/videodev2.h videoio.h</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## make sure the OPENCV_EXTRA_MODULES_PATH correct path for cl.h</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>-D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv_build/opencv_contrib/modules \</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## png.h DBG</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"># rpm -ql libpng-devel | grep png.h</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">/usr/include/libpng16/png.h</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">/usr/include/png.h</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"># mkdir /usr/include/libpng</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"># cd /usr/include/libpng</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"># ln -s ../png*.h .</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## videoio.h DBG</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ yum whatprovides videoio.h</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ yum whatprovides avformat.h</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## FFMPEG Issue</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## CentOS 7 Install from Source)</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo yum install epel-release</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo yum install ffmpeg ffmpeg-devel</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##CentOS8 (RPM Download if you want rpm)</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"># https://pkgs.dyn.su/el8/multimedia/x86_64/ffmpeg-4.2.2-2.el8.x86_64.rpm</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"># https://pkgs.dyn.su/el8/multimedia/x86_64/ffmpeg-libs-4.2.2-2.el8.x86_64.rpm</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"># https://pkgs.dyn.su/el8/multimedia/x86_64/ffmpeg-devel-4.2.2-2.el8.x86_64.rpm</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"># https://pkgs.dyn.su/el8/multimedia/SRPMS/ffmpeg-4.2.2-2.el8.src.rpm<span class="Apple-converted-space"> </span></span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##or CentOS8 (Install)</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## FFMPEG Requirements on CentOS8</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo yum install --enablerepo=PowerTools SDL2 SDL2-devel</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## Install FFMPEG</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo yum install --enablerepo=raven-multimedia https://pkgs.dyn.su/el8/base/x86_64/raven-release-1.0-1.el8.noarch.rpm</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"># install --enablerepo=raven-multimedia ffmpeg-devel ffmpeg</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## or Install from source</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ cd ffmpeg</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ ./configure</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## or</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ ./configure --disable-x86asm<span class="Apple-converted-space"> </span># Disable nasm dependency</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ make</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo make install</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## Base requirements</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## CentOS 7</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo yum install cmake cmake3 gcc gcc-c++ qt5-qtbase-devel libpng-devel gtk2-devel jasper-devel openxr-devel libwebp-devel libjpeg-turbo-devel libtiff-devel tbb-devel libv41-devel eigen3-devel freeglut-devel mesa-libGL mesa-libGL-devel boost boost-thread boost-devel gstreamer1-plugins-base libpng-devel libjpeg-turbo-devel jasper-devel openexr-devel libtiff-devel libwebp-devel python-devel python2-numpy numpy python34-numpy libdc1394-devel</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## CentOS8</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo yum install cmake cmake3 gcc gcc-c++ qt5-qtbase-devel libpng-devel gtk2-devel libwebp-devel libjpeg-turbo-devel libtiff-devel tbb-devel freeglut-devel mesa-libGL mesa-libGL-devel boost boost-thread boost-devel gstreamer1-plugins-base libpng-devel libjpeg-turbo-devel libtiff-devel libwebp-devel python2-numpy</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">## Install OpenCV</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">##################################</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ cd /tmp<br />$ mkdir opencv_build</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ cd opencv_build</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ git clone https://github.com/opencv/opencv.git</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ git clone https://github.com/opencv/opencv_contrib.git</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ mkdir build</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ cd build</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ cmake3 -D CMAKE_BUILD_TYPE=RELEASE \</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>-D CMAKE_INSTALL_PREFIX=/usr/local \</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>-D INSTALL_C_EXAMPLES=ON \</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>-D INSTALL_PYTHON_EXAMPLES=ON \</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>-D OPENCV_GENERATE_PKGCONFIG=ON \</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>-D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv_build/opencv_contrib/modules \</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>-D BUILD_OPENCV_PYTHON2=ON \</span></p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>-D BUILD_EXAMPLES=ON ..</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ make -j8</span></p>
<p class="p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85); min-height: 21px;"> </p>
<p class="p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Monaco; color: #a1a0a1; background-color: rgba(0, 0, 0, 0.85);"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">$ sudo make install</span></p><p><strong><a href="http://kaget.cep.kr/blog/308?commentInput=true#entry308WriteComment">댓글 쓰기</a></strong></p>