How to Install and Uninstall ruby-magic Package on Debian 12 (Bookworm)

Last updated: November 26,2024

1. Install "ruby-magic" package

This guide covers the steps necessary to install ruby-magic on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ruby-magic

2. Uninstall "ruby-magic" package

This tutorial shows how to uninstall ruby-magic on Debian 12 (Bookworm):

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

3. Information about the ruby-magic package on Debian 12 (Bookworm)

Package: ruby-magic
Version: 0.2.9-2
Installed-Size: 32
Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Depends: libmagic1, ruby-ffi (>= 0.6.3)
Description: Ruby FFI bindings to libmagic
Description-md5: 79a0ef4e6808a8f13a2ab6e1458bcffe
Homepage: https://github.com/qoobaa/magic
Ruby-Versions: all
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-magic/ruby-magic_0.2.9-2_all.deb
Size: 6720
MD5sum: 446f9befc884ca999e48190c12c7fe04
SHA256: 945d658349755c83f221c2e3179d88002bbed3b4fc4280b4dfaecb428f4b0e8d