How to Install and Uninstall ruby-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 23,2024

1. Install "ruby-dev" package

This is a short guide on how to install ruby-dev on Ubuntu 16.04 LTS (Xenial Xerus)

$ 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 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-dev package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-dev
Priority: optional
Section: devel
Installed-Size: 20
Maintainer: Ubuntu Developers
Original-Maintainer: Antonio Terceiro
Architecture: amd64
Source: ruby-defaults
Version: 1:2.3.0+1
Depends: ruby2.3-dev
Filename: pool/main/r/ruby-defaults/ruby-dev_2.3.0+1_amd64.deb
Size: 4408
MD5sum: 0b88bf751b7863f7a5d1a3aa9b9e4509
SHA1: 48b6a2d8820e3b6c7603cb20f7a96f908eba321e
SHA256: 5c9d1dd42daffa365502ddf77ae67c1bf497c85e447f5754e975d82a242233c4
Description-en: Header files for compiling extension modules for Ruby (default version)
Ruby is the interpreted scripting language for quick and easy
object-oriented programming. It has many features to process text
files and to do system management tasks (as in perl). It is simple,
straight-forward, and extensible.
.
This package contains the header files and the mkmf library, necessary
to make extension library for Ruby. It is also required to build
many gems.
.
This package is a dependency package, which depends on Debian's default Ruby
version (currently v2.3).
Description-md5: c64dfacbe1e282d7d2b009d7dc01c018
Multi-Arch: same
Homepage: http://www.ruby-lang.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m