How to Install and Uninstall rubocop Package on Debian 12 (Bookworm)

Last updated: May 10,2024

1. Install "rubocop" package

Please follow the steps below to install rubocop on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install rubocop

2. Uninstall "rubocop" package

Please follow the step by step instructions below to uninstall rubocop on Debian 12 (Bookworm):

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

3. Information about the rubocop package on Debian 12 (Bookworm)

Package: rubocop
Version: 1.39.0+dfsg-1
Installed-Size: 3247
Maintainer: Debian Ruby Team
Architecture: all
Depends: ruby, ruby-json (>= 2.3), ruby-parallel (>= 1.10), ruby-whitequark-parser (>= 3.1.2.1), ruby-rainbow (>= 2.2.2), ruby-rainbow (<< 4.0), ruby-regexp-parser (>= 1.8), ruby-regexp-parser (<< 3.0), ruby-rexml (>= 3.2.5), ruby-rexml (<< 4.0), ruby-rubocop-ast (>= 1.23.0), ruby-rubocop-ast (<< 2.0), ruby-progressbar (>= 1.7), ruby-unicode-display-width (>= 1.4.0), ruby-unicode-display-width (<< 3.0)
Description: Ruby static code analyzer
Description-md5: 5f5232fb4de830f2f15258d35b4395ab
Homepage: https://github.com/rubocop-hq/rubocop
Section: ruby
Priority: optional
Filename: pool/main/r/rubocop/rubocop_1.39.0+dfsg-1_all.deb
Size: 595184
MD5sum: 21fa5554fcc7fcf4a8f067356ddf5032
SHA256: 86f71a1cebf53f9bd336a3f17bf0d3a1dadea104a956e65c8fa1ec03097772d9