How to Install and Uninstall libtorch-dev Package on Debian 11 (Bullseye)

Last updated: November 07,2024

1. Install "libtorch-dev" package

Please follow the guidelines below to install libtorch-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libtorch-dev

2. Uninstall "libtorch-dev" package

Please follow the instructions below to uninstall libtorch-dev on Debian 11 (Bullseye):

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

3. Information about the libtorch-dev package on Debian 11 (Bullseye)

Package: libtorch-dev
Source: pytorch
Version: 1.7.1-7
Installed-Size: 10702
Maintainer: Debian Deep Learning Team
Architecture: amd64
Depends: libgflags-dev, libgoogle-glog-dev, libtorch1.7 (= 1.7.1-7), python3-all-dev
Description: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Description-md5: 6a324696fa2c16a0beb140b32cd2f460
Homepage: https://pytorch.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/p/pytorch/libtorch-dev_1.7.1-7_amd64.deb
Size: 1341276
MD5sum: f8eb18eb7d28ef34c411286e1b423565
SHA256: d7c36cc28adb97518102880358fecd6ad407bcfca949f0bb524e36a85ec2154c