How to Install and Uninstall libtorch1.7 Package on Ubuntu 21.10 (Impish Indri)

Last updated: October 05,2024

1. Install "libtorch1.7" package

In this section, we are going to explain the necessary steps to install libtorch1.7 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtorch1.7

2. Uninstall "libtorch1.7" package

Please follow the step by step instructions below to uninstall libtorch1.7 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtorch1.7 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtorch1.7 package on Ubuntu 21.10 (Impish Indri)

Package: libtorch1.7
Architecture: amd64
Version: 1.7.1-7
Priority: optional
Section: universe/libs
Source: pytorch
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Deep Learning Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 84171
Depends: libavcodec58 (>= 7:4.0), libavformat58 (>= 7:4.1), libavutil56 (>= 7:4.0), libblas3 | libblas.so.3, libc6 (>= 2.33), libcpuinfo0 (>= 0.0~git20181113.3bf2c72), libdnnl2 (>= 2.0), libfmt7 (>= 7.1.3+ds1), libgcc-s1 (>= 3.4), libgflags2.2 (>= 2.2.2), libgloo0 (>= 0.0~git20200918.3dc0328), libgomp1 (>= 4.9), libgoogle-glog0v5 (>= 0.4.0), liblapack3 | liblapack.so.3, libleveldb1d, liblmdb0 (>= 0.9.7), libonnx1 (>= 1.7.0+dfsg), libopencv-calib3d4.5 (>= 4.5.1+dfsg), libopencv-contrib4.5 (>= 4.5.1+dfsg), libopencv-core4.5 (>= 4.5.1+dfsg), libopencv-dnn4.5 (>= 4.5.1+dfsg), libopencv-features2d4.5 (>= 4.5.1+dfsg), libopencv-flann4.5 (>= 4.5.1+dfsg), libopencv-highgui4.5 (>= 4.5.1+dfsg), libopencv-imgcodecs4.5 (>= 4.5.1+dfsg), libopencv-imgproc4.5 (>= 4.5.1+dfsg), libopencv-video4.5 (>= 4.5.1+dfsg), libopencv-videoio4.5 (>= 4.5.1+dfsg), libprotobuf23 (>= 3.12.4), libpthreadpool0 (>= 0.0~git20200423.6acde9c), libsleef3 (>= 3.3), libsnappy1v5 (>= 1.1.8), libstdc++6 (>= 9), libswresample3 (>= 7:4.0), libswscale5 (>= 7:4.0), libtensorpipe0 (>= 0.0~git20200928.95ff931), libunwind8, libxnnpack0 (>= 0.0~git20201031.beca652+really.git20200323.1b35463), libzmq5 (>= 3.2.3+dfsg), libzstd1 (>= 1.3.2), ocl-icd-libopencl1 | libopencl1
Recommends: libopenblas0 | libblis3 | libatlas3-base | libmkl-rt | libblas3
Filename: pool/universe/p/pytorch/libtorch1.7_1.7.1-7_amd64.deb
Size: 18941844
MD5sum: b6457dabd40bb025e049642a32929600
SHA1: 5676187c2f385416ad7801c52b291fb97761e79c
SHA256: 964d6f17005da62476d22987af606ad62bf246a85a637e79c6f1cd6715ccca08
SHA512: ed1738cd0686b57c3e2de4ab5e85f69999f0ab8e967c76ae96f6ba51448a2aa8e6c67de0e5d97202333105b81a5dfaf58b0d7790f116fda2c00f32b9aeb8d0f3
Homepage: https://pytorch.org/
Description-en: Tensors and Dynamic neural networks in Python with strong GPU acceleration
PyTorch is a Python package that provides two high-level features:
.
(1) Tensor computation (like NumPy) with strong GPU acceleration
(2) Deep neural networks built on a tape-based autograd system
.
You can reuse your favorite Python packages such as NumPy, SciPy and Cython
to extend PyTorch when needed.
.
This is the CPU-only version of PyTorch and Caffe2 (Shared Objects).
Description-md5: 5b212bf4a0f5215c03194034e1c8f7e7