How to Install and Uninstall ruby-rack-google-analytics Package on Ubuntu 21.10 (Impish Indri)

Last updated: July 08,2024

1. Install "ruby-rack-google-analytics" package

Learn how to install ruby-rack-google-analytics on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-rack-google-analytics

2. Uninstall "ruby-rack-google-analytics" package

Please follow the guidance below to uninstall ruby-rack-google-analytics on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove ruby-rack-google-analytics $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-rack-google-analytics package on Ubuntu 21.10 (Impish Indri)

Package: ruby-rack-google-analytics
Architecture: all
Version: 1.2.0-2.1
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: 36
Depends: ruby | ruby-interpreter, ruby-actionpack, ruby-activesupport
Filename: pool/universe/r/ruby-rack-google-analytics/ruby-rack-google-analytics_1.2.0-2.1_all.deb
Size: 6344
MD5sum: fa520dbb0e8883821596584fc8a0dec6
SHA1: c89117a77553a664058a79d02502c387478ac70a
SHA256: 65ff24b9a669bd5c436a59a7a80c1986e37be7f46cf74502d40194ae51eea7db
SHA512: ab5137fd0e7753162fc7b4a24f319c6c1a819da221112307fc48f8e815603da59e65ace7b8418366f53dea01327fd8ac9be46561702bbc360983894c8c62c084
Homepage: https://github.com/leehambley/rack-google-analytics
Description-en: Simple Rack middleware to inject the Google Analytics tracking code
This middleware injects either the synchronous or asynchronous Google
Analytics tracking code into the correct place of any request only when the
response's `Content-Type` header contains `html` (therefore `text/html`
and similar).
Description-md5: e4141874a977356510fb57d8474b81b0
Ruby-Versions: all