How to Install and Uninstall libjs-prettify Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 21,2024

1. Install "libjs-prettify" package

This tutorial shows how to install libjs-prettify on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libjs-prettify

2. Uninstall "libjs-prettify" package

In this section, we are going to explain the necessary steps to uninstall libjs-prettify on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libjs-prettify $ sudo apt autoclean && sudo apt autoremove

3. Information about the libjs-prettify package on Ubuntu 21.04 (Hirsute Hippo)

Package: libjs-prettify
Architecture: all
Version: 2015.12.04+dfsg-1.1
Priority: optional
Section: universe/web
Source: prettify.js
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 152
Filename: pool/universe/p/prettify.js/libjs-prettify_2015.12.04+dfsg-1.1_all.deb
Size: 39256
MD5sum: ca7fc1605439af610c766e176b2af522
SHA1: e96d9d8b9a1e293363eb2d4df1c8a122f6465393
SHA256: 717335db2e7eee0ba810647cb8983c20ca10919bbd307f021a1d65782c402a43
SHA512: 3001d9820d1cc92e7cf711020dd33aa4bcc8a273ebddadce01e5d6313374876266c1c557b3ba0b7f87809c59a9b6ad1ffe60c2c5dc71b8edd2b212f309cfe645
Homepage: https://github.com/google/code-prettify/
Description-en: syntax highlighting of source code snippets in an html page
A Javascript module and CSS file that allows syntax highlighting of
source code snippets in an html page.
.
Features:
.
* Works on HTML pages
* Works even if code contains embedded links, line numbers, etc.
* Simple API : include some JS&CSS and add an onload handler.
* Customizable styles via CSS. See the themes gallery
* Supports all C-like, Bash-like, and XML-like languages.
* Extensible language handlers for other languages.
* Widely used with good cross-browser support.
Description-md5: f181027e46872383582621efc9d54d6a