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

Last updated: May 15,2024

1. Install "groff" package

This guide let you learn how to install groff on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install groff

2. Uninstall "groff" package

Please follow the steps below to uninstall groff on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove groff $ sudo apt autoclean && sudo apt autoremove

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

Package: groff
Architecture: amd64
Version: 1.22.4-6
Multi-Arch: foreign
Priority: optional
Section: universe/text
Origin: Ubuntu
Maintainer: Colin Watson
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11906
Provides: groff-x11, jgroff
Depends: groff-base (= 1.22.4-6), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 4.1.1), libx11-6, libxaw7, libxmu6, libxt6
Recommends: ghostscript, imagemagick, libpaper1, netpbm, perl, psutils
Breaks: groff-x11 (<< 1.18-1), jgroff (<< 1.17-1)
Replaces: groff-base (<< 1.17.2-9), groff-x11 (<< 1.18-1), jgroff (<< 1.17-1)
Filename: pool/universe/g/groff/groff_1.22.4-6_amd64.deb
Size: 3962176
MD5sum: 0a3d50c465c94db44a5d9ce092ab16dc
SHA1: b1ee2b0a235de21629fbf9828f9742a627c1c428
SHA256: 2b799998f6c4eba2cac62dc8122342cd20a49abbdc646a3f5c969c59a3adbdc5
SHA512: 445e271c8db6a1dc62e3cef99a15ce0bd70f078129e740e445501a09cd50f871f5172126f760171721fa00c38fe8c34ce2e5d17f9a925d6ce9c7aa0d71f21456
Homepage: https://www.gnu.org/software/groff/
Description-en: GNU troff text-formatting system
This package contains optional components of the GNU troff text-formatting
system. The core package, groff-base, contains the traditional tools like
troff, nroff, tbl, eqn, and pic. This package contains additional devices
and drivers for output to DVI, HTML (when recommended packages are
installed - see below), PDF, HP LaserJet printers, and Canon CAPSL LBP-4
and LBP-8 printers.
.
The X75, X75-12, X100, and X100-12 devices, which allow groff output to be
conveniently viewed on an X display using the standard X11 fonts, are now
included here. They were previously in a separate package, groff-x11.
.
Besides these, the groff package contains man pages describing the language
and its macro sets, info documentation, and a number of supplementary
programs:
.
- gxditview, which is used to display the output of the X* devices, and
can also be used to view PostScript output from groff;
- grn, a preprocessor for pictures in the 'gremlin' format;
- tfmtodit, which creates font files for use with 'groff -Tdvi';
- hpftodit, which creates font files for use with 'groff -Tlj4';
- afmtodit, which creates font files for use with 'groff -Tps';
- refer, which preprocesses bibliographic references for use with groff;
- indxbib, which creates inverted indices for bibliographic databases used
by 'refer';
- lkbib and lookbib, which search bibliographic databases;
- addftinfo, which adds metric information to troff font files for use
with groff;
- pfbtops, which translates a PostScript font in .pfb format to ASCII for
use with groff;
- mmroff, a simple groff preprocessor which expands references in mm;
- pic2graph, which converts PIC diagrams into cropped image files;
- eqn2graph, which converts EQN equations into cropped image files;
- pdfmom, which runs 'groff -mom' to produce PDFs.
.
All the standard macro packages are supported.
.
Some facilities only work if certain recommended packages are installed:
.
- ghostscript, netpbm, psutils: required for HTML output;
- imagemagick: required for the pic2graph and eqn2graph programs;
- libpaper1: paper size detection in dvi, lbp, lj4, and ps devices (falls
back to a4 if not installed);
- perl: required for PDF output and for the chem preprocessor.
Description-md5: 11123d1736a0022d49d06092e56ad563