How to Install and Uninstall python3-torch Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 13,2024

1. Install "python3-torch" package

Please follow the guidance below to install python3-torch on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install python3-torch

2. Uninstall "python3-torch" package

Please follow the instructions below to uninstall python3-torch on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the python3-torch package on Ubuntu 22.10 (Kinetic Kudu)

Package: python3-torch
Architecture: amd64
Version: 1.8.1-5
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: 34638
Provides: python3.10-torch
Depends: libtorch1.8 (= 1.8.1-5), python3 (<< 3.11), python3 (>= 3.10~), python3-future, python3-numpy (>= 1:1.20.0), python3-numpy-abi9, python3-pkg-resources, python3-requests, python3-six, python3-typing-extensions, python3-yaml, python3.10:any, python3:any, libc6 (>= 2.34), libdnnl2 (>= 2.0), libgcc-s1 (>= 3.0), libgloo0 (>= 0.0~git20200918.3dc0328), libgoogle-glog0v6 (>= 0.6.0), libonnx1 (>= 1.7.0+dfsg), libprotobuf23 (>= 3.12.4), libstdc++6 (>= 12), libtorch-test (= 1.8.1-5)
Recommends: libtorch-dev (= 1.8.1-5), build-essential, ninja-build, pybind11-dev
Suggests: python3-hypothesis, python3-pytest
Filename: pool/universe/p/pytorch/python3-torch_1.8.1-5_amd64.deb
Size: 7070012
MD5sum: 6b38315abb7dbcd186fd1822df067226
SHA1: 95292fd64d275910dc0e6949d1ace74c2745dba3
SHA256: ff1b3d5c93656ed523c22c1115a27f17893b2c8e8bc4451fa84cc35322d9f893
SHA512: bab0c600529f61ad766490b29a0976e7395d632f76c742c4608c7de06857430555cada2928b2c9c414c074a3927be895fd4c610f10f0dc4cf73dac5229e5b2d4
Homepage: https://pytorch.org/
Description: Tensors and Dynamic neural networks in Python (Python Interface)
Description-md5: edbedaa5392d894ae3ca4d70d759b8bb