How to Install and Uninstall libtorch-dev Package on Linux Mint 21 (Vanessa)

Last updated: May 17,2024

1. Install "libtorch-dev" package

This tutorial shows how to install libtorch-dev on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install libtorch-dev

2. Uninstall "libtorch-dev" package

Please follow the guidance below to uninstall libtorch-dev on Linux Mint 21 (Vanessa):

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

3. Information about the libtorch-dev package on Linux Mint 21 (Vanessa)

Package: libtorch-dev
Architecture: amd64
Version: 1.8.1-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: 10974
Depends: libgflags-dev, libgoogle-glog-dev, libtorch1.8 (= 1.8.1-4), python3-dev, libprotobuf-dev
Filename: pool/universe/p/pytorch/libtorch-dev_1.8.1-4_amd64.deb
Size: 1420808
MD5sum: 0bbd5f5a9b69573f90bd2dc83d6d6e98
SHA1: 29c5da2f9658f23bf6be1e7b4f4f1dde5cadcbcb
SHA256: ed0100f24eda54bd8aea819623aa27eddc26c3ea57592719b78cfc691552a292
SHA512: 51921cf3aa3b910c4bbdb1f0726558025aef2610fa0e50635ba6a57042ed9593624fcd401b804aa30d0e1f04fbcccc2539704cc99e06119c0410d99e879340a6
Homepage: https://pytorch.org/
Description: Tensors and Dynamic neural networks in Python (Development Files)
Description-md5: 69df2a34110c9a9063dabeae37cbaec5