How to Install and Uninstall ruby-gtk2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "ruby-gtk2" package

This tutorial shows how to install ruby-gtk2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install ruby-gtk2

2. Uninstall "ruby-gtk2" package

Please follow the instructions below to uninstall ruby-gtk2 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove ruby-gtk2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-gtk2 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: ruby-gtk2
Architecture: amd64
Version: 3.4.1-2build1
Multi-Arch: same
Priority: optional
Section: universe/ruby
Source: ruby-gnome
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2138
Depends: ruby (>= 1:2.7~0), ruby-atk (>= 3.4.1-2build1), ruby-gdk-pixbuf2 (>= 3.4.1-2build1), ruby-pango (= 3.4.1-2build1), libc6 (>= 2.4), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.31.8), libgtk2.0-0 (>= 2.24.0), libpango-1.0-0 (>= 1.14.0), libx11-6, libruby2.7 (>= 2.7.0-4), ruby (<< 1:2.8~)
Filename: pool/universe/r/ruby-gnome/ruby-gtk2_3.4.1-2build1_amd64.deb
Size: 497940
MD5sum: d65da5a653afa6f264c7ac6f895e44b6
SHA1: ace7eee5ed6165b3dc52dfd6522679c9753db811
SHA256: bf97881baffd425f43020a7c5f17b4ebda00f93db2610fd4e087e6c166f6ac22
Homepage: http://ruby-gnome2.osdn.jp/
Description: GTK+ 2 bindings for the Ruby language
Description-md5: 4a1a1f9d87da18df003b503ac013e296
Ruby-Versions: ruby2.7