-------------------------------------------------------------------------------- 1) dpkg-query -l : Paquets présents avant la commande sudo apt-get install python3-opencv --------------------------------------------------------------------------------- ... ii python3 3.6.7-1~18.04 amd64 interactive high-level object-oriented language (default python3 version) ii python3-apport 2.20.9-0ubuntu7.20 all Python 3 library for Apport crash report handling ii python3-apt 1.6.5ubuntu0.3 amd64 Python 3 interface to libapt-pkg ii python3-aptdaemon 1.1.1+bzr982-0ubuntu19.4 all Python 3 module for the server and client of aptdaemon ii python3-aptdaemon.gtk3widgets 1.1.1+bzr982-0ubuntu19.4 all Python 3 GTK+ 3 widgets to run an aptdaemon client ii python3-asn1crypto 0.24.0-1 all Fast ASN.1 parser and serializer (Python 3) ii python3-brlapi 5.5-4ubuntu2.0.1 amd64 Braille display access via BRLTTY - Python3 bindings ii python3-cairo:amd64 1.16.2-1 amd64 Python3 bindings for the Cairo vector graphics library ii python3-certifi 2018.1.18-2 all root certificates for validating SSL certs and verifying TLS hosts (python3) ii python3-cffi-backend 1.11.5-1 amd64 Foreign Function Interface for Python 3 calling C code - runtime ii python3-chardet 3.0.4-1 all universal character encoding detector for Python3 ii python3-commandnotfound 18.04.5 all Python 3 bindings for command-not-found. ii python3-crypto 2.6.1-8ubuntu2 amd64 cryptographic algorithms and protocols for Python 3 ii python3-cryptography 2.1.4-1ubuntu1.4 amd64 Python library exposing cryptographic recipes and primitives (Python 3) ii python3-cups 1.9.73-2 amd64 Python3 bindings for CUPS ii python3-cupshelpers 1.5.11-1ubuntu2 all Python utility modules around the CUPS printing system ii python3-dateutil 2.6.1-1 all powerful extensions to the standard Python 3 datetime module ii python3-dbus 1.2.6-1 amd64 simple interprocess messaging system (Python 3 interface) ii python3-debconf 1.5.66ubuntu1 all interact with debconf from Python 3 ii python3-debian 0.1.32 all Python 3 modules to work with Debian-related data formats ii python3-defer 1.0.6-2build1 all Small framework for asynchronous programming (Python 3) ii python3-dev 3.6.7-1~18.04 amd64 header files and a static library for Python (default) ii python3-distro-info 0.18ubuntu0.18.04.1 all information about distributions' releases (Python 3 module) ii python3-distupgrade 1:18.04.40 all manage release upgrades ii python3-distutils 3.6.9-1~18.04 all distutils package for Python 3.x ii python3-gdbm:amd64 3.6.9-1~18.04 amd64 GNU dbm database support for Python 3.x ii python3-gi 3.26.1-2ubuntu1 amd64 Python 3 bindings for gobject-introspection libraries ii python3-gi-cairo 3.26.1-2ubuntu1 amd64 Python 3 Cairo bindings for the GObject library ii python3-httplib2 0.9.2+dfsg-1ubuntu0.2 all comprehensive HTTP client library written for Python3 ii python3-idna 2.6-1 all Python IDNA2008 (RFC 5891) handling (Python 3) ii python3-img2pdf 0.2.3-1 all Lossless conversion of raster images to PDF (library) ii python3-jedi 0.11.1-1 all autocompletion tool for Python 3 ii python3-keyring 10.6.0-1 all store and access your passwords safely - Python 3 version of the package ii python3-keyrings.alt 3.0-1 all alternate backend implementations for python3-keyring ii python3-launchpadlib 1.10.6-1 all Launchpad web services client library (Python 3) ii python3-lazr.restfulclient 0.13.5-1 all client for lazr.restful-based web services (Python 3) ii python3-lazr.uri 1.0.3-2build1 all library for parsing, manipulating, and generating URIs ii python3-lib2to3 3.6.9-1~18.04 all Interactive high-level object-oriented language (2to3, version 3.6) ii python3-louis 3.5.0-1ubuntu0.3 all Python bindings for liblouis ii python3-macaroonbakery 1.1.3-1 all Higher-level macaroon operations for Python 3 ii python3-mako 1.0.7+ds1-1 all fast and lightweight templating for the Python 3 platform ii python3-markupsafe 1.0-1build1 amd64 HTML/XHTML/XML string library for Python 3 ii python3-minimal 3.6.7-1~18.04 amd64 minimal subset of the Python language (default python3 version) ii python3-nacl 1.1.2-1build1 amd64 Python bindings to libsodium (Python 3) ii python3-netifaces 0.10.4-0.1build4 amd64 portable network interface information - Python 3.x ii python3-oauth 1.0.1-5 all Python 3 library implementing of the OAuth protocol ii python3-olefile 0.45.1-1 all Python module to read/write MS OLE2 files ii python3-parso 0.1.1-1 all Python parser that supports error recovery - Python 3.X ii python3-pexpect 4.2.1-1 all Python 3 module for automating interactive applications ii python3-pil:amd64 5.1.0-1ubuntu0.3 amd64 Python Imaging Library (Python3) ii python3-pil.imagetk:amd64 5.1.0-1ubuntu0.3 amd64 Python Imaging Library - ImageTk Module (Python3) ii python3-pip 9.0.1-2.3~ubuntu1.18.04.4 all Python package installer ii python3-pkg-resources 39.0.1-2 all Package Discovery and Resource Access using pkg_resources ii python3-problem-report 2.20.9-0ubuntu7.20 all Python 3 library to handle problem reports ii python3-protobuf 3.0.0-9.1ubuntu1 amd64 Python 3 bindings for protocol buffers ii python3-ptyprocess 0.5.2-1 all Run a subprocess in a pseudo terminal from Python 3 ii python3-pyatspi 2.26.0+dfsg-1 all Assistive Technology Service Provider Interface - Python3 bindings ii python3-pymacaroons 0.13.0-1 all Macaroon library for Python 3 ii python3-renderpm:amd64 3.4.0-3ubuntu0.1 amd64 python low level render interface ii python3-reportlab 3.4.0-3ubuntu0.1 all ReportLab library to create PDF documents using Python3 ii python3-reportlab-accel:amd64 3.4.0-3ubuntu0.1 amd64 C coded extension accelerator for the ReportLab Toolkit ii python3-requests 2.18.4-2ubuntu0.1 all elegant and simple HTTP library for Python3, built for human beings ii python3-requests-unixsocket 0.1.5-3 all Use requests to talk HTTP via a UNIX domain socket - Python 3.x ii python3-rfc3339 1.0-4 all parser and generator of RFC 3339-compliant timestamps (Python 3) ii python3-scour 0.36-2 all SVG scrubber and optimizer (Python 3 module) ii python3-secretstorage 2.3.1-2 all Python module for storing secrets - Python 3.x version ii python3-setuptools 39.0.1-2 all Python3 Distutils Enhancements ii python3-simplejson 3.13.2-1 amd64 simple, fast, extensible JSON encoder/decoder for Python 3.x ii python3-six 1.11.0-2 all Python 2 and 3 compatibility library (Python 3 interface) ii python3-software-properties 0.96.24.32.14 all manage the repositories that you install software from ii python3-speechd 0.8.8-1ubuntu1 all Python interface to Speech Dispatcher ii python3-systemd 234-1build1 amd64 Python 3 bindings for systemd ii python3-tk:amd64 3.6.9-1~18.04 amd64 Tkinter - Writing Tk applications with Python 3.x ii python3-tz 2018.3-2 all Python3 version of the Olson timezone database ii python3-uno 1:6.0.7-0ubuntu0.18.04.10 amd64 Python-UNO bridge ii python3-update-manager 1:18.04.11.13 all python 3.x module for update-manager ii python3-urllib3 1.22-1ubuntu0.18.04.2 all HTTP library with thread-safe connection pooling for Python3 ii python3-venv 3.6.7-1~18.04 amd64 pyvenv-3 binary for python3 (default python3 version) ii python3-wadllib 1.3.2-3ubuntu0.18.04.1 all Python 3 library for navigating WADL files ii python3-wheel 0.30.0-0.2 all built-package format for Python ii python3-xdg 0.25-4ubuntu1 all Python 3 library to access freedesktop.org standards ii python3-xkit 0.5.0ubuntu2 all library for the manipulation of xorg.conf files (Python 3) ii python3-yaml 3.12-1build2 amd64 YAML parser and emitter for Python3 ii python3-zope.interface 4.3.2-1build2 amd64 Interfaces for Python3 ii python3.6 3.6.9-1~18.04ubuntu1.3 amd64 Interactive high-level object-oriented language (version 3.6) ii python3.6-dev 3.6.9-1~18.04ubuntu1.3 amd64 Header files and a static library for Python (v3.6) ii python3.6-minimal 3.6.9-1~18.04ubuntu1.3 amd64 Minimal subset of the Python language (version 3.6) ii python3.6-venv 3.6.9-1~18.04ubuntu1.3 amd64 Interactive high-level object-oriented language (pyvenv binary, version 3.6) ... ---------------------------------------------------------------------------------------- 2) Commande sudo apt-get update ----------------------------------------------------------------------------------------- ubuntu@ubuntu-MS-7C08:~$ sudo apt-get update Atteint :1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease Atteint :2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease Atteint :3 http://security.ubuntu.com/ubuntu bionic-security InRelease Atteint :4 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease Lecture des listes de paquets... Fait ---------------------------------------------------------------------------------------- 3) Commande sudo apt-get install python3-opencv ----------------------------------------------------------------------------------------- ubuntu@ubuntu-MS-7C08:~$ sudo apt-get install python3-opencv Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets supplémentaires suivants seront installés : python3-numpy Paquets suggérés : gfortran python-numpy-doc python3-nose python3-numpy-dbg Les NOUVEAUX paquets suivants seront installés : python3-numpy python3-opencv 0 mis à jour, 2 nouvellement installés, 0 à enlever et 16 non mis à jour. Il est nécessaire de prendre 2 477 ko dans les archives. Après cette opération, 13,9 Mo d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] ^C ubuntu@ubuntu-MS-7C08:~$ sudo apt-get install python3-opencv Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets supplémentaires suivants seront installés : python3-numpy Paquets suggérés : gfortran python-numpy-doc python3-nose python3-numpy-dbg Les NOUVEAUX paquets suivants seront installés : python3-numpy python3-opencv 0 mis à jour, 2 nouvellement installés, 0 à enlever et 16 non mis à jour. Il est nécessaire de prendre 2 477 ko dans les archives. Après cette opération, 13,9 Mo d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] O Réception de :1 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 python3-numpy amd64 1:1.13.3-2ubuntu1 [1 943 kB] Réception de :2 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-opencv amd64 3.2.0+dfsg-4ubuntu0.1 [534 kB] 2 477 ko réceptionnés en 1s (1 881 ko/s) Sélection du paquet python3-numpy précédemment désélectionné. (Lecture de la base de données... 377061 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../python3-numpy_1%3a1.13.3-2ubuntu1_amd64.deb ... Dépaquetage de python3-numpy (1:1.13.3-2ubuntu1) ... Sélection du paquet python3-opencv précédemment désélectionné. Préparation du dépaquetage de .../python3-opencv_3.2.0+dfsg-4ubuntu0.1_amd64.deb ... Dépaquetage de python3-opencv (3.2.0+dfsg-4ubuntu0.1) ... Paramétrage de python3-numpy (1:1.13.3-2ubuntu1) ... Paramétrage de python3-opencv (3.2.0+dfsg-4ubuntu0.1) ... Traitement des actions différées (« triggers ») pour man-db (2.8.3-2ubuntu0.1) ... ubuntu@ubuntu-MS-7C08:~$ ----------------------------------------------------------------------------------------- 4) dpkg-query-l : Paquets présents après la commande sudo apt-get install python3-opencv ----------------------------------------------------------------------------------------- ii python3 3.6.7-1~18.04 amd64 interactive high-level object-oriented language (default python3 version) ii python3-apport 2.20.9-0ubuntu7.20 all Python 3 library for Apport crash report handling ii python3-apt 1.6.5ubuntu0.3 amd64 Python 3 interface to libapt-pkg ii python3-aptdaemon 1.1.1+bzr982-0ubuntu19.4 all Python 3 module for the server and client of aptdaemon ii python3-aptdaemon.gtk3widgets 1.1.1+bzr982-0ubuntu19.4 all Python 3 GTK+ 3 widgets to run an aptdaemon client ii python3-asn1crypto 0.24.0-1 all Fast ASN.1 parser and serializer (Python 3) ii python3-brlapi 5.5-4ubuntu2.0.1 amd64 Braille display access via BRLTTY - Python3 bindings ii python3-cairo:amd64 1.16.2-1 amd64 Python3 bindings for the Cairo vector graphics library ii python3-certifi 2018.1.18-2 all root certificates for validating SSL certs and verifying TLS hosts (python3) ii python3-cffi-backend 1.11.5-1 amd64 Foreign Function Interface for Python 3 calling C code - runtime ii python3-chardet 3.0.4-1 all universal character encoding detector for Python3 ii python3-commandnotfound 18.04.5 all Python 3 bindings for command-not-found. ii python3-crypto 2.6.1-8ubuntu2 amd64 cryptographic algorithms and protocols for Python 3 ii python3-cryptography 2.1.4-1ubuntu1.4 amd64 Python library exposing cryptographic recipes and primitives (Python 3) ii python3-cups 1.9.73-2 amd64 Python3 bindings for CUPS ii python3-cupshelpers 1.5.11-1ubuntu2 all Python utility modules around the CUPS printing system ii python3-dateutil 2.6.1-1 all powerful extensions to the standard Python 3 datetime module ii python3-dbus 1.2.6-1 amd64 simple interprocess messaging system (Python 3 interface) ii python3-debconf 1.5.66ubuntu1 all interact with debconf from Python 3 ii python3-debian 0.1.32 all Python 3 modules to work with Debian-related data formats ii python3-defer 1.0.6-2build1 all Small framework for asynchronous programming (Python 3) ii python3-dev 3.6.7-1~18.04 amd64 header files and a static library for Python (default) ii python3-distro-info 0.18ubuntu0.18.04.1 all information about distributions' releases (Python 3 module) ii python3-distupgrade 1:18.04.40 all manage release upgrades ii python3-distutils 3.6.9-1~18.04 all distutils package for Python 3.x ii python3-gdbm:amd64 3.6.9-1~18.04 amd64 GNU dbm database support for Python 3.x ii python3-gi 3.26.1-2ubuntu1 amd64 Python 3 bindings for gobject-introspection libraries ii python3-gi-cairo 3.26.1-2ubuntu1 amd64 Python 3 Cairo bindings for the GObject library ii python3-httplib2 0.9.2+dfsg-1ubuntu0.2 all comprehensive HTTP client library written for Python3 ii python3-idna 2.6-1 all Python IDNA2008 (RFC 5891) handling (Python 3) ii python3-img2pdf 0.2.3-1 all Lossless conversion of raster images to PDF (library) ii python3-jedi 0.11.1-1 all autocompletion tool for Python 3 ii python3-keyring 10.6.0-1 all store and access your passwords safely - Python 3 version of the package ii python3-keyrings.alt 3.0-1 all alternate backend implementations for python3-keyring ii python3-launchpadlib 1.10.6-1 all Launchpad web services client library (Python 3) ii python3-lazr.restfulclient 0.13.5-1 all client for lazr.restful-based web services (Python 3) ii python3-lazr.uri 1.0.3-2build1 all library for parsing, manipulating, and generating URIs ii python3-lib2to3 3.6.9-1~18.04 all Interactive high-level object-oriented language (2to3, version 3.6) ii python3-louis 3.5.0-1ubuntu0.3 all Python bindings for liblouis ii python3-macaroonbakery 1.1.3-1 all Higher-level macaroon operations for Python 3 ii python3-mako 1.0.7+ds1-1 all fast and lightweight templating for the Python 3 platform ii python3-markupsafe 1.0-1build1 amd64 HTML/XHTML/XML string library for Python 3 ii python3-minimal 3.6.7-1~18.04 amd64 minimal subset of the Python language (default python3 version) ii python3-nacl 1.1.2-1build1 amd64 Python bindings to libsodium (Python 3) ii python3-netifaces 0.10.4-0.1build4 amd64 portable network interface information - Python 3.x ii python3-numpy 1:1.13.3-2ubuntu1 amd64 Fast array facility to the Python 3 language ii python3-oauth 1.0.1-5 all Python 3 library implementing of the OAuth protocol ii python3-olefile 0.45.1-1 all Python module to read/write MS OLE2 files ii python3-opencv 3.2.0+dfsg-4ubuntu0.1 amd64 Python 3 bindings for the computer vision library ii python3-parso 0.1.1-1 all Python parser that supports error recovery - Python 3.X ii python3-pexpect 4.2.1-1 all Python 3 module for automating interactive applications ii python3-pil:amd64 5.1.0-1ubuntu0.3 amd64 Python Imaging Library (Python3) ii python3-pil.imagetk:amd64 5.1.0-1ubuntu0.3 amd64 Python Imaging Library - ImageTk Module (Python3) ii python3-pip 9.0.1-2.3~ubuntu1.18.04.4 all Python package installer ii python3-pkg-resources 39.0.1-2 all Package Discovery and Resource Access using pkg_resources ii python3-problem-report 2.20.9-0ubuntu7.20 all Python 3 library to handle problem reports ii python3-protobuf 3.0.0-9.1ubuntu1 amd64 Python 3 bindings for protocol buffers ii python3-ptyprocess 0.5.2-1 all Run a subprocess in a pseudo terminal from Python 3 ii python3-pyatspi 2.26.0+dfsg-1 all Assistive Technology Service Provider Interface - Python3 bindings ii python3-pymacaroons 0.13.0-1 all Macaroon library for Python 3 ii python3-renderpm:amd64 3.4.0-3ubuntu0.1 amd64 python low level render interface ii python3-reportlab 3.4.0-3ubuntu0.1 all ReportLab library to create PDF documents using Python3 ii python3-reportlab-accel:amd64 3.4.0-3ubuntu0.1 amd64 C coded extension accelerator for the ReportLab Toolkit ii python3-requests 2.18.4-2ubuntu0.1 all elegant and simple HTTP library for Python3, built for human beings ii python3-requests-unixsocket 0.1.5-3 all Use requests to talk HTTP via a UNIX domain socket - Python 3.x ii python3-rfc3339 1.0-4 all parser and generator of RFC 3339-compliant timestamps (Python 3) ii python3-scour 0.36-2 all SVG scrubber and optimizer (Python 3 module) ii python3-secretstorage 2.3.1-2 all Python module for storing secrets - Python 3.x version ii python3-setuptools 39.0.1-2 all Python3 Distutils Enhancements ii python3-simplejson 3.13.2-1 amd64 simple, fast, extensible JSON encoder/decoder for Python 3.x ii python3-six 1.11.0-2 all Python 2 and 3 compatibility library (Python 3 interface) ii python3-software-properties 0.96.24.32.14 all manage the repositories that you install software from ii python3-speechd 0.8.8-1ubuntu1 all Python interface to Speech Dispatcher ii python3-systemd 234-1build1 amd64 Python 3 bindings for systemd ii python3-tk:amd64 3.6.9-1~18.04 amd64 Tkinter - Writing Tk applications with Python 3.x ii python3-tz 2018.3-2 all Python3 version of the Olson timezone database ii python3-uno 1:6.0.7-0ubuntu0.18.04.10 amd64 Python-UNO bridge ii python3-update-manager 1:18.04.11.13 all python 3.x module for update-manager ii python3-urllib3 1.22-1ubuntu0.18.04.2 all HTTP library with thread-safe connection pooling for Python3 ii python3-venv 3.6.7-1~18.04 amd64 pyvenv-3 binary for python3 (default python3 version) ii python3-wadllib 1.3.2-3ubuntu0.18.04.1 all Python 3 library for navigating WADL files ii python3-wheel 0.30.0-0.2 all built-package format for Python ii python3-xdg 0.25-4ubuntu1 all Python 3 library to access freedesktop.org standards ii python3-xkit 0.5.0ubuntu2 all library for the manipulation of xorg.conf files (Python 3) ii python3-yaml 3.12-1build2 amd64 YAML parser and emitter for Python3 ii python3-zope.interface 4.3.2-1build2 amd64 Interfaces for Python3 ii python3.6 3.6.9-1~18.04ubuntu1.3 amd64 Interactive high-level object-oriented language (version 3.6) ii python3.6-dev 3.6.9-1~18.04ubuntu1.3 amd64 Header files and a static library for Python (v3.6) ii python3.6-minimal 3.6.9-1~18.04ubuntu1.3 amd64 Minimal subset of the Python language (version 3.6) ii python3.6-venv 3.6.9-1~18.04ubuntu1.3 amd64 Interactive high-level object-oriented language (pyvenv binary, version 3.6)