How to Install and Uninstall ruby-sinatra-contrib Package on Ubuntu 20.10 (Groovy Gorilla)
Last updated: November 25,2024
1. Install "ruby-sinatra-contrib" package
Here is a brief guide to show you how to install ruby-sinatra-contrib on Ubuntu 20.10 (Groovy Gorilla)
$
sudo apt update
Copied
$
sudo apt install
ruby-sinatra-contrib
Copied
2. Uninstall "ruby-sinatra-contrib" package
This guide covers the steps necessary to uninstall ruby-sinatra-contrib on Ubuntu 20.10 (Groovy Gorilla):
$
sudo apt remove
ruby-sinatra-contrib
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ruby-sinatra-contrib package on Ubuntu 20.10 (Groovy Gorilla)
Package: ruby-sinatra-contrib
Architecture: all
Version: 2.0.8.1-2
Priority: optional
Section: universe/ruby
Source: ruby-sinatra
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 126
Depends: ruby, ruby-mustermann (>= 1.0~), ruby-sinatra (>= 2.0.5~), ruby-backports (>= 2.8.2), ruby-tilt (>= 2.0~), ruby-rack-protection (>= 2.0.5~), ruby-multi-json
Filename: pool/universe/r/ruby-sinatra/ruby-sinatra-contrib_2.0.8.1-2_all.deb
Size: 26360
MD5sum: 0cc4f9ff2277d3e0faacd660450df381
SHA1: 832695dc63122d652e77ad3c0087f584c886e2a1
SHA256: b438d1ebbe2281ef6933aedd795a18042aff403dbee1a79c77603615bb3709ac
SHA512: ae1a37c8b7266f45c8c099e045e20fe58f3a8a2814bd4d7532668a5ea036b42722d784e5713721d6b99ef9c2ec21622847486c50caa14c7a6029d7ffe9e6d294
Homepage: http://www.sinatrarb.com/
Description-en: collection of useful extensions to the Sinatra web framework
sinatra-contrib is a collection of common extensions to the Sinatra web
framework, semi-officially supported:
- capture: Lets you capture the content of blocks in templates.
- config_file: Allows loading configuration from yaml files.
- content_for: Adds Rails-style content_for helpers to Haml, Erb,
Erubis and Slim.
- cookies: A cookies helper for reading and writing cookies.
- engine_tracking: Adds methods like haml? that allow helper methods
to check whether they are called from within a template.
- json: Adds a #json helper method to return JSON documents.
- link_header: Helpers for generating link HTML tags and
corresponding Link HTTP headers. Adds link, stylesheet and prefetch helper
methods.
- multi_route: Adds ability to define one route block for multiple
routes and multiple or custom HTTP verbs.
- namespace: Adds namespace support to Sinatra.
- respond_with: Choose action and/or template automatically depending
on the incoming request. Adds helpers respond_to and respond_with.
- custom_logger: Allows one to define their own logger instance.
- decompile: Recreates path patterns from Sinatra's internal data
structures (used by other extensions).
- reloader: Automatically reloads Ruby files on code changes.
- extension: Mixin for writing your own Sinatra extensions.
- test_helpers: Helper methods to ease testing your Sinatra
application. Partly extracted from Sinatra. Testing framework agnostic.
Description-md5: 56ae0b4094103de483ea43df9b7167ef
Ruby-Versions: all
Architecture: all
Version: 2.0.8.1-2
Priority: optional
Section: universe/ruby
Source: ruby-sinatra
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 126
Depends: ruby, ruby-mustermann (>= 1.0~), ruby-sinatra (>= 2.0.5~), ruby-backports (>= 2.8.2), ruby-tilt (>= 2.0~), ruby-rack-protection (>= 2.0.5~), ruby-multi-json
Filename: pool/universe/r/ruby-sinatra/ruby-sinatra-contrib_2.0.8.1-2_all.deb
Size: 26360
MD5sum: 0cc4f9ff2277d3e0faacd660450df381
SHA1: 832695dc63122d652e77ad3c0087f584c886e2a1
SHA256: b438d1ebbe2281ef6933aedd795a18042aff403dbee1a79c77603615bb3709ac
SHA512: ae1a37c8b7266f45c8c099e045e20fe58f3a8a2814bd4d7532668a5ea036b42722d784e5713721d6b99ef9c2ec21622847486c50caa14c7a6029d7ffe9e6d294
Homepage: http://www.sinatrarb.com/
Description-en: collection of useful extensions to the Sinatra web framework
sinatra-contrib is a collection of common extensions to the Sinatra web
framework, semi-officially supported:
- capture: Lets you capture the content of blocks in templates.
- config_file: Allows loading configuration from yaml files.
- content_for: Adds Rails-style content_for helpers to Haml, Erb,
Erubis and Slim.
- cookies: A cookies helper for reading and writing cookies.
- engine_tracking: Adds methods like haml? that allow helper methods
to check whether they are called from within a template.
- json: Adds a #json helper method to return JSON documents.
- link_header: Helpers for generating link HTML tags and
corresponding Link HTTP headers. Adds link, stylesheet and prefetch helper
methods.
- multi_route: Adds ability to define one route block for multiple
routes and multiple or custom HTTP verbs.
- namespace: Adds namespace support to Sinatra.
- respond_with: Choose action and/or template automatically depending
on the incoming request. Adds helpers respond_to and respond_with.
- custom_logger: Allows one to define their own logger instance.
- decompile: Recreates path patterns from Sinatra's internal data
structures (used by other extensions).
- reloader: Automatically reloads Ruby files on code changes.
- extension: Mixin for writing your own Sinatra extensions.
- test_helpers: Helper methods to ease testing your Sinatra
application. Partly extracted from Sinatra. Testing framework agnostic.
Description-md5: 56ae0b4094103de483ea43df9b7167ef
Ruby-Versions: all