How to Install and Uninstall ruby2.7 Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: January 12,2025
1. Install "ruby2.7" package
This tutorial shows how to install ruby2.7 on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
ruby2.7
Copied
2. Uninstall "ruby2.7" package
In this section, we are going to explain the necessary steps to uninstall ruby2.7 on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
ruby2.7
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ruby2.7 package on Ubuntu 20.04 LTS (Focal Fossa)
Package: ruby2.7
Architecture: amd64
Version: 2.7.0-5ubuntu1.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: 202
Depends: rubygems-integration (>= 1.8), libc6 (>= 2.4), libruby2.7 (>= 2.7.0~preview1)
Recommends: fonts-lato, libjs-jquery
Filename: pool/main/r/ruby2.7/ruby2.7_2.7.0-5ubuntu1.12_amd64.deb
Size: 95596
MD5sum: c8b8890df06e43546d5f907bb6890ac9
SHA1: 2162bdfccf4b40b05fb5fa44d0cc98e0f8aa40b3
SHA256: 2577c38d94ead31f356f9a998b08877e71f6a44347c0a9fa0a022c16bad680e2
SHA512: c4db7a2ad939807b9b46170eeaaf3af089accfa69033771da2490e195e3bbd7c3773419757a8c29e4f89f25d6e4fe741c7563d8affe8da4e7026ad344c39f363
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby
Description-md5: acaf9860ea8a8843431ae8c96d9c2c19
Task: ubuntu-budgie-desktop
Package: ruby2.7
Architecture: amd64
Version: 2.7.0-5ubuntu1
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: 201
Depends: rubygems-integration (>= 1.8), libc6 (>= 2.4), libruby2.7 (>= 2.7.0~preview1)
Recommends: fonts-lato, libjs-jquery
Filename: pool/main/r/ruby2.7/ruby2.7_2.7.0-5ubuntu1_amd64.deb
Size: 95600
MD5sum: f5c8bd8f665288597e3c4827ea03ed5a
SHA1: dd595b7ae7ac3c006664bbfa74ac7dbef2beae0f
SHA256: 14476fd3e5bcf6c398c0e7286df36b4f52c50dc8db97f69e9d7a5ff73c5c2ad8
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby
Description-md5: acaf9860ea8a8843431ae8c96d9c2c19
Task: ubuntu-budgie-desktop
Architecture: amd64
Version: 2.7.0-5ubuntu1.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: 202
Depends: rubygems-integration (>= 1.8), libc6 (>= 2.4), libruby2.7 (>= 2.7.0~preview1)
Recommends: fonts-lato, libjs-jquery
Filename: pool/main/r/ruby2.7/ruby2.7_2.7.0-5ubuntu1.12_amd64.deb
Size: 95596
MD5sum: c8b8890df06e43546d5f907bb6890ac9
SHA1: 2162bdfccf4b40b05fb5fa44d0cc98e0f8aa40b3
SHA256: 2577c38d94ead31f356f9a998b08877e71f6a44347c0a9fa0a022c16bad680e2
SHA512: c4db7a2ad939807b9b46170eeaaf3af089accfa69033771da2490e195e3bbd7c3773419757a8c29e4f89f25d6e4fe741c7563d8affe8da4e7026ad344c39f363
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby
Description-md5: acaf9860ea8a8843431ae8c96d9c2c19
Task: ubuntu-budgie-desktop
Package: ruby2.7
Architecture: amd64
Version: 2.7.0-5ubuntu1
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: 201
Depends: rubygems-integration (>= 1.8), libc6 (>= 2.4), libruby2.7 (>= 2.7.0~preview1)
Recommends: fonts-lato, libjs-jquery
Filename: pool/main/r/ruby2.7/ruby2.7_2.7.0-5ubuntu1_amd64.deb
Size: 95600
MD5sum: f5c8bd8f665288597e3c4827ea03ed5a
SHA1: dd595b7ae7ac3c006664bbfa74ac7dbef2beae0f
SHA256: 14476fd3e5bcf6c398c0e7286df36b4f52c50dc8db97f69e9d7a5ff73c5c2ad8
Homepage: https://www.ruby-lang.org/
Description: Interpreter of object-oriented scripting language Ruby
Description-md5: acaf9860ea8a8843431ae8c96d9c2c19
Task: ubuntu-budgie-desktop