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

Last updated: May 17,2024

1. Install "ruby-cocaine" package

This guide let you learn how to install ruby-cocaine on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-cocaine

2. Uninstall "ruby-cocaine" package

In this section, we are going to explain the necessary steps to uninstall ruby-cocaine on Ubuntu 21.10 (Impish Indri):

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

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

Package: ruby-cocaine
Architecture: all
Version: 0.5.8-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: 45
Depends: ruby | ruby-interpreter, ruby-climate-control (<< 1.0), ruby-climate-control (>= 0.0.3)
Filename: pool/universe/r/ruby-cocaine/ruby-cocaine_0.5.8-1.1_all.deb
Size: 9176
MD5sum: 7392eccb8ff8a99cd787774c68b905cf
SHA1: 99057d036a271fca456db0694738fdf5455a2825
SHA256: d477ad3352e1c127867740ae681a152ef15085c5d0f9ffadbcb2a0204d347d45
SHA512: feb0453758455d1677973ba9aba3f89d8e7127b543891971897ccb08e10643f8f1063a065632c94051b5dde9122a55a1838fb522cca12db90f9c893cb8e56b04
Homepage: https://github.com/thoughtbot/cocaine
Description-en: library for running command line commands in Ruby
cocaine is used to run command line commands in Ruby. Commands are run
using backticks(Ruby 1.8) or Process.spawn(Ruby 1.9).
.
This library supports interpolated arguments and prevents attempts
to break system. This library throws exception if the command returns
errors.
.
Performance can be increased by installing posix-spawn gem.
Description-md5: 9c3a2826fcd0f42f151e234b2ac87475
Ruby-Versions: all