How to Install and Uninstall ruby3.1-dev Package on Debian 12 (Bookworm)

Last updated: December 30,2024

1. Install "ruby3.1-dev" package

In this section, we are going to explain the necessary steps to install ruby3.1-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ruby3.1-dev

2. Uninstall "ruby3.1-dev" package

In this section, we are going to explain the necessary steps to uninstall ruby3.1-dev on Debian 12 (Bookworm):

$ sudo apt remove ruby3.1-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby3.1-dev package on Debian 12 (Bookworm)

Package: ruby3.1-dev
Source: ruby3.1
Version: 3.1.2-7
Installed-Size: 3492
Maintainer: Debian Ruby Team
Architecture: amd64
Depends: libgmp-dev, libruby3.1 (= 3.1.2-7)
Recommends: ruby3.1-doc
Description: Header files for compiling extension modules for the Ruby 3.1
Description-md5: 452bbaa9ba76ea9125fcddcb7ec6a417
Multi-Arch: same
Homepage: https://www.ruby-lang.org/
Section: ruby
Priority: optional
Filename: pool/main/r/ruby3.1/ruby3.1-dev_3.1.2-7_amd64.deb
Size: 1000624
MD5sum: f92604779841a6e30ca2362604f7d276
SHA256: cb7c55cc6a270f66bb39724658168b7d5e22d944c25d1822fbb8faa8f0c429a6