How to Install and Uninstall ruby2.7 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 24,2024

1. Install "ruby2.7" package

Please follow the steps below to install ruby2.7 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install ruby2.7

2. Uninstall "ruby2.7" package

This tutorial shows how to uninstall ruby2.7 on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove ruby2.7 $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby2.7 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: ruby2.7
Architecture: amd64
Version: 2.7.4-1ubuntu3
Multi-Arch: allowed
Priority: optional
Section: ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 200
Depends: rubygems-integration (>= 1.17.1~), libc6 (>= 2.34), libruby2.7 (>= 2.7.0~preview1)
Recommends: fonts-lato, libjs-jquery
Filename: pool/main/r/ruby2.7/ruby2.7_2.7.4-1ubuntu3_amd64.deb
Size: 96020
MD5sum: ea21dc8d32edbc2c22cde0c6f796ce9c
SHA1: f8df8abd503d604582f493138856168fb728e30b
SHA256: 5cdd9ac3192efc6582e07f730ba852da56074ff6d77f894dcfcc20930d656835
SHA512: 9665c2bb9b04d8402f1bb2e663ccf7d77b56fcf56e3d3b21e42157707de2b8ce3d5143e773dc598ee89aaff9e6bc04cdb31e6a43ba99c4a067f6e1f5a5fe6d56
Homepage: https://www.ruby-lang.org/
Description-en: Interpreter of object-oriented scripting language Ruby
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.
.
In the name of this package, `2.7' indicates the Ruby library compatibility
version. This package currently provides the `2.7.x' branch of Ruby.
Description-md5: acaf9860ea8a8843431ae8c96d9c2c19
Task: ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi