How to Install and Uninstall ruby-github-linguist Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 04,2024

1. Install "ruby-github-linguist" package

This is a short guide on how to install ruby-github-linguist on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "ruby-github-linguist" package

Please follow the instructions below to uninstall ruby-github-linguist on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the ruby-github-linguist package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-github-linguist
Architecture: amd64
Version: 7.9.0-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: 4755
Depends: ruby (>= 1:2.7~0), ruby-charlock-holmes (>= 0.7.6~), ruby-escape-utils (>= 1.2~), ruby-mini-mime (>= 1.0~), ruby-rugged (>= 0.25.1~), libc6 (>= 2.4), libruby2.7 (>= 2.7.0~preview1), ruby (<< 1:2.8~)
Breaks: gitaly (<< 0.129.0+debian~), gitlab (<< 11.5.3+dfsg~)
Filename: pool/universe/r/ruby-github-linguist/ruby-github-linguist_7.9.0-1_amd64.deb
Size: 922136
MD5sum: 96f16e902caff0cfccb614a0213d2e49
SHA1: a9f13d8f379e921dc6c9de9a487f63acdda36838
SHA256: 4e2fc422dcc5fa20c9e96ae7713f072d8177778f36513f76f63c52da9ea236c6
SHA512: ca9cc34aee8ddfa2d45198a3733d40a4a6f722c08d26d3d80ea52de33c41ce594bd903e0c4a608f7b39ae98fecc68ef674ae16081c34c24ae81a3b4eedcef296
Homepage: https://github.com/github/linguist
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
Ruby-Versions: ruby2.7