How to Install and Uninstall libtorch-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "libtorch-dev" package

This tutorial shows how to install libtorch-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtorch-dev

2. Uninstall "libtorch-dev" package

Here is a brief guide to show you how to uninstall libtorch-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtorch-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtorch-dev package on Ubuntu 21.10 (Impish Indri)

Package: libtorch-dev
Architecture: amd64
Version: 1.7.1-7
Priority: optional
Section: universe/libdevel
Source: pytorch
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Deep Learning Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10702
Depends: libgflags-dev, libgoogle-glog-dev, libtorch1.7 (= 1.7.1-7), python3-all-dev
Filename: pool/universe/p/pytorch/libtorch-dev_1.7.1-7_amd64.deb
Size: 1333100
MD5sum: fb78b822f676f9f9708db397ebae2a89
SHA1: b58a8908e2906702f2d68319090f7184d91e6e0a
SHA256: 2cb281e17383bca5f7e5f69d9968b294dd3d77ec562328bfceec7c308b36740a
SHA512: 2ad1231ece35d7ddfed9c9adc7d01346ddc1f8977295c1219cf31da13250ba4132bdfb8c3eb1b06b2b810de638853a89fd1a1185f8ad71201cf56a0109cc179f
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 (Development files).
Description-md5: 6a324696fa2c16a0beb140b32cd2f460