How to Install and Uninstall rubocop Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 23,2024

1. Install "rubocop" package

Please follow the step by step instructions below to install rubocop on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install rubocop

2. Uninstall "rubocop" package

Please follow the steps below to uninstall rubocop on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the rubocop package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: rubocop
Architecture: all
Version: 0.89.1+dfsg-3
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
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.5.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-3_all.deb
Size: 337628
MD5sum: 7b61e520c8343f78ff6c3e011dcbe0f9
SHA1: f97788a1cf17cb209639b0ab8a9e9a5cdeee4f1e
SHA256: 8d6d133ba263e81f5a220c4a4aa546ec1aab16a403611d7e26c96920ec446411
SHA512: a6dc9b0915134ed166d5407766dd6997b16f6044227d1c21873e30c2fd8fe39c8bc66d22b96d5b8d3758c9856550383a93997536db1196e2c7405e48a830b4ca
Homepage: https://github.com/rubocop-hq/rubocop
Description: Ruby static code analyzer
Description-md5: 5f5232fb4de830f2f15258d35b4395ab
Ruby-Versions: all