How to Install and Uninstall ruby-rack-mobile-detect Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 21,2024

1. Install "ruby-rack-mobile-detect" package

Please follow the guidelines below to install ruby-rack-mobile-detect on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-rack-mobile-detect

2. Uninstall "ruby-rack-mobile-detect" package

This guide covers the steps necessary to uninstall ruby-rack-mobile-detect on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-rack-mobile-detect $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-rack-mobile-detect package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-rack-mobile-detect
Architecture: all
Version: 0.4.0-4
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: 27
Depends: ruby | ruby-interpreter, ruby-rack
Filename: pool/universe/r/ruby-rack-mobile-detect/ruby-rack-mobile-detect_0.4.0-4_all.deb
Size: 5796
MD5sum: f4b04f565ca4ec857bcb41bd84239527
SHA1: ebaf7e3b9565425abba8d577c6d353f899916234
SHA256: 1638b50f0d54f6e267e22a2828f60828b2768664478068c5100ff3438246a313
SHA512: 60727f3b93dabb3aa3c9c4d662b4578a0856decb8d219d310d8c9cfcb232f076cde574390fe08c50e37a0d4600f0343ab8c7097396b97e438bda0049f0d2a90b
Homepage: https://github.com/talison/rack-mobile-detect
Description-en: rack middleware for ruby webapps to detect mobile devices
Rack::MobileDetect detects mobile devices and adds an
X_MOBILE_DEVICE header to the request if a mobile device is detected. Specific
devices can be targeted with custom Regexps and redirect support is available.
Description-md5: 4965396a3dd3ac98c577291e17795293
Ruby-Versions: all