How to Install and Uninstall lhs2tex Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 16,2024

1. Install "lhs2tex" package

This guide let you learn how to install lhs2tex on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install lhs2tex

2. Uninstall "lhs2tex" package

Please follow the steps below to uninstall lhs2tex on Ubuntu 21.10 (Impish Indri):

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

3. Information about the lhs2tex package on Ubuntu 21.10 (Impish Indri)

Package: lhs2tex
Architecture: amd64
Version: 1.24-1build2.1
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.34), libffi8 (>= 3.4), libgmp10
Filename: pool/universe/l/lhs2tex/lhs2tex_1.24-1build2.1_amd64.deb
Size: 903052
MD5sum: 3971bc4e1c5fe00302c92b577360c874
SHA1: ca478bf19af1aeb7212072bfc94302ba29edbb3a
SHA256: be484242d7bfa08a47a65fefb1330cc8bdb3cb957d9e14b551b21b4a5a8fff3d
SHA512: a3a1168a5d545a0a63ddac3fd8dbfc04754b74a0157e8e4e419e85983e0dc4ee48f5ecce2b915e94d2b0a7eb8b57a85ed771ecac596601c20a3dccb966b1c630
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