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

Last updated: May 16,2024

1. Install "ruby-dev" package

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

$ sudo apt update $ sudo apt install ruby-dev

2. Uninstall "ruby-dev" package

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

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

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

Package: ruby-dev
Source: ruby-defaults
Version: 1:3.1
Installed-Size: 17
Maintainer: Debian Ruby Team
Architecture: amd64
Depends: ruby3.1-dev
Description: Header files for compiling extension modules for Ruby (default version)
Description-md5: 61dcf5351684d778001b3b63904b2418
Multi-Arch: same
Homepage: https://www.ruby-lang.org/
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-defaults/ruby-dev_3.1_amd64.deb
Size: 5116
MD5sum: 976a711b535aaa1d5ea22dc69f074bb0
SHA256: 77ea363197f464151cc67a4bbe7ce772424f9329f0cef291dc581b8559d0dfe5