How to Install and Uninstall source-highlight.x86_64 Package on Amazon Linux 2

Last updated: April 29,2024

1. Install "source-highlight.x86_64" package

Please follow the instructions below to install source-highlight.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install source-highlight.x86_64

2. Uninstall "source-highlight.x86_64" package

Please follow the steps below to uninstall source-highlight.x86_64 on Amazon Linux 2:

$ sudo yum remove source-highlight.x86_64 $ sudo yum autoremove

3. Information about the source-highlight.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : source-highlight
Arch : x86_64
Version : 3.1.6
Release : 6.amzn2.0.2
Size : 619 k
Repo : amzn2-core/2/x86_64
Summary : Produces a document with syntax highlighting
URL : http://www.gnu.org/software/src-highlite/
License : GPLv3+
Description : This program, given a source file, produces a document with syntax
: highlighting. At the moment this package can handle :
: Java, Javascript, C/C++, Prolog, Perl, Php3, Python, Flex,
: ChangeLog, Ruby, Lua, Caml, Sml and Log as source languages, and
: HTML, XHTML and ANSI color escape sequences as output format.