How to Install and Uninstall ruby-dev Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "ruby-dev" package

This is a short guide on how to install ruby-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install ruby-dev

2. Uninstall "ruby-dev" package

Please follow the steps below to uninstall ruby-dev on Debian 11 (Bullseye):

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

3. Information about the ruby-dev package on Debian 11 (Bullseye)

Package: ruby-dev
Source: ruby-defaults
Version: 1:2.7+2
Installed-Size: 23
Maintainer: Debian Ruby Team
Architecture: amd64
Depends: ruby2.7-dev
Description: Header files for compiling extension modules for Ruby (default version)
Description-md5: 198959771090d0c0f35e3376a35be299
Multi-Arch: same
Homepage: https://www.ruby-lang.org/
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-defaults/ruby-dev_2.7+2_amd64.deb
Size: 10888
MD5sum: f8b3773dd4d67791abc9c31837145bfa
SHA256: e1d219cc686639bd792d87f98929d73d23e7333fcb56f2e1a01f480945fa7d84