How to Install and Uninstall python3-torch Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: November 26,2024

1. Install "python3-torch" package

Please follow the instructions below to install python3-torch on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install python3-torch

2. Uninstall "python3-torch" package

Please follow the steps below to uninstall python3-torch on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the python3-torch package on Ubuntu 23.10 (Mantic Minotaur)

Package: python3-torch
Architecture: amd64
Version: 2.0.1+dfsg-4
Priority: optional
Section: universe/python
Source: pytorch
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Deep Learning Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52108
Provides: python3-torch-api-2.0
Depends: libtorch2.0 (= 2.0.1+dfsg-4), python3 (<< 3.12), python3 (>= 3.11~), python3-astunparse, python3-filelock, python3-hypothesis, python3-jinja2, python3-networkx, python3-numpy (>= 1:1.22.0), python3-numpy-abi9, python3-pkg-resources, python3-psutil, python3-requests, python3-sympy, python3-typing-extensions, python3-yaml, python3.11:any, python3:any, libc6 (>= 2.38), libgcc-s1 (>= 3.0), libonnx1 (>= 1.13.1), libprotobuf32 (>= 3.21.12), libstdc++6 (>= 13.1), libtorch-test (= 2.0.1+dfsg-4)
Recommends: libtorch-dev (= 2.0.1+dfsg-4), build-essential, ninja-build, pybind11-dev
Suggests: python3-pytest
Conflicts: python3-torch-cuda
Replaces: python3-torch-cuda
Filename: pool/universe/p/pytorch/python3-torch_2.0.1+dfsg-4_amd64.deb
Size: 10464276
MD5sum: 6eaead8c29ffc12c7dc411b9373d919e
SHA1: 131f3be7fda45314cc87781b28ed4b03ed81f0fb
SHA256: 33ccbc83f427ef676bf2938b7668dd860d86b957935ef761e90317cc7d892fb9
SHA512: 70a0f9ded91557afff7b5c6951831c23cc78f216f7151b80a51c5b56c34cfd9b1b1eed5c98fc241df1dadb2eaf06d6c88812adf5a8af5f74a6b8285db36718c3
Homepage: https://pytorch.org/
Description: Tensors and Dynamic neural networks in Python (Python Interface)
Description-md5: ac52669c2876a105ffa7c8a78826b488