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

Last updated: November 24,2024

1. Install "ruby-ffi" package

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

$ sudo apt update $ sudo apt install ruby-ffi

2. Uninstall "ruby-ffi" package

This guide covers the steps necessary to uninstall ruby-ffi on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: ruby-ffi
Architecture: amd64
Version: 1.12.2+dfsg-2build2
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: 556
Depends: libc6 (>= 2.14), libffi7 (>= 3.3~20180313), libruby2.7 (>= 2.7.0-4), ruby (>= 1:2.7~0), ruby (<< 1:2.8~)
Filename: pool/universe/r/ruby-ffi/ruby-ffi_1.12.2+dfsg-2build2_amd64.deb
Size: 80048
MD5sum: 9998822212c67aeba24eb2b17053d9fa
SHA1: b39f91d968ec0b4796977ea605506b57e0ce1dd5
SHA256: 8a1b802cccfcbb991c18daa6893de3c17909f99a4367cb9516e9629b3b39cdd2
Homepage: https://github.com/ffi/ffi
Description: load dynamic libraries, bind functions from within ruby code
Description-md5: 39d5857b60bcd7ce53644c19f3e81d27
Ruby-Versions: ruby2.7