How to Install and Uninstall ruby2.5 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 22,2024

1. Install "ruby2.5" package

Please follow the steps below to install ruby2.5 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install ruby2.5

2. Uninstall "ruby2.5" package

Please follow the step by step instructions below to uninstall ruby2.5 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the ruby2.5 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: ruby2.5
Architecture: amd64
Version: 2.5.1-1ubuntu1.12
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: 129
Depends: rubygems-integration (>= 1.8), libc6 (>= 2.2.5), libruby2.5 (>= 2.5.0~preview1)
Recommends: fonts-lato, libjs-jquery
Filename: pool/main/r/ruby2.5/ruby2.5_2.5.1-1ubuntu1.12_amd64.deb
Size: 48632
MD5sum: 561039c0ad5248b7307719916e64910a
SHA1: ec030fad350bebfb92f68190db7b33017d81a402
SHA256: 6fae70249db9af25ae65f4e08028aa8a18a74af884571db2f99daeb79ca45a1d
SHA512: 82211d6c8a2b94a2e505ef8ccd69d8fbfd6ee5dd47d70415ff1c764dfe232f93616f71cae1a7895a64aa0b20919bded21d4243c9b7a49858590421144b24ceb6
Homepage: http://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby
Description-md5: 3c4fdd4d9f88f90ee6945e76047fabda
Task: kubuntu-desktop, kubuntu-full
Supported: 5y

Package: ruby2.5
Architecture: amd64
Version: 2.5.1-1ubuntu1
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: 127
Depends: rubygems-integration (>= 1.8), libc6 (>= 2.2.5), libruby2.5 (>= 2.5.0~preview1)
Recommends: fonts-lato, libjs-jquery
Filename: pool/main/r/ruby2.5/ruby2.5_2.5.1-1ubuntu1_amd64.deb
Size: 48612
MD5sum: f41326c6c75bc6f7e3ec8dea46e080b8
SHA1: cefb00348b7272adab4c9ce88ece8cac58d35baa
SHA256: a5173cdcb4ac956c2fdc2a7947768c3ea72e677b035b9b9222d9a3319b0e62f4
Homepage: http://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby
Description-md5: 3c4fdd4d9f88f90ee6945e76047fabda
Task: kubuntu-desktop, kubuntu-full
Supported: 5y