How to Install and Uninstall ruby-paranoia Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 09,2024

1. Install "ruby-paranoia" package

Here is a brief guide to show you how to install ruby-paranoia on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-paranoia

2. Uninstall "ruby-paranoia" package

Please follow the step by step instructions below to uninstall ruby-paranoia on Ubuntu 21.10 (Impish Indri):

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

3. Information about the ruby-paranoia package on Ubuntu 21.10 (Impish Indri)

Package: ruby-paranoia
Architecture: all
Version: 2.4.2-1
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: 40
Depends: ruby | ruby-interpreter, ruby-activerecord (>= 2:4.0~)
Filename: pool/universe/r/ruby-paranoia/ruby-paranoia_2.4.2-1_all.deb
Size: 11084
MD5sum: ca12fc389e66bf4be345d990c2d51da2
SHA1: 25734202963cf12a18005cd9500b9e540223a2c1
SHA256: 9ae8cc656900da7b07d1172e50081d0e7a5f6b15ff23181be91162d8b5c4ede0
SHA512: a1cf1000514833167bd9e8f862412277c422867b148eb4747eb8a9a04b42065ef755715a6a971f2cccd7b6d56c861e8f1a0cb18dd5c75a5dfe36e84e9ceb563b
Homepage: https://rubygems.org/gems/paranoia
Description-en: re-implementation of acts_as_paranoid for Rails 3
Paranoia is a re-implementation of acts_as_paranoid for Rails 3, using much,
much, much less code. You would use either plugin / gem if you wished that
when you called destroy on an Active Record object that it didn't actually
destroy it, but just "hid" the record. Paranoia does this by setting a
deleted_at field to the current time when you destroy a record, and hides it
by scoping all queries on your model to only include records which do not have
a deleted_at field.
Description-md5: bf3a95406d293ece533a4095e9959445
Ruby-Versions: all