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

Last updated: November 25,2024

1. Install "ruby-github-linguist" package

This guide let you learn how to install ruby-github-linguist on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-github-linguist

2. Uninstall "ruby-github-linguist" package

Learn how to uninstall ruby-github-linguist on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove ruby-github-linguist $ sudo apt autoclean && sudo apt autoremove

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

Package: ruby-github-linguist
Priority: optional
Section: universe/ruby
Installed-Size: 2695
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 4.7.2-2
Depends: ruby | ruby-interpreter, ruby-charlock-holmes (>= 0.7.3~), ruby-escape-utils (>= 1.1.0~), ruby-mime-types, ruby-rugged (>= 0.23~)
Filename: pool/universe/r/ruby-github-linguist/ruby-github-linguist_4.7.2-2_all.deb
Size: 557780
MD5sum: fbbfa605aec57a99a510d7ceec2af680
SHA1: 28705ba66294d254bd351bec558c2e60c7233240
SHA256: aaa8e0d757b6a24983b13d591092fe2502037d7e2e05f5e7dbebbe44a720a50e
Description-en: detection and highlight of the programming language of source code
Language detection: ruby-github-linguist defines a list of all languages
known to GitHub in a yaml file. In order for a file to be highlighted, a
language and a lexer must be defined there.
.
Syntax Highlighting: The actual syntax highlighting is handled by the
Pygments wrapper, ruby-pygments.rb. It also provides a Lexer abstraction that
determines which highlighter should be used on a file.
.
Stats: The Language stats bar that you see on every repository is built by
aggregating the languages of each file in that repository. The top language in
the graph determines the project's primary language.
.
Ignore vendored files: Checking other code into your git repo is a common
practice. But this often inflates your project's language stats and may even
cause your project to be labeled as another language. ruby-github-linguist is
able to identify some of these files and directories and exclude them.
.
Generated file detection: Not all plain text files are true source files.
Generated files like minified js and compiled CoffeeScript can be detected and
excluded from language stats. As an extra bonus, these files are suppressed in
diffs.
Description-md5: 6a332002f9000a69d52636b2361e4732
Homepage: https://github.com/github/linguist
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu