How to Install and Uninstall libtorch1.8 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 24,2024

1. Install "libtorch1.8" package

In this section, we are going to explain the necessary steps to install libtorch1.8 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install libtorch1.8

2. Uninstall "libtorch1.8" package

Learn how to uninstall libtorch1.8 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the libtorch1.8 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: libtorch1.8
Architecture: amd64
Version: 1.8.1-4
Multi-Arch: same
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: 101123
Depends: libavcodec58 (>= 7:4.4), libavformat58 (>= 7:4.4), libavutil56 (>= 7:4.4), libblas3 | libblas.so.3, libc6 (>= 2.34), libcpuinfo0 (>= 0.0~git20181113.3bf2c72), libdnnl2 (>= 2.0), libfmt8 (>= 8.1.1+ds1), libgcc-s1 (>= 3.4), libgflags2.2 (>= 2.2.2), libgloo0 (>= 0.0~git20200918.3dc0328), libgomp1 (>= 4.9), libgoogle-glog0v5 (>= 0.5.0+really0.4.0), liblapack3 | liblapack.so.3, libleveldb1d (>= 1.23), liblmdb0 (>= 0.9.7), libnuma1 (>= 2.0.11), libonnx1 (>= 1.7.0+dfsg), libopencv-calib3d4.5d (>= 4.5.4+dfsg), libopencv-contrib4.5d (>= 4.5.4+dfsg), libopencv-core4.5d (>= 4.5.4+dfsg), libopencv-dnn4.5d (>= 4.5.4+dfsg), libopencv-features2d4.5d (>= 4.5.4+dfsg), libopencv-flann4.5d (>= 4.5.4+dfsg), libopencv-highgui4.5d (>= 4.5.4+dfsg), libopencv-imgcodecs4.5d (>= 4.5.4+dfsg), libopencv-imgproc4.5d (>= 4.5.4+dfsg), libopencv-video4.5d (>= 4.5.4+dfsg), libopencv-videoio4.5d (>= 4.5.4+dfsg), libprotobuf23 (>= 3.12.4), libpthreadpool0 (>= 0.0~git20200423.6acde9c), libsleef3 (>= 3.3), libsnappy1v5 (>= 1.1.8), libstdc++6 (>= 11), libswresample3 (>= 7:4.4), libswscale5 (>= 7:4.4), libtensorpipe0 (>= 0.0~git20210304.369e855), libunwind8, libxnnpack0 (>= 0.0~git20201221.e1ffe15), libzmq5 (>= 3.2.3+dfsg), libzstd1 (>= 1.4.0), ocl-icd-libopencl1 | libopencl1
Recommends: libopenblas0 | libblis3 | libatlas3-base | libmkl-rt | libblas3
Filename: pool/universe/p/pytorch/libtorch1.8_1.8.1-4_amd64.deb
Size: 24553794
MD5sum: 974f80b774db8c923ebfafe84f34ce0c
SHA1: 289a0084e926648aa0eb966b7b0318236d54cb33
SHA256: 8a9de3bc928b8ac6a15b98946776ba29172e86e5855824f91a043734506e1337
SHA512: 5f8a65e3fbe0bcd7af3aa8738d0b46695da9ff1727ac66f55d3b0dc35c64c16a339466bfcb455bf00622c1e38fc8ee668152e65844140978afab4b99652a3a64
Homepage: https://pytorch.org/
Description: Tensors and Dynamic neural networks in Python (Shared Objects)
Description-md5: 124db22146db3aecd36c1052acb221f5