How to Install and Uninstall libtorch-th-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: September 20,2024

1. Install "libtorch-th-dev" package

Please follow the guidance below to install libtorch-th-dev on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libtorch-th-dev

2. Uninstall "libtorch-th-dev" package

This tutorial shows how to uninstall libtorch-th-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libtorch-th-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libtorch-th-dev
Architecture: amd64
Version: 0~20170926-g89ede3b-2
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: lua-torch-torch7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 132
Depends: libtorch-th (= 0~20170926-g89ede3b-2)
Filename: pool/universe/l/lua-torch-torch7/libtorch-th-dev_0~20170926-g89ede3b-2_amd64.deb
Size: 18636
MD5sum: fab50a468dcae7723aa7ccd0a0eb18a0
SHA1: 843be898ad850cd397a7cc96bd2d4239a9ceaac3
SHA256: 6ec5a4a66b63d0c2f342d30cfd8e078489a624ea9e1d81d2dcc52879f21d8957
Homepage: https://github.com/torch/torch7
Description: libTH.so of Torch Package for Torch Framework (dev)
Description-md5: 3b259c16710849ddd55c5b09841e44ad

5. The same packages on other Linux Distributions