How to Install and Uninstall python3-torch Package on Debian 11 (Bullseye)

Last updated: May 14,2024

1. Install "python3-torch" package

In this section, we are going to explain the necessary steps to install python3-torch on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install python3-torch

2. Uninstall "python3-torch" package

Here is a brief guide to show you how to uninstall python3-torch on Debian 11 (Bullseye):

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

3. Information about the python3-torch package on Debian 11 (Bullseye)

Package: python3-torch
Source: pytorch
Version: 1.7.1-7
Installed-Size: 31382
Maintainer: Debian Deep Learning Team
Architecture: amd64
Provides: python3.9-torch
Depends: libtorch1.7 (= 1.7.1-7), python3 (<< 3.10), python3 (>= 3.9~), python3-future, python3-numpy (>= 1:1.16.0~rc1), python3-numpy-abi9, python3-pkg-resources, python3-requests, python3-six, python3-typing-extensions, python3-yaml, python3.9:any, python3:any, libc6 (>= 2.30), libdnnl2 (>= 2.0), libgcc-s1 (>= 3.0), libgloo0 (>= 0.0~git20200918.3dc0328), libgoogle-glog0v5 (>= 0.4.0), libonnx1 (>= 1.7.0+dfsg), libprotobuf23 (>= 3.12.4), libstdc++6 (>= 9), libunwind8
Recommends: libtorch-dev (= 1.7.1-7), build-essential, ninja-build, pybind11-dev
Suggests: python3-hypothesis, python3-pytest
Description: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Description-md5: ff49415f4d020ed13f16fd627f3f22cf
Homepage: https://pytorch.org/
Section: python
Priority: optional
Filename: pool/main/p/pytorch/python3-torch_1.7.1-7_amd64.deb
Size: 6158296
MD5sum: a6e1336451c8bf9470ac3da37472fea8
SHA256: 9a71e9f21f54f9df072b497384731bcb29957c16323683dd75c783e8502dc922