How To Install pdfcrop on Kali Linux

In this guide, we’ll discuss How To Install pdfcrop on Kali Linux. Also, we will demonstrate how to uninstall and update pdfcrop.

One-liner install command

For those in a hurry, here's a one-line installation command:

sudo apt-get update && sudo apt -y install texlive-extra-utils

But if you are interested in the detailed steps with descriptions, the following information is for you.

What is pdfcrop and what are the ways to install it?

Before beginning this tutorial, you will need access to a server or computer running Kali Linux. This guide was written specifically with a server running Kali Linux in mind, although it should also work on older, supported versions of the operating system.

Also, make sure you are running a regular, non-root user with sudo privileges configured on your server. When you have an account available, log in as your non-root user to begin.

There are several ways to install pdfcrop on Kali Linux. You can use (links are clickable):

In the following sections, we will describe each method in detail. You can choose one of them or refer to the recommended one.

Install pdfcrop using apt-get

First, update apt database with apt-get using the following command.

sudo apt-get update

After updating apt-get database, You can install pdfcrop using apt by running the following command:

sudo apt -y install texlive-extra-utils

Install pdfcrop using apt

Because pdfcrop is available in Kali Linux’s default repositories, it is possible to install it from these repositories using the apt packaging system.

To begin, update apt database with apt using the following command.

sudo apt update

After updating apt database, You can install pdfcrop using apt by running the following command:

sudo apt -y install texlive-extra-utils

Install pdfcrop using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating aptitude database, You can install pdfcrop by running the following command:

sudo aptitude -y install texlive-extra-utils

How to upgrade (update) a single package pdfcrop using apt-get?

First, you will need to update packages index. Run update command as usual:

sudo apt-get update

Next, to upgrade only the pdfcrop, e.g. single package, you should use the following format with the apt-get command/apt command:

sudo apt-get --only-upgrade install texlive-extra-utils

Note that this command will not install any new packages! If you wish to install the package if it doesn't exist you may leave out --only-upgrade part.

How To Uninstall pdfcrop from Kali Linux

To uninstall only the pdfcrop package you can execute the following command:

sudo apt-get remove texlive-extra-utils

Uninstall pdfcrop and all its dependencies

To uninstall pdfcrop and its dependencies that are no longer needed by Kali Linux, you can use the command below:

sudo apt-get -y autoremove texlive-extra-utils

Remove pdfcrop with all configurations and data

To remove pdfcrop configuration and data from your system you can run the following purge command:

sudo apt-get -y purge texlive-extra-utils

Remove pdfcrop completely (configurations, data and all of its dependencies)

And lastly, you can run the next command to remove absolutely everything related to pdfcrop package, e.g.: configurations, data and all of its dependencies. Just use this command:

sudo apt-get -y autoremove --purge texlive-extra-utils

Extra info and code examples

Various useful, but non-essential, support programs. Includes programs and macros for DVI file manipulation, literate programming, patgen, and the TeX Works Editor. This package includes the following CTAN packages: a2ping -- Advanced PS, PDF, EPS converter adhocfilelist -- '\listfiles' entries from the command line arara -- Automation of LaTeX compilation bibtex8 -- A fully 8-bit adaptation of BibTeX 0.99 bibtexu -- BibTeX variant supporting Unicode (UTF-8) bundledoc -- Bundle together all the files needed to build a LaTeX document checklistings -- Pass verbatim contents through a compiler and reincorporate the resulting output cluttex -- An automation tool for running LaTeX ctan-o-mat -- Upload or validate a package for CTAN ctan_chk -- CTAN guidelines verifier and corrector for uploading projects ctanbib -- Export CTAN entries to bib format ctanify -- Prepare a package for upload to CTAN ctanupload -- Support for users uploading to CTAN ctie -- C version of tie (merging Web change files) cweb -- A Web system in C de-macro -- Expand private macros in a document detex -- Strip TeX from a source file dtl -- Tools to dis-assemble and re-assemble DVI files dtxgen -- Creates a template for a self-extracting .dtx file dvi2tty -- Produce ASCII from DVI dviasm -- A utility for editing DVI files dvicopy -- Copy DVI files, flattening VFs dviinfox -- Perl script to print DVI meta information dviljk -- DVI to Laserjet output dvipos -- support DVI pos: specials used by ConTeXt DVI output dvisvgm -- Convert DVI files to Scalable Vector Graphics format (SVG) findhyph -- Find hyphenated words in a document hook-pre-commit-pkg -- Pre-commit git hook for LaTeX package developpers hyphenex -- US English hyphenation exceptions file installfont -- A bash script for installing a LaTeX font family ketcindy -- macros for graphic generation and Cinderella plugin latex-git-log -- Typeset git log information latex-papersize -- Calculate LaTeX settings for any font and paper size latex2man -- Translate LaTeX-based manual pages into Unix man format latex2nemeth -- Convert LaTeX source to Braille with math in Nemeth latexfileversion -- Prints the version and date of a LaTeX class or style file latexpand -- Expand \input and \include in a LaTeX document latexindent -- Indent a LaTeX document, highlighting the programming structure ltxfileinfo -- Print version information for a LaTeX file ltximg -- Extract LaTeX environments into separate image files listings-ext -- Automated input of source make4ht -- A build system for tex4ht match_parens -- Find mismatches of parentheses, braces, (angle) brackets, in texts mflua -- configuration and base files for MFLua mkjobtexmf -- Generate a texmf tree for a particular job patgen -- Generate hyphenation patterns pdfbook2 -- Create booklets from PDF files pdfcrop -- Crop PDF graphics pdfjam -- Shell scripts interfacing to pdfpages pdflatexpicscale -- Support software for downscaling graphics to be included by pdfLaTeX pdftex-quiet -- A bash wrapper for pdfTeX limiting its output to relevant errors pdftools -- PDF-related utilities, including PostScript-to-PDF conversion pdfxup -- Create n-up PDF pages with minimal margins pfarrei -- LaTeX support of pastors' and priests' work pkfix -- Replace pk fonts in PostScript with Type 1 fonts pkfix-helper -- Make PostScript files accessible to pkfix pythontex -- Run Python from within a document, typesetting the results seetexk -- Utilities for manipulating DVI files srcredact -- A tool for redacting sources sty2dtx -- Create a .dtx file from a .sty file synctex -- engine-level feature synchronizing output and source tex4ebook -- Convertor from LaTeX to ebook formats texcount -- Count words in a LaTeX document texdef -- Display the definitions of TeX commands texdiff -- Compare documents and produce tagged merge texdirflatten -- Collect files related to a LaTeX job in a single directory texfot -- Filter clutter from the output of a TeX run texliveonfly -- On-the-fly download of missing TeX live packages texloganalyser -- Analyse TeX logs texosquery -- Cross-platform Java application to query OS information texware -- Utility programs for use with TeX tie -- Allow multiple web change files tpic2pdftex -- Use tpic commands in pdfTeX typeoutfileinfo -- Display class/package/file information web -- The original literate programming system xindex -- Unicode compatible index generation

Conclusion

You now have a full guide on how to install pdfcrop using apt, apt-get and aptitude tools. Also, we showed how to update as a single package and different ways to uninstall the pdfcrop from Kali Linux.

See also:

How To Install pdfcrop on CentOS 8

How To Install pdfcrop on Kali Linux

How To Install pdfcrop on Debian 11

How To Install pdfcrop on Fedora 34

How To Install pdfcrop on Ubuntu 22.04

How To Install pdfcrop on Ubuntu 21.04

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z