How to Install and Uninstall ruby-rack-google-analytics Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

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

In this section, we are going to explain the necessary steps to install ruby-rack-google-analytics on Ubuntu 16.04 LTS (Xenial Xerus)

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

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

Here is a brief guide to show you how to uninstall ruby-rack-google-analytics on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-rack-google-analytics package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-rack-google-analytics
Priority: optional
Section: universe/ruby
Installed-Size: 83
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 1.2.0-1
Depends: ruby | ruby-interpreter, ruby-actionpack, ruby-activesupport
Filename: pool/universe/r/ruby-rack-google-analytics/ruby-rack-google-analytics_1.2.0-1_all.deb
Size: 5948
MD5sum: 49978f1b565ef3340be890f05d7f8d7a
SHA1: abba5cfc8dd1e9e8c94feb8c2d17147d2f60e3fc
SHA256: 9a70f742e2b3a68f98d0c4dcc99fed0cfbf684eeb2638e950a3b7ea065307914
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
Homepage: https://github.com/leehambley/rack-google-analytics
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu