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

Last updated: November 22,2024

1. Install "extractpdfmark" package

Learn how to install extractpdfmark on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install extractpdfmark

2. Uninstall "extractpdfmark" package

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

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

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

Package: extractpdfmark
Architecture: amd64
Version: 1.1.0-1ubuntu3.1
Priority: optional
Section: universe/tex
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Dr. Tobias Quathamer
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 105
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libpoppler-cpp0v5 (>= 0.46.0), libstdc++6 (>= 5.2)
Filename: pool/universe/e/extractpdfmark/extractpdfmark_1.1.0-1ubuntu3.1_amd64.deb
Size: 35432
MD5sum: d38ec806a725a71d2dab75adebea0055
SHA1: 59984d99ab733fefbb69b73f353edb70c63da41f
SHA256: a45a099bba174c5a989fdb9ce59897b11d1fb5efe3902031dcb1bb2917255b59
SHA512: 45d822cc389d9bfd909f3ce5974dc8c9433f7bd95612cdade5a0b6acbba95fcd78c29150bc928be614184bf11206e9fc7a813c85c532b3a21ccb21855dc9c30e
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