How to Install and Uninstall rubocop Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: November 23,2024

1. Install "rubocop" package

This tutorial shows how to install rubocop on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install rubocop

2. Uninstall "rubocop" package

In this section, we are going to explain the necessary steps to uninstall rubocop on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the rubocop package on Ubuntu 23.10 (Mantic Minotaur)

Package: rubocop
Architecture: all
Version: 1.39.0+dfsg-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3247
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)
Filename: pool/universe/r/rubocop/rubocop_1.39.0+dfsg-1_all.deb
Size: 455918
MD5sum: 2fd8a62a96395809062f141c14549c6f
SHA1: 7e0d949e35343a0af85f49ddfdbee3c72da838d8
SHA256: f165d90626e851488bbe14117802bc09fc2b6494931d046d43b7fcaddf80e86b
SHA512: fd71f7a7faf7c5e4c297d0980f8a5f45ef5678830a86a64e0396c5ac8f47654f76513c867df677ab03b5fac83e6146361fe56c577eaf2ec4c3bb9767d1ed8f21
Homepage: https://github.com/rubocop-hq/rubocop
Description: Ruby static code analyzer
Description-md5: 5f5232fb4de830f2f15258d35b4395ab