How to Install and Uninstall libtorch-dev Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 19,2024

1. Install "libtorch-dev" package

Please follow the instructions below to install libtorch-dev on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install libtorch-dev

2. Uninstall "libtorch-dev" package

Please follow the instructions below to uninstall libtorch-dev on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the libtorch-dev package on Ubuntu 22.10 (Kinetic Kudu)

Package: libtorch-dev
Architecture: amd64
Version: 1.8.1-5
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: 10975
Depends: libgflags-dev, libgoogle-glog-dev, libtorch1.8 (= 1.8.1-5), python3-dev, libprotobuf-dev
Filename: pool/universe/p/pytorch/libtorch-dev_1.8.1-5_amd64.deb
Size: 1421194
MD5sum: 7e18f0e8c02b9b1bbe9d86eefcd4956c
SHA1: 6be03911bc2e0e95d82a6cb65482b89d07d8a532
SHA256: 4bbd1aad9b6ca94f465631252c41ee924393ca205948dba657750598c487c49c
SHA512: 2d22c2c36edbd64f9b74496870ac7d16e33a8da0c6daf605cb4eb13761d1a23abea14751bc7895d0d94ab172fd94c74c9a5ad9ed11f43fc061dc184a42353fbd
Homepage: https://pytorch.org/
Description: Tensors and Dynamic neural networks in Python (Development Files)
Description-md5: 69df2a34110c9a9063dabeae37cbaec5