How to Install and Uninstall ruby-database-cleaner Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "ruby-database-cleaner" package

Please follow the guidelines below to install ruby-database-cleaner on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-database-cleaner

2. Uninstall "ruby-database-cleaner" package

Please follow the guidance below to uninstall ruby-database-cleaner on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-database-cleaner $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-database-cleaner package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-database-cleaner
Architecture: all
Version: 1.7.0-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: 166
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-database-cleaner/ruby-database-cleaner_1.7.0-1_all.deb
Size: 27432
MD5sum: b93ee396cef1fb2796076c482c8b5009
SHA1: 8e31ec4777a2601c372a5476341e81b56dbf9c61
SHA256: 613620e825aeb5eb4c48a43dcfb0cf3a81ef0876e1d7eedc5e2b7c6b59a4fa85
SHA512: 2df38f406ccf990c4bf5175f98be4a8529827ee736b33068c38b9871a53521e27da5387214bb42954ceb46c42ea8e403bc31facde5ac5851e0509b47eed9062c
Homepage: https://github.com/DatabaseCleaner/database_cleaner
Description-en: clean databases to ensure a clean state for testing
Strategies for cleaning databases. Can be used to ensure a clean state
for testing.
.
Each strategy is a small amount of code but is code that is usually needed
in any ruby app that is testing with a database.
.
ActiveRecord, DataMapper, Sequel, MongoMapper, Mongoid, CouchPotato, Ohm and
Redis are supported.
Description-md5: 864eaa8e794ff7c7a483cb6e7d8409fb
Ruby-Versions: all