How to Install and Uninstall python-opencv Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: December 23,2024
1. Install "python-opencv" package
This tutorial shows how to install python-opencv on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
python-opencv
Copied
2. Uninstall "python-opencv" package
Here is a brief guide to show you how to uninstall python-opencv on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
python-opencv
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-opencv package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: python-opencv
Architecture: amd64
Version: 3.2.0+dfsg-4ubuntu0.1
Priority: optional
Section: universe/python
Source: opencv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2875
Depends: libopencv-calib3d3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-features2d3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-flann3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-highgui3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-imgcodecs3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-imgproc3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-ml3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-objdetect3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-photo3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-shape3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-stitching3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-superres3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-video3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-videoio3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-videostab3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-viz3.2 (= 3.2.0+dfsg-4ubuntu0.1), python (<< 2.8), python (>= 2.7~), python-numpy (>= 1:1.13.1), python-numpy-abi9, python:any (<< 2.8), python:any (>= 2.7~), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libopencv-contrib3.2, libopencv-core3.2, libstdc++6 (>= 5.2)
Filename: pool/universe/o/opencv/python-opencv_3.2.0+dfsg-4ubuntu0.1_amd64.deb
Size: 534668
MD5sum: 8e0bf819372f52b27dad93a004102011
SHA1: cf2d14146ab452b88c9569067d661e629cf66433
SHA256: 1f7673428d02f34a87c8b83a1e3b3b1e51bb0586007fa9bd48ac7060a43f0931
SHA512: 93e70bdcb77a326502d2416cd25e5c004f46231d1404e4ba129b9e9d37df3ced0d127292f24bd8a2ce3a90f12d4113a5c7f970865baace7a12e518b356ae095f
Homepage: https://opencv.org
Description: Python bindings for the computer vision library
Description-md5: 882b87b0cdc3c3b619bfd32c682a4b0e
Package: python-opencv
Architecture: amd64
Version: 3.2.0+dfsg-4build2
Priority: optional
Section: universe/python
Source: opencv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2875
Depends: libopencv-calib3d3.2 (= 3.2.0+dfsg-4build2), libopencv-features2d3.2 (= 3.2.0+dfsg-4build2), libopencv-flann3.2 (= 3.2.0+dfsg-4build2), libopencv-highgui3.2 (= 3.2.0+dfsg-4build2), libopencv-imgcodecs3.2 (= 3.2.0+dfsg-4build2), libopencv-imgproc3.2 (= 3.2.0+dfsg-4build2), libopencv-ml3.2 (= 3.2.0+dfsg-4build2), libopencv-objdetect3.2 (= 3.2.0+dfsg-4build2), libopencv-photo3.2 (= 3.2.0+dfsg-4build2), libopencv-shape3.2 (= 3.2.0+dfsg-4build2), libopencv-stitching3.2 (= 3.2.0+dfsg-4build2), libopencv-superres3.2 (= 3.2.0+dfsg-4build2), libopencv-video3.2 (= 3.2.0+dfsg-4build2), libopencv-videoio3.2 (= 3.2.0+dfsg-4build2), libopencv-videostab3.2 (= 3.2.0+dfsg-4build2), libopencv-viz3.2 (= 3.2.0+dfsg-4build2), python (<< 2.8), python (>= 2.7~), python-numpy (>= 1:1.13.1), python-numpy-abi9, python:any (<< 2.8), python:any (>= 2.7~), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libopencv-contrib3.2, libopencv-core3.2, libstdc++6 (>= 5.2)
Filename: pool/universe/o/opencv/python-opencv_3.2.0+dfsg-4build2_amd64.deb
Size: 534300
MD5sum: d01527809a6fc622d22dd1d1bbe0ffa2
SHA1: 1bd13fbf300b94d69f6cb7291e9ded6287506e8d
SHA256: 8a9fd43c643913bf51e56de2cad3ad733889fc388a4a21ca2dd953b3acef7bd9
Homepage: https://opencv.org
Description: Python bindings for the computer vision library
Description-md5: 882b87b0cdc3c3b619bfd32c682a4b0e
Architecture: amd64
Version: 3.2.0+dfsg-4ubuntu0.1
Priority: optional
Section: universe/python
Source: opencv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2875
Depends: libopencv-calib3d3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-features2d3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-flann3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-highgui3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-imgcodecs3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-imgproc3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-ml3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-objdetect3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-photo3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-shape3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-stitching3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-superres3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-video3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-videoio3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-videostab3.2 (= 3.2.0+dfsg-4ubuntu0.1), libopencv-viz3.2 (= 3.2.0+dfsg-4ubuntu0.1), python (<< 2.8), python (>= 2.7~), python-numpy (>= 1:1.13.1), python-numpy-abi9, python:any (<< 2.8), python:any (>= 2.7~), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libopencv-contrib3.2, libopencv-core3.2, libstdc++6 (>= 5.2)
Filename: pool/universe/o/opencv/python-opencv_3.2.0+dfsg-4ubuntu0.1_amd64.deb
Size: 534668
MD5sum: 8e0bf819372f52b27dad93a004102011
SHA1: cf2d14146ab452b88c9569067d661e629cf66433
SHA256: 1f7673428d02f34a87c8b83a1e3b3b1e51bb0586007fa9bd48ac7060a43f0931
SHA512: 93e70bdcb77a326502d2416cd25e5c004f46231d1404e4ba129b9e9d37df3ced0d127292f24bd8a2ce3a90f12d4113a5c7f970865baace7a12e518b356ae095f
Homepage: https://opencv.org
Description: Python bindings for the computer vision library
Description-md5: 882b87b0cdc3c3b619bfd32c682a4b0e
Package: python-opencv
Architecture: amd64
Version: 3.2.0+dfsg-4build2
Priority: optional
Section: universe/python
Source: opencv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2875
Depends: libopencv-calib3d3.2 (= 3.2.0+dfsg-4build2), libopencv-features2d3.2 (= 3.2.0+dfsg-4build2), libopencv-flann3.2 (= 3.2.0+dfsg-4build2), libopencv-highgui3.2 (= 3.2.0+dfsg-4build2), libopencv-imgcodecs3.2 (= 3.2.0+dfsg-4build2), libopencv-imgproc3.2 (= 3.2.0+dfsg-4build2), libopencv-ml3.2 (= 3.2.0+dfsg-4build2), libopencv-objdetect3.2 (= 3.2.0+dfsg-4build2), libopencv-photo3.2 (= 3.2.0+dfsg-4build2), libopencv-shape3.2 (= 3.2.0+dfsg-4build2), libopencv-stitching3.2 (= 3.2.0+dfsg-4build2), libopencv-superres3.2 (= 3.2.0+dfsg-4build2), libopencv-video3.2 (= 3.2.0+dfsg-4build2), libopencv-videoio3.2 (= 3.2.0+dfsg-4build2), libopencv-videostab3.2 (= 3.2.0+dfsg-4build2), libopencv-viz3.2 (= 3.2.0+dfsg-4build2), python (<< 2.8), python (>= 2.7~), python-numpy (>= 1:1.13.1), python-numpy-abi9, python:any (<< 2.8), python:any (>= 2.7~), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libopencv-contrib3.2, libopencv-core3.2, libstdc++6 (>= 5.2)
Filename: pool/universe/o/opencv/python-opencv_3.2.0+dfsg-4build2_amd64.deb
Size: 534300
MD5sum: d01527809a6fc622d22dd1d1bbe0ffa2
SHA1: 1bd13fbf300b94d69f6cb7291e9ded6287506e8d
SHA256: 8a9fd43c643913bf51e56de2cad3ad733889fc388a4a21ca2dd953b3acef7bd9
Homepage: https://opencv.org
Description: Python bindings for the computer vision library
Description-md5: 882b87b0cdc3c3b619bfd32c682a4b0e