How to Install and Uninstall lhs2tex Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 07,2024

1. Install "lhs2tex" package

In this section, we are going to explain the necessary steps to install lhs2tex on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install lhs2tex

2. Uninstall "lhs2tex" package

Learn how to uninstall lhs2tex on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove lhs2tex $ sudo apt autoclean && sudo apt autoremove

3. Information about the lhs2tex package on Ubuntu 21.04 (Hirsute Hippo)

Package: lhs2tex
Architecture: amd64
Version: 1.24-1build2
Multi-Arch: foreign
Priority: optional
Section: universe/text
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2534
Depends: texlive-latex-base, texlive-science, tex-common (>= 6.13), libc6 (>= 2.29), libffi8ubuntu1 (>= 3.4~20200819), libgmp10
Filename: pool/universe/l/lhs2tex/lhs2tex_1.24-1build2_amd64.deb
Size: 866936
MD5sum: d322721feb36c421964cd94cc0f85a2c
SHA1: 4833e9786d47263d8cb98ad7941301124d18b85d
SHA256: ac1f7dad17bc36acd9acb82ddca4750f1cf772ad530a0de3889fd16fbce8c604
SHA512: 070cc2fc3f7dd55e64b14345a2df83f146532266e9ff04487c9faea0a5cbde2c3123cca5dc25002126858adf5302deaa2fa0fe5475a968a38c3b7fd5e1d6fbe9
Homepage: https://github.com/kosmikus/lhs2tex
Description-en: Generates LaTeX code from literate Haskell sources
lhs2TeX includes the following features:
.
Different styles to process your source file: for instance,
"tt" style uses a monospaced font for the code while still
allowing you to highlight keywords etc, whereas
"poly" style uses proportional fonts for identifiers, handles
indentation nicely, is able to replace binary operators by
mathematical symbols and take care of complex horizontal
alignments.
.
Formatting directives, which let you customize the way certain
tokens in the source code should appear in the processed
output.
.
A liberal parser that can handle most of the language
extensions; you don't have to restrict yourself to Haskell 98.
.
Preprocessor-style conditionals that allow you to generate
different versions of a document from a single source file
(for instance, a paper and a presentation).
.
Active documents: you can use Haskell to generate parts of the
document (useful for papers on Haskell).
.
A manual explaining all the important aspects of lhs2TeX.
Description-md5: 96615613d7aa6971ace8fe235d24f64b