How to Install and Uninstall ruby-nfc Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "ruby-nfc" package

This tutorial shows how to install ruby-nfc on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-nfc

2. Uninstall "ruby-nfc" package

Please follow the guidance below to uninstall ruby-nfc on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-nfc package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-nfc
Priority: optional
Section: universe/ruby
Installed-Size: 40
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: amd64
Version: 3.1.1-1build6
Depends: libc6 (>= 2.4), libnfc5 (>= 1.7.0~rc2), libruby2.3 (>= 2.3.0~preview2), ruby (>= 1:2.3~0)
Filename: pool/universe/r/ruby-nfc/ruby-nfc_3.1.1-1build6_amd64.deb
Size: 7756
MD5sum: e85895311d3a31806eb8e1ff4af2bfa6
SHA1: 37efd6e025bf8edb821671899fca42f0968a9da4
SHA256: 236b494b89bbb463830e7d3b035e85639f6c7b60b295c1214038f72612c6af92
Description-en: ruby wrapper for the libnfc
NFC is a ruby wrapper for the Near Field Communication library (libnfc).
The Near Field Communication library works with many USB RFID readers,
so this lets you read RFID tags.
Description-md5: 589ae52816a76b74e1f5d7f7427afb9d
Homepage: https://github.com/tenderlove/nfc/
Ruby-Versions: ruby2.3
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu