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

Last updated: November 26,2024

1. Install "ruby-state-machine" package

Please follow the guidelines below to install ruby-state-machine on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-state-machine

2. Uninstall "ruby-state-machine" package

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

$ sudo apt remove ruby-state-machine $ sudo apt autoclean && sudo apt autoremove

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

Package: ruby-state-machine
Priority: optional
Section: universe/ruby
Installed-Size: 694
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 1.2.0-2
Depends: ruby | ruby-interpreter
Recommends: ruby-graphviz, ruby-activerecord, ruby-activemodel, ruby-sequel
Suggests: yard
Filename: pool/universe/r/ruby-state-machine/ruby-state-machine_1.2.0-2_all.deb
Size: 143096
MD5sum: 7e7dc96111bceb3b46fc36040a97c30d
SHA1: bdc84e43d479381cd8bfedc13f7dfc263781bf36
SHA256: 92db02f6593d43d8573a9dbd497d5342327a45ea3e9b482cc2e927f86f327c00
Description-en: State machines for attributes
This Ruby library adds support for creating state machines for attributes on
any Ruby class.
.
State machines make it simple to manage the behavior of a class.
Often, the state of an object is kept by creating multiple boolean attributes
and deciding how to behave based on the values. This can become cumbersome and
difficult to maintain when the complexity of the class starts to increase.
.
This library simplifies this design by introducing the various parts of a real
state machine, including states, events, transitions, and callbacks. It also
provides a YARD plugin to document state machines in Ruby.
Description-md5: 68bea083b9ef3332e0db1a32a0700186
Homepage: http://www.pluginaweek.org
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu