How to Install and Uninstall ruby-paranoia Package on Ubuntu 16.04 LTS (Xenial Xerus)

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 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-paranoia

2. Uninstall "ruby-paranoia" package

This tutorial shows how to uninstall ruby-paranoia on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-paranoia package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-paranoia
Priority: optional
Section: universe/ruby
Installed-Size: 31
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 2.1.3-1
Depends: ruby | ruby-interpreter, ruby-activerecord (>= 4.0)
Filename: pool/universe/r/ruby-paranoia/ruby-paranoia_2.1.3-1_all.deb
Size: 7544
MD5sum: d30133bd8936da4dd6b28e1bafdf0813
SHA1: c49ef61f53820c6883f69a4de3f80e409771f0c0
SHA256: 062b976bbbdc70fc2690cf30362937f7fcb7035c01633ce84dcc77e2cb3fc8ce
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
Homepage: http://rubygems.org/gems/paranoia
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu