How to Install and Uninstall ruby-parser Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 20,2024

1. Install "ruby-parser" package

This is a short guide on how to install ruby-parser on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-parser

2. Uninstall "ruby-parser" package

This is a short guide on how to uninstall ruby-parser on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the ruby-parser package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-parser
Architecture: all
Version: 3.11.0-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2780
Depends: ruby | ruby-interpreter, ruby-sexp-processor (>= 4.9)
Filename: pool/universe/r/ruby-parser/ruby-parser_3.11.0-1_all.deb
Size: 167180
MD5sum: 9dee7adeaa1c2ee551b9fc57f7a92946
SHA1: b6a8bb4a44438b743aff95681ca1dd24e129830f
SHA256: 444d122974890bc6fe311ed5e9b0f27bb35a9d1bc5b588820ef69c4843f2f9e4
SHA512: 63e4938b4f0a445336cfdabd92abb202fed8d82f059e578666aa4bf76bc633f7bacfe446f499bb5aee2721ed320eb56f36e97db318af514f165f1995a308dcd2
Homepage: https://github.com/seattlerb/ruby_parser
Description-en: Ruby parser written in pure Ruby
ruby_parser (RP) can be used to parse and check syntax of Ruby code.
"Pure Ruby" in this context means the parser's code
* consists solely of Ruby source files
* does not add any native extensions or other C code (eg. with RubyInline)
which requires a C compiler to be present on the user's system
.
It utilizes racc and its output is same as that of ParseTree's.
Description-md5: b868d266d32f75e24ca0bc425b44c4fc
Ruby-Versions: all