How to Install and Uninstall python3-mysqldb Package on Linux Mint 20.3 (Una)

Last updated: November 07,2024

1. Install "python3-mysqldb" package

Please follow the guidance below to install python3-mysqldb on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install python3-mysqldb

2. Uninstall "python3-mysqldb" package

Please follow the steps below to uninstall python3-mysqldb on Linux Mint 20.3 (Una):

$ sudo apt remove python3-mysqldb $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-mysqldb package on Linux Mint 20.3 (Una)

Package: python3-mysqldb
Architecture: amd64
Version: 1.4.4-2build1
Priority: optional
Section: python
Source: python-mysqldb
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 177
Provides: python3.8-mysqldb
Depends: python3 (<< 3.9), python3 (>= 3.8~), python3:any, libc6 (>= 2.4), libmysqlclient21 (>= 8.0.11)
Suggests: default-mysql-server | virtual-mysql-server, python3-mysqldb-dbg
Filename: pool/main/p/python-mysqldb/python3-mysqldb_1.4.4-2build1_amd64.deb
Size: 44900
MD5sum: 10a73b854de23569153d6bee5270e672
SHA1: f6dcb5ad43cd38b2df84020f940eb3747c23aced
SHA256: 98581a2f910134655ae834186288d3a7a06a98ac73be66de3f118b8370ab6f58
Homepage: https://pypi.python.org/pypi/mysqlclient
Description: Python interface to MySQL
Description-md5: ef94561a9d5a0ef91971efb133cb764a