How to Install and Uninstall python3-torchvision Package on Debian 12 (Bookworm)

Last updated: May 18,2024

1. Install "python3-torchvision" package

This is a short guide on how to install python3-torchvision on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-torchvision

2. Uninstall "python3-torchvision" package

This tutorial shows how to uninstall python3-torchvision on Debian 12 (Bookworm):

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

3. Information about the python3-torchvision package on Debian 12 (Bookworm)

Package: python3-torchvision
Source: pytorch-vision
Version: 0.14.1-2
Installed-Size: 3099
Maintainer: Debian Deep Learning Team
Architecture: amd64
Depends: python3-torch (>= 1.12.0~), python3 (<< 3.12), python3 (>= 3.11~), python3-numpy, python3-pil, python3-requests, python3-typing-extensions, python3.11, python3:any, libavcodec59 (>= 7:5.0), libavformat59 (>= 7:5.0), libavutil57 (>= 7:5.0), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libjpeg62-turbo (>= 1.3.1), libpng16-16 (>= 1.6.2-1), libstdc++6 (>= 11), libswresample4 (>= 7:5.0), libswscale6 (>= 7:5.0), libtorch1.13 (>= 1.13.1+dfsg)
Recommends: python3-av
Description: Datasets, Transforms and Models specific to Computer Vision
Description-md5: 721d4eb100852b56685353adbfea1933
Homepage: https://github.com/pytorch/vision
Section: science
Priority: optional
Filename: pool/main/p/pytorch-vision/python3-torchvision_0.14.1-2_amd64.deb
Size: 602004
MD5sum: 447a8f49e77f4d7db96f4a8e04f00c3c
SHA256: ce57346c09f9cdcfdf96ac8717283976dcde73e2d529906eaf233fc52637a84b