How to Install and Uninstall rubocop Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "rubocop" package

This guide covers the steps necessary to install rubocop on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install rubocop

2. Uninstall "rubocop" package

Here is a brief guide to show you how to uninstall rubocop on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove rubocop $ sudo apt autoclean && sudo apt autoremove

3. Information about the rubocop package on Ubuntu 21.10 (Impish Indri)

Package: rubocop
Architecture: all
Version: 0.89.1+dfsg-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: 2390
Depends: ruby, ruby-parallel (>= 1.10), ruby-whitequark-parser (>= 2.7.1.1), ruby-rainbow (>= 2.2.2), ruby-rainbow (<< 4.0), ruby-regexp-parser (>= 1.7), ruby-rubocop-ast (>= 0.3.0), ruby-rubocop-ast (<< 1.0), ruby-progressbar (>= 1.7), ruby-unicode-display-width (>= 1.4.0), ruby-unicode-display-width (<< 2.0)
Filename: pool/universe/r/rubocop/rubocop_0.89.1+dfsg-1_all.deb
Size: 333988
MD5sum: 65d9dd6bac7851cf06b8554afe82016c
SHA1: 41c53c09fe98d198c0140a6afa831a1bcf409295
SHA256: 9d200bd8d9c64099c6270977ed0bf75d00ee8e8559f82e87e2dcfad14c0cae13
SHA512: d7b88aa8bb59c2486c75e06d5b7d08e8710789678d5b5bbceda44a1c412b6e4c25bbbdb18145d44a5673b3638e4102c9457020cf0e284710cdf29e52864460e6
Homepage: https://github.com/rubocop-hq/rubocop
Description-en: Ruby static code analyzer
rubocop is a static code analyzer for Ruby, out of the box it will
enforce many of the guidelines outlined in the community Ruby Style Guide.
.
Most aspects of its behavior can be tweaked via various configuration
options.
.
Apart from reporting problems in your code, RuboCop can also
automatically fix some of the problems for you.
Description-md5: 5f5232fb4de830f2f15258d35b4395ab
Ruby-Versions: all