How to Install and Uninstall libtorch-dev Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 17,2024

1. Install "libtorch-dev" package

In this section, we are going to explain the necessary steps to install libtorch-dev on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install libtorch-dev

2. Uninstall "libtorch-dev" package

Learn how to uninstall libtorch-dev on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the libtorch-dev package on Ubuntu 23.10 (Mantic Minotaur)

Package: libtorch-dev
Architecture: amd64
Version: 2.0.1+dfsg-4
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: 26954
Depends: libtorch2.0 (= 2.0.1+dfsg-4), python3-dev, libprotobuf-dev
Conflicts: libtorch-cuda-dev
Replaces: libtorch-cuda-dev
Filename: pool/universe/p/pytorch/libtorch-dev_2.0.1+dfsg-4_amd64.deb
Size: 2119126
MD5sum: f23d6621d75fdcf7da32e1620ada2896
SHA1: 8c03fce5eeff23331e6e9569cf4eda120b96fb35
SHA256: b12953248cd13c4847971c5bdd8aa42aac524df4ea1f1f294262d32c119e7bb7
SHA512: 3fd7a96abbc28f098d015689727ea07653ad53d4dd86e5e5937d62eeaf571ddd7ce7c251173cbabc6290710d23dd55058e52092bdd0eea7e8eceee599f2df456
Homepage: https://pytorch.org/
Description: Tensors and Dynamic neural networks in Python (Development Files)
Description-md5: f82a036facab80b9cda749c723e0fe6f