How to Install and Uninstall ruby-has-secure-token Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 12,2024

1. Install "ruby-has-secure-token" package

This tutorial shows how to install ruby-has-secure-token on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-has-secure-token

2. Uninstall "ruby-has-secure-token" package

This is a short guide on how to uninstall ruby-has-secure-token on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove ruby-has-secure-token $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-has-secure-token package on Ubuntu 21.10 (Impish Indri)

Package: ruby-has-secure-token
Architecture: all
Version: 1.0.0-2
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: 28
Depends: ruby-activerecord (>= 2:3.0)
Filename: pool/universe/r/ruby-has-secure-token/ruby-has-secure-token_1.0.0-2_all.deb
Size: 5236
MD5sum: 5973bded5b1f994e2bc6c7ae92708118
SHA1: 61a910f63caaaca78041a10c9ccb437ecefb9fc1
SHA256: 8ccbb58e64a2f0fd0e5ad9cf6e93e1e0c21d32c22accc0ba437c69311b56859f
SHA512: 4e9b0a78f6014ee7c0efcb7600926bc98840a514169cf615d38010a69365d6b9ebda2553ae4acea4728bf726a4432f498d6a8f85cbab900ffb74f6ce0bedbe3a
Homepage: https://github.com/robertomiranda/has_secure_token
Description-en: Unique creation for random tokens for any model in ruby on rails
The gems intends to provide an easy way to generate unique random tokens for
any model in ruby on rails. SecureRandom::base58 is used to generate the
24-character unique tokens, so collisions are highly unlikely.
.
Backport of ActiveRecord::SecureToken 5 to AR 3.x and 4.
Description-md5: 2aeccea8c44026935b7dbca80d022f21
Ruby-Versions: all