How to Install and Uninstall ruby2.7 Package on Kali Linux

Last updated: May 14,2024

1. Install "ruby2.7" package

This guide covers the steps necessary to install ruby2.7 on Kali Linux

$ sudo apt update $ sudo apt install ruby2.7

2. Uninstall "ruby2.7" package

Please follow the guidelines below to uninstall ruby2.7 on Kali Linux:

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

3. Information about the ruby2.7 package on Kali Linux

Package: ruby2.7
Source: ruby2.7 (2.7.4-1)
Version: 2.7.4-1+b1
Installed-Size: 823
Maintainer: Debian Ruby Team
Architecture: amd64
Depends: rubygems-integration (>= 1.17.1~), libc6 (>= 2.4), libruby2.7 (>= 2.7.0~preview1)
Recommends: fonts-lato, libjs-jquery
Size: 747320
SHA256: bec24247567356fbdad7ef46d6f7f7093b0c48eda47dbcce0ec19ad05848a9d1
SHA1: 7ed58efbc4cb591460694b1313783fe1c6a7c4ea
MD5sum: 9f8de75b791c4445d26ba464b167f917
Description: 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
Multi-Arch: allowed
Homepage: https://www.ruby-lang.org/
Section: ruby
Priority: optional
Filename: pool/main/r/ruby2.7/ruby2.7_2.7.4-1+b1_amd64.deb