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

Last updated: November 22,2024

1. Install "ruby-sinatra-contrib" package

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

$ sudo apt update $ sudo apt install ruby-sinatra-contrib

2. Uninstall "ruby-sinatra-contrib" package

This is a short guide on how to uninstall ruby-sinatra-contrib on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove ruby-sinatra-contrib $ sudo apt autoclean && sudo apt autoremove

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

Package: ruby-sinatra-contrib
Priority: optional
Section: universe/ruby
Installed-Size: 118
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 1.4.6-2
Depends: ruby | ruby-interpreter, ruby-backports (>= 2.0~), ruby-multi-json, ruby-rack-protection, ruby-rack-test, ruby-sinatra (>= 1.4.2~), ruby-tilt (>= 1.3~)
Filename: pool/universe/r/ruby-sinatra-contrib/ruby-sinatra-contrib_1.4.6-2_all.deb
Size: 26896
MD5sum: 42c5f71d7aab73635512d94eeb0a943b
SHA1: 780a64e89466c599025b6baf469ce316651916a9
SHA256: 9b353326dc7ac135079ef95be2d6efd192390ac82b56fed53c38ada0d754b29e
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: Let's 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: a167c7c1e2cf3206d728b16446e24097
Homepage: https://github.com/sinatra/sinatra-contrib
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu