How to Install and Uninstall ruby-cancancan Package on Kali Linux

Last updated: May 17,2024

1. Install "ruby-cancancan" package

Please follow the guidance below to install ruby-cancancan on Kali Linux

$ sudo apt update $ sudo apt install ruby-cancancan

2. Uninstall "ruby-cancancan" package

Please follow the instructions below to uninstall ruby-cancancan on Kali Linux:

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

3. Information about the ruby-cancancan package on Kali Linux

Package: ruby-cancancan
Version: 3.0.1+gh-1
Installed-Size: 131
Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Depends: ruby | ruby-interpreter
Size: 30140
SHA256: e7032f45d3cae9e461dcb42fc6b0d7db77a27139842254b07f8cc80e0d1aeac4
SHA1: 714006a0ea2adaa772b567259410e545b1e1221b
MD5sum: f4b4fbefa70d995fc98e3ba182c27dcd
Description: Authorization Gem for Ruby on Rails
CanCanCan is an authorization library for Ruby >= 2.2.0 and Ruby on Rails
>= 4.2 which restricts what resources a given user is allowed to access.
.
All permissions can be defined in one or multiple ability files and not
duplicated across controllers, views, and database queries, keeping your
permissions logic in one place for easy maintenance and testing.
.
It consists of two main parts:
1. Authorizations library that allows you to define the rules to access
different objects, and provides helpers to check for those permissions.
2. Rails helpers to simplify the code in Rails Controllers by performing the
loading and checking of permissions of models automatically and reduce
duplicated code.
Description-md5:
Homepage: https://github.com/CanCanCommunity/cancancan
Ruby-Versions: all
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-cancancan/ruby-cancancan_3.0.1+gh-1_all.deb