How to Install and Uninstall ruby-http-accept-language Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 04,2024

1. Install "ruby-http-accept-language" package

This is a short guide on how to install ruby-http-accept-language on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-http-accept-language

2. Uninstall "ruby-http-accept-language" package

Please follow the guidance below to uninstall ruby-http-accept-language on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-http-accept-language $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-http-accept-language package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-http-accept-language
Architecture: all
Version: 2.1.1-3
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: 33
Depends: ruby-activesupport
Suggests: ruby-railties
Filename: pool/universe/r/ruby-http-accept-language/ruby-http-accept-language_2.1.1-3_all.deb
Size: 7140
MD5sum: 45d1875878522f2244dd26e6d71444f9
SHA1: 711d2632e5f2e48c117bff7d55c1f994f68c7f32
SHA256: 0f7a70eee9c6467bb335c3e15e05d4c3bd77d9197cb2daf1768f55b9f9a8d734
SHA512: 8ed4069c7a6fd0a6f4ffeded3b881a5c78e1bcbb6ceb318a52092e5dd7612b84e7ebc45e9b763b5c5b5f501cf83b51a053ce13524d279e895a1790ccb5875656
Homepage: https://github.com/iain/http_accept_language
Description-en: Ruby library that finds out which locale the user prefers
This ruby library reads the language user specified in their browser
and returns the language in an array. This package will be useful
in cases where the locale should be selected depending on the
user's locale settings automatically.
.
Features
* Splits the http-header into languages specified by the user
* Returns empty array if header is malformed.
* Corrects case to xx-XX
* Sorted by priority given, as much as possible.
* Gives you the most important language
* Gives compatible languages
Description-md5: 9a1ed4d181c79627651f76d7aded6e1b
Ruby-Versions: all