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

Last updated: May 20,2024

1. Install "ruby-retryable" package

Learn how to install ruby-retryable on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-retryable

2. Uninstall "ruby-retryable" package

Here is a brief guide to show you how to uninstall ruby-retryable on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: ruby-retryable
Priority: optional
Section: universe/ruby
Installed-Size: 28
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 2.0.1-1
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-retryable/ruby-retryable_2.0.1-1_all.deb
Size: 4504
MD5sum: 82bfd96883c51db08f42510dc242f1fb
SHA1: db9f12e24e562e198ac83be014585b2252701f11
SHA256: 1b7ea04cf07760473507b2f36498d32833732d93a0e445f2db980f9fdf220d73
Description-en: Retryable#retryable, allows for retrying of code blocks.
Runs a code block, and retries it when an exception occurs. It's great when
working with flakey webservices (for example).
.
It's configured using four optional parameters :tries, :on, :sleep, :matching,
:ensure, :exception_cb and runs the passed block. Should an exception occur,
it'll retry for (n-1) times.
.
Should the number of retries be reached without success, the last exception
will be raised.
Description-md5: 7555e76c7ff11cc814a77477a8369c0d
Homepage: http://github.com/nfedyashev/retryable
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu