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

Last updated: May 05,2024

1. Install "ruby-magic" package

This is a short guide on how to install ruby-magic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install ruby-magic

2. Uninstall "ruby-magic" package

Here is a brief guide to show you how to uninstall ruby-magic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: ruby-magic
Architecture: all
Version: 0.2.9-2
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: 32
Depends: libmagic1, ruby-ffi (>= 0.6.3)
Filename: pool/universe/r/ruby-magic/ruby-magic_0.2.9-2_all.deb
Size: 6756
MD5sum: 249ba0669d82ba9c2befad27cc8e34c3
SHA1: 78dbb50167986a3c46dee563a82906bda0f609be
SHA256: 81800a1fcb0fc481727ea932351b3c1d6ef8edd590f8589f4f337cc7df5e92a6
Homepage: https://github.com/qoobaa/magic
Description: Ruby FFI bindings to libmagic
Description-md5: 79a0ef4e6808a8f13a2ab6e1458bcffe
Ruby-Versions: all