How to Install and Uninstall python-mysqldb Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: November 23,2024
1. Install "python-mysqldb" package
Learn how to install python-mysqldb on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
python-mysqldb
Copied
2. Uninstall "python-mysqldb" package
This tutorial shows how to uninstall python-mysqldb on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
python-mysqldb
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-mysqldb package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: python-mysqldb
Architecture: amd64
Version: 1.3.10-1build1
Priority: optional
Section: python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 185
Provides: python2.7-mysqldb
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.4), libmysqlclient20 (>= 5.7.11)
Suggests: default-mysql-server | virtual-mysql-server, python-egenix-mxdatetime, python-mysqldb-dbg
Filename: pool/main/p/python-mysqldb/python-mysqldb_1.3.10-1build1_amd64.deb
Size: 49224
MD5sum: 7e01a99834a5eaeeea95dc3f4abe9753
SHA1: 235fd314c7e28353ed2d65ad1bf412a52af09c37
SHA256: de941a529cadfa475dcdaa3bee2c829cde1a25b99398b40b98a6514c26a93177
Homepage: https://pypi.python.org/pypi/mysqlclient
Description: Python interface to MySQL
Description-md5: cb3fe37f0093f942d4f127716166ffcf
Supported: 5y
Architecture: amd64
Version: 1.3.10-1build1
Priority: optional
Section: python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 185
Provides: python2.7-mysqldb
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.4), libmysqlclient20 (>= 5.7.11)
Suggests: default-mysql-server | virtual-mysql-server, python-egenix-mxdatetime, python-mysqldb-dbg
Filename: pool/main/p/python-mysqldb/python-mysqldb_1.3.10-1build1_amd64.deb
Size: 49224
MD5sum: 7e01a99834a5eaeeea95dc3f4abe9753
SHA1: 235fd314c7e28353ed2d65ad1bf412a52af09c37
SHA256: de941a529cadfa475dcdaa3bee2c829cde1a25b99398b40b98a6514c26a93177
Homepage: https://pypi.python.org/pypi/mysqlclient
Description: Python interface to MySQL
Description-md5: cb3fe37f0093f942d4f127716166ffcf
Supported: 5y