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

Last updated: December 29,2024

1. Install "ruby-test-construct" package

Please follow the steps below to install ruby-test-construct on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "ruby-test-construct" package

This guide let you learn how to uninstall ruby-test-construct on Ubuntu 21.10 (Impish Indri):

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

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

Package: ruby-test-construct
Architecture: all
Version: 2.0.2-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 32
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-test-construct/ruby-test-construct_2.0.2-1_all.deb
Size: 9000
MD5sum: 1a8fa9cf71cda1c82d91d66148b75639
SHA1: 1b39c2fad07ca16ffd90781b657429d10a9e107b
SHA256: 67522f105086c9399b24b9bbae21e4f82e20885321cfd410471d2c192311bdfc
SHA512: c1e77f06f1aa9c4b7bf941af1b497ce1dfdc6335dfe4ca6986e6bbb61ef9d19394d27c57d36c374b9500d861dcd7d5414190c5c8d1a59b01118cf87b5693978a
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