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

Last updated: November 26,2024

1. Install "extractpdfmark" package

Please follow the guidelines below to install extractpdfmark on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install extractpdfmark

2. Uninstall "extractpdfmark" package

Here is a brief guide to show you how to uninstall extractpdfmark on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove extractpdfmark $ sudo apt autoclean && sudo apt autoremove

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

Package: extractpdfmark
Architecture: amd64
Version: 1.1.0-1.1build1
Priority: optional
Section: universe/tex
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Dr. Tobias Quathamer
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 93
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.3.1), libpoppler111 (>= 21.06.0), libstdc++6 (>= 9)
Filename: pool/universe/e/extractpdfmark/extractpdfmark_1.1.0-1.1build1_amd64.deb
Size: 33220
MD5sum: 625ee9e9f8ca44a0974ff08818342c06
SHA1: 8f0ce52ab22bb2672e66dd19bd5663924897588c
SHA256: 8fd5ef6ae855b2105c4bd51e3c8d061248e3e2c21b6a78edd34398fc0289ec5a
SHA512: a674c2cf51224089790ea1f46708db721f1bd6a99498c3d37fe4a767007aa48f4638f28daffb65b17099d82dd15cf781d0bbd516a0165d37b63951373894c8e9
Homepage: https://github.com/trueroad/extractpdfmark
Description-en: Extract page mode and named destinations as PDFmark from PDF
When you create a PDF document using a TeX system, you may include
many small PDF files in the main PDF file. It is common for each of
those files to use the same fonts.
.
If the small PDF files contain embedded font subsets, the TeX system
includes them as-is in the main PDF. As a result, several subsets of
the same font are embedded in the main PDF. It is not possible to
remove the duplicates since they are different subsets. This vastly
increases the size of the main PDF file.
.
On the other hand, if the small PDF files contain embedded full font
sets, the TeX system also includes all of them in the main PDF.
This time, the main PDF contains duplicates of the same full sets of
fonts. Therefore, Ghostscript can remove the duplicates. This may
considerably reduce the main PDF-file's size.
.
Finally, if the small PDF files contain some fonts that are not
embedded, the TeX system outputs the main PDF file with some fonts
missing. In this case, Ghostscript can embed the necessary fonts.
It can significantly reduce the required disk size.
.
Either way, when Ghostscript reads the main PDF produced by the
TeX system and outputs the final PDF it does not preserve PDF
page-mode and named-destinations etc. As a result, when you open
the final PDF, it is not displayed correctly. Also, remote PDF
links will not work.
.
This program is able to extract page mode and named destinations
as PDFmark from PDF. By using this you can get the small PDF files
that have preserved them.
Description-md5: de1c8f79d4ddaff5a347969b6013353c