Python is a programming language that is used in Linux-based systems. OpenCV is a collection of libraries that is used in software development. OpenCV with Python is installed to Linux-based operating systems such as Ubuntu. To install OpenCV along with Python, in Ubuntu use the Synaptic Package Manager application. Synaptic provides an easy-to-use installation interface, and the application will make sure that all dependencies are downloaded along with OpenCV and Python.
- Skill level:
- Moderately Easy
Click the "System" option on the top taskbar in the Ubuntu desktop.
Click the "Administration" link, and then click "Synaptic Package Manager." A password prompt appears. Authenticate by typing the "Administrator" password and clicking "OK." The Synaptic Package Manager opens.
Type "openCV" into the "Quick Search" box in the upper right corner of the top navigation bar in Synaptic. As you type, programs will list in the search results list.
Click on the "Python-OpenCV" entry and then click "Mark for Installation." A dialogue box will open with a list of dependency files and libraries that will be installed along with your selection. Click "OK."
Click on the "OpenCV-Doc" entry and then click "Mark for Installation."
Click the "Apply" button in the top navigation bar of Synaptic. The OpenCV libraries, along with the Python program, is installed to the system. A notification appears when the installation is complete.