How to Install and Uninstall libmodbus-dev Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 04,2024

1. Install "libmodbus-dev" package

This tutorial shows how to install libmodbus-dev on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install libmodbus-dev

2. Uninstall "libmodbus-dev" package

Please follow the guidance below to uninstall libmodbus-dev on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the libmodbus-dev package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: libmodbus-dev
Architecture: amd64
Version: 3.1.6-2
Multi-Arch: same
Priority: extra
Section: universe/libdevel
Source: libmodbus
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: SZ Lin (林上智)
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 220
Depends: libmodbus5 (= 3.1.6-2)
Filename: pool/universe/libm/libmodbus/libmodbus-dev_3.1.6-2_amd64.deb
Size: 87620
MD5sum: a8107f725577083c1f8ac5aee0977f3d
SHA1: c419eccd8a1118f9efc10944b9e3e1da7bc90fb6
SHA256: a242c783dd227e60ab2151da5b4c5d220432a54581a87a967fc2248792ffe51c
SHA512: 1fbbac24ae421d3724385cc58b34ac8a613eed84db42e150a90269edb6388fde460410e61f989d15a9c05aeedc0311299b0dab94bc51b2d5a487228656c159df
Homepage: http://libmodbus.org/
Description: development files for the Modbus protocol library
Description-md5: 319ed6ee1d4051d730fb32bd227a21ca