How to Install and Uninstall ruby-github-linguist Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 03,2024

1. Install "ruby-github-linguist" package

Here is a brief guide to show you how to install ruby-github-linguist on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "ruby-github-linguist" package

Please follow the guidance below to uninstall ruby-github-linguist on Ubuntu 21.10 (Impish Indri):

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

3. Information about the ruby-github-linguist package on Ubuntu 21.10 (Impish Indri)

Package: ruby-github-linguist
Architecture: amd64
Version: 7.12.2-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3302
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.12.2-1_amd64.deb
Size: 912068
MD5sum: 142c6e3d509d989308f48b71ff711387
SHA1: 14dab3152c849816d312b9c2acea5cd1f6300d01
SHA256: b1d6c07dcbffd99c21ff2c31754aca6855c8bb7793162a7f089ac8f6055a845c
SHA512: b9d874ce4c9e80e66bb1e6713f650985ef36e3e0ba13b2adecdad11275ce281223f905f83dff258bcf99866077aa37348bf3910768040cfe276afb765f17373c
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