How to Install and Uninstall ruby-dev Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 23,2024

1. Install "ruby-dev" package

This guide let you learn how to install ruby-dev on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install ruby-dev

2. Uninstall "ruby-dev" package

This guide let you learn how to uninstall ruby-dev on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the ruby-dev package on Ubuntu 24.04 LTS (Noble Numbat)

Package: ruby-dev
Architecture: amd64
Version: 1:3.1+1
Multi-Arch: same
Priority: optional
Section: devel
Source: ruby-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16
Depends: ruby3.1-dev
Filename: pool/main/r/ruby-defaults/ruby-dev_3.1+1_amd64.deb
Size: 4792
MD5sum: 679cb73dbd145f901c51fa6c37d661ef
SHA1: c1cb7c49e5db42a6d92cb6a5eab40421de649758
SHA256: 6ae8bcd8575568a54377798c33f5dd885ebc186591a5c5c6a0a162b6b3c6c19d
SHA512: bf5dd6bea2bdf9bbdf8260cefcf21ce9e9c17b44eccdd271350b9a0722b6be1e95fb47e2a7313cbe5822ec1d6761a1adc2389e1ac052e95c49a391f003b8adf8
Homepage: https://www.ruby-lang.org/
Description: Header files for compiling extension modules for Ruby (default version)
Description-md5: 61dcf5351684d778001b3b63904b2418