How to Install and Uninstall ruby-parser Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "ruby-parser" package

Please follow the guidelines below to install ruby-parser on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-parser

2. Uninstall "ruby-parser" package

This guide covers the steps necessary to uninstall ruby-parser on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-parser package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-parser
Priority: optional
Section: universe/ruby
Installed-Size: 1387
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 3.6.6-1
Depends: ruby | ruby-interpreter, ruby-sexp-processor (>= 4.1)
Filename: pool/universe/r/ruby-parser/ruby-parser_3.6.6-1_all.deb
Size: 126696
MD5sum: 8a2c8e59ae36a2b7477ce47d0620ebcd
SHA1: 47d997a478440b4bc6a14efd745b483fe47a167e
SHA256: 4f62ce25a15fe62ca8eaf1673396ed6a08b30120e5d44ef4f826722cbb665977
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
Homepage: https://github.com/seattlerb/ruby_parser
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu