How to Install and Uninstall libtorch-dev Package on Debian 12 (Bookworm)

Last updated: May 08,2024

1. Install "libtorch-dev" package

In this section, we are going to explain the necessary steps to install libtorch-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libtorch-dev

2. Uninstall "libtorch-dev" package

Please follow the instructions below to uninstall libtorch-dev on Debian 12 (Bookworm):

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

3. Information about the libtorch-dev package on Debian 12 (Bookworm)

Package: libtorch-dev
Source: pytorch
Version: 1.13.1+dfsg-4
Installed-Size: 26385
Maintainer: Debian Deep Learning Team
Architecture: amd64
Depends: libgflags-dev, libgoogle-glog-dev, libtorch1.13 (= 1.13.1+dfsg-4), python3-dev, libprotobuf-dev
Description: Tensors and Dynamic neural networks in Python (Development Files)
Description-md5: 69df2a34110c9a9063dabeae37cbaec5
Homepage: https://pytorch.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/p/pytorch/libtorch-dev_1.13.1+dfsg-4_amd64.deb
Size: 2190308
MD5sum: 1fb2055a2603235b9f1b81c6c19e2011
SHA256: 6f83e61b67403aeec8bac96db28cd25706ae415cfd3d696adde588058ab69c56