How to Install and Uninstall ruby-test-construct Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 22,2024

1. Install "ruby-test-construct" package

This tutorial shows how to install ruby-test-construct on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-test-construct

2. Uninstall "ruby-test-construct" package

Here is a brief guide to show you how to uninstall ruby-test-construct on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-test-construct $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-test-construct package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-test-construct
Architecture: all
Version: 2.0.1-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: 66
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-test-construct/ruby-test-construct_2.0.1-1_all.deb
Size: 8450
MD5sum: 2a5262c3fafe8ed56752b4069ec30eed
SHA1: c7ae563769cdc57885b77eeb1d7f7b3eb92b5cde
SHA256: 7c690786dbf3a4364dbc76f9b202cc2e66ebb5ecf1bece4c10eb22cd3a2349e8
SHA512: a9cb23a813f3c3994a2d74738359cc5dc679dbe76644045a5bfbde6802851ab3ff8898afa8b3a0027ec082d98700e0bfd8342d496a54ba6961f45b1172c3e6e6
Homepage: https://github.com/bhb/test_construct
Description-en: Ruby library that creates temporary files and directories for testing
TestConstruct is a DSL for creating temporary files and directories during
testing.
.
Using construct is as simple as calling within_construct and providing a
block. All files and directories that are created within that block are
created within a temporary directory. The temporary directory is always
deleted before within_construct finishes.
.
There is nothing special about the files and directories created with
TestConstruct, so you can use plain old Ruby IO methods to interact with them.
Description-md5: fd0c0ed540864b99b2584dbc87530e74
Ruby-Versions: all