How to Install and Uninstall python-pyodbc Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: December 24,2024
1. Install "python-pyodbc" package
Please follow the step by step instructions below to install python-pyodbc on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
python-pyodbc
Copied
2. Uninstall "python-pyodbc" package
This guide let you learn how to uninstall python-pyodbc on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
python-pyodbc
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-pyodbc package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: python-pyodbc
Priority: optional
Section: universe/python
Installed-Size: 137
Maintainer: Ubuntu Developers
Original-Maintainer: Deepak Tripathi
Architecture: amd64
Source: pyodbc
Version: 3.0.7-0ubuntu2
Provides: python2.7-pyodbc
Depends: python (>= 2.7), python (<< 2.8), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libodbc1 (>= 2.3.1), libstdc++6 (>= 4.1.1)
Filename: pool/universe/p/pyodbc/python-pyodbc_3.0.7-0ubuntu2_amd64.deb
Size: 44410
MD5sum: 1f985c65ce0a4ab5a2017c8115e33131
SHA1: 4850bebd1a50f5bd6cdc58c98435cd738f731457
SHA256: 1f3421f4baae36c74cfda55c68f9dd157ce75a4f6ffd5ddd5074edab8cd8e99a
Description-en: Python module for ODBC database access
A Python DB API 2 module for ODBC. No 3rd party libraries are required.
Only native Python datatypes are used, such as decimal and datetime.
It implements the Python Database API Specification v2.0.
For example:
import pyodbc
Next, create a connection by passing an ODBC connection string to the
connect method. This step causes ODBC to load the database driver (the SQL
Server driver in this example) and connect to the database.
cnxn = pyodbc.connect('DSN=northwind')
Description-md5: dad7daffd7108d5dac3b4b5e5b689244
Homepage: http://code.google.com/p/pyodbc/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/python
Installed-Size: 137
Maintainer: Ubuntu Developers
Original-Maintainer: Deepak Tripathi
Architecture: amd64
Source: pyodbc
Version: 3.0.7-0ubuntu2
Provides: python2.7-pyodbc
Depends: python (>= 2.7), python (<< 2.8), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libodbc1 (>= 2.3.1), libstdc++6 (>= 4.1.1)
Filename: pool/universe/p/pyodbc/python-pyodbc_3.0.7-0ubuntu2_amd64.deb
Size: 44410
MD5sum: 1f985c65ce0a4ab5a2017c8115e33131
SHA1: 4850bebd1a50f5bd6cdc58c98435cd738f731457
SHA256: 1f3421f4baae36c74cfda55c68f9dd157ce75a4f6ffd5ddd5074edab8cd8e99a
Description-en: Python module for ODBC database access
A Python DB API 2 module for ODBC. No 3rd party libraries are required.
Only native Python datatypes are used, such as decimal and datetime.
It implements the Python Database API Specification v2.0.
For example:
import pyodbc
Next, create a connection by passing an ODBC connection string to the
connect method. This step causes ODBC to load the database driver (the SQL
Server driver in this example) and connect to the database.
cnxn = pyodbc.connect('DSN=northwind')
Description-md5: dad7daffd7108d5dac3b4b5e5b689244
Homepage: http://code.google.com/p/pyodbc/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu