How to Install and Uninstall ruby2.7-dev Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 25,2024
1. Install "ruby2.7-dev" package
Here is a brief guide to show you how to install ruby2.7-dev on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
ruby2.7-dev
Copied
2. Uninstall "ruby2.7-dev" package
Please follow the instructions below to uninstall ruby2.7-dev on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
ruby2.7-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ruby2.7-dev package on Ubuntu 20.04 LTS (Focal Fossa)
Package: ruby2.7-dev
Architecture: amd64
Version: 2.7.0-5ubuntu1.12
Multi-Arch: same
Priority: optional
Section: ruby
Source: ruby2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1409
Depends: libgmp-dev, libruby2.7 (= 2.7.0-5ubuntu1.12)
Recommends: ruby2.7-doc
Filename: pool/main/r/ruby2.7/ruby2.7-dev_2.7.0-5ubuntu1.12_amd64.deb
Size: 182168
MD5sum: fd4bd265d05058c188bb1e4cc2937d82
SHA1: 36b2efa4c86216957b8509bdbfd79af8540e0d16
SHA256: 8dacb23a059488dd83b2486a10960e29769d522521c133ccd7a411b75dc2b62a
SHA512: 37f4dfae1a4efb07c0d7cf92c8ff8d4e73fa3b04afc71725bccdeeaf972d0d27cbf7b028b1f8a8c37f1b62b9b10e12e832f9c5e40c8507ca64e69f3dbfcf2e16
Homepage: https://www.ruby-lang.org/
Description: Header files for compiling extension modules for the Ruby 2.7
Description-md5: c7609d60a5295902f91ebae527eba4f6
Package: ruby2.7-dev
Architecture: amd64
Version: 2.7.0-5ubuntu1
Multi-Arch: same
Priority: optional
Section: ruby
Source: ruby2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1408
Depends: libgmp-dev, libruby2.7 (= 2.7.0-5ubuntu1)
Recommends: ruby2.7-doc
Filename: pool/main/r/ruby2.7/ruby2.7-dev_2.7.0-5ubuntu1_amd64.deb
Size: 182124
MD5sum: 9103d44d5a6ea726e7a1cc6861564d23
SHA1: 9fc721854b69987e9d951e30a64da885f9fe443e
SHA256: c1bb2386335cafcddc228102bd3203aa0c80c65c58ba5a8b899d5a34219944fc
Homepage: https://www.ruby-lang.org/
Description: Header files for compiling extension modules for the Ruby 2.7
Description-md5: c7609d60a5295902f91ebae527eba4f6
Architecture: amd64
Version: 2.7.0-5ubuntu1.12
Multi-Arch: same
Priority: optional
Section: ruby
Source: ruby2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1409
Depends: libgmp-dev, libruby2.7 (= 2.7.0-5ubuntu1.12)
Recommends: ruby2.7-doc
Filename: pool/main/r/ruby2.7/ruby2.7-dev_2.7.0-5ubuntu1.12_amd64.deb
Size: 182168
MD5sum: fd4bd265d05058c188bb1e4cc2937d82
SHA1: 36b2efa4c86216957b8509bdbfd79af8540e0d16
SHA256: 8dacb23a059488dd83b2486a10960e29769d522521c133ccd7a411b75dc2b62a
SHA512: 37f4dfae1a4efb07c0d7cf92c8ff8d4e73fa3b04afc71725bccdeeaf972d0d27cbf7b028b1f8a8c37f1b62b9b10e12e832f9c5e40c8507ca64e69f3dbfcf2e16
Homepage: https://www.ruby-lang.org/
Description: Header files for compiling extension modules for the Ruby 2.7
Description-md5: c7609d60a5295902f91ebae527eba4f6
Package: ruby2.7-dev
Architecture: amd64
Version: 2.7.0-5ubuntu1
Multi-Arch: same
Priority: optional
Section: ruby
Source: ruby2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1408
Depends: libgmp-dev, libruby2.7 (= 2.7.0-5ubuntu1)
Recommends: ruby2.7-doc
Filename: pool/main/r/ruby2.7/ruby2.7-dev_2.7.0-5ubuntu1_amd64.deb
Size: 182124
MD5sum: 9103d44d5a6ea726e7a1cc6861564d23
SHA1: 9fc721854b69987e9d951e30a64da885f9fe443e
SHA256: c1bb2386335cafcddc228102bd3203aa0c80c65c58ba5a8b899d5a34219944fc
Homepage: https://www.ruby-lang.org/
Description: Header files for compiling extension modules for the Ruby 2.7
Description-md5: c7609d60a5295902f91ebae527eba4f6