How to Install and Uninstall ruby-serialport Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "ruby-serialport" package

Please follow the guidelines below to install ruby-serialport on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install ruby-serialport

2. Uninstall "ruby-serialport" package

This is a short guide on how to uninstall ruby-serialport on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove ruby-serialport $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-serialport package on Ubuntu 20.04 LTS (Focal Fossa)

Package: ruby-serialport
Architecture: amd64
Version: 1.3.1-1build6
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 55
Depends: libc6 (>= 2.4), libruby2.7 (>= 2.7.0-4), ruby (>= 1:2.7~0), ruby (<< 1:2.8~)
Filename: pool/universe/r/ruby-serialport/ruby-serialport_1.3.1-1build6_amd64.deb
Size: 11968
MD5sum: 268ee39f0220afce1fe6e65e9fc65f5d
SHA1: 877bd7e2db87366fdf9c9476ec4027614b4efd94
SHA256: 0c596557b4b3538b22f01759e318ae276684d0894e5170b9dc17cd8bed9932b9
Homepage: http://github.com/hparra/ruby-serialport/
Description: Library for using RS-232 serial ports from Ruby programs
Description-md5: e5ea5e7a2c42319b976e77d31327ef54
Ruby-Versions: ruby2.7