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

Last updated: May 15,2024

1. Install "ruby-capture-output" package

This tutorial shows how to install ruby-capture-output on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-capture-output

2. Uninstall "ruby-capture-output" package

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

$ sudo apt remove ruby-capture-output $ sudo apt autoclean && sudo apt autoremove

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

Package: ruby-capture-output
Priority: optional
Section: universe/ruby
Installed-Size: 55
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 1.0.0-2
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-capture-output/ruby-capture-output_1.0.0-2_all.deb
Size: 4388
MD5sum: 812b0311ac85637a7c7297fd8da7580d
SHA1: 73202d056cc77b0e9104336bfd7c2f39bfd02f6d
SHA256: 867f4ce162b17f81ef5634ad53f0d8d1d63db1487b302c6eb1023c90ad7ab949
Description-en: Ruby library to grab given IO output and return it as a string
Provides Capture.output, Capture.stdout and Capture.stderr methods that can be
used to grab output generated by current or spawned process.
.
This is useful for testing when you need to start a process and check its
output or when you need to check current process output.
Description-md5: 071109a285f9289525066dc12dfa8729
Homepage: http://github.com/jpastuszek/capture-output
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu