How to Install and Uninstall pyupgrade Package on Debian 12 (Bookworm)
Last updated: January 25,2025
Notice
You can also install and uninstall the pyupgrade on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "pyupgrade" package
Here is a brief guide to show you how to install pyupgrade on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
pyupgrade
Copied
2. Uninstall "pyupgrade" package
Please follow the guidance below to uninstall pyupgrade on Debian 12 (Bookworm):
$
sudo apt remove
pyupgrade
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the pyupgrade package on Debian 12 (Bookworm)
Package: pyupgrade
Version: 2.37.1-2
Installed-Size: 214
Maintainer: Debian Python Team
Architecture: all
Depends: python3-tokenize-rt, python3:any
Description: Tool to automatically upgrade Python 3 syntax for newer versions
Description-md5: 638aae7078943364e1a45a4b44039168
Homepage: https://github.com/asottile/pyupgrade
Section: devel
Priority: optional
Filename: pool/main/p/pyupgrade/pyupgrade_2.37.1-2_all.deb
Size: 35836
MD5sum: 2b32a88acd53eaeebc4ed5448bbbd37a
SHA256: d43c8c81337f90fe82db8d9146a492d9ea68ee2152a228b6cfc92ad0988672df
Version: 2.37.1-2
Installed-Size: 214
Maintainer: Debian Python Team
Architecture: all
Depends: python3-tokenize-rt, python3:any
Description: Tool to automatically upgrade Python 3 syntax for newer versions
Description-md5: 638aae7078943364e1a45a4b44039168
Homepage: https://github.com/asottile/pyupgrade
Section: devel
Priority: optional
Filename: pool/main/p/pyupgrade/pyupgrade_2.37.1-2_all.deb
Size: 35836
MD5sum: 2b32a88acd53eaeebc4ed5448bbbd37a
SHA256: d43c8c81337f90fe82db8d9146a492d9ea68ee2152a228b6cfc92ad0988672df