Most JREs shipped in Deb packages, including those in Canonical’s package repositories, take care of that during installation, though it appears to be buggy in some OpenJDK packages. (Optional) You can teach Linux to execute JAR (Java Archive) files via update-binfmts(8). This pdftk fork also supports builds for older JRE versions (≥ 7 according to the documentation). when you distribute it to other systems, you need at least a working (headless) JRE like from the default-jre-headless package as well as the Java libraries libcommons-lang3-java and libbcprov-java: sudo apt install default-jre-headless libcommons-lang3-java libbcprov-javaĪgain you can use a different JRE than default-jre-headless. Run the JAR package: java -jar build/jar/pdftk.jar -help Place symbolic links to the required libraries into the lib folder: mkdir lib Of course you can use a different supported JDK than the one supplied by default-jdk-headless.ĭownload Marc Vinyal’s pdftk fork: git clone Install the build tools and dependencies: sudo apt install git default-jdk-headless ant \ The package contains a wrapper script placed in /usr/bin, so you can invoke it as normally: pdftk. I built a Deb package (for Bionic only) with suitable dependencies: sudo add-apt-repository ppa:malteworld/ppa Users of earlier releases can download it manually from the package repository and install it with their favourite package manager. Attempting to install pdftk will install this package instead. Starting with Cosmic (Ubuntu 18.10), Ubuntu ships pdftk-java from the same source code as below as a replacement. Install from a future Ubuntu release (recommended) I found a fork that depends on OpenJDK or similar instead. These latter features may be used to override decisions made by apt-get's conflict resolution system.The pdftk package in Ubuntu (and its upstream Debian package) was dropped due to its dependency on the now deprecated GCJ runtime. Similarly a plus sign can be used to designate a package to install. If a hyphen is appended to the package name (with no intervening space), the identified package will be removed if it is installed. The /etc/apt/sources.list file is used to locate the desired packages. All packages required by the package(s) specified for installation will also be retrieved and installed. Each package is a package name, not a fully qualified filename. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from precompiled files or by compiling source code.Īpt-get is the command-line tool for handling packages, and may be considered the user's "back-end" to other tools using the APT library.Īpt-get install is followed by one or more packages desired for installation or upgrading. More information about install using apt-getĪdvanced Package Tool, or APT, is a free software user interface that works with core libraries to handle the installation and removal of software on Debian, Ubuntu and other Linux distributions. That package also contains pdftoppm (PDF to Portable Bitmap converter). To view PDF files, see the xpdf-reader package. (These are sometimes called 'Acrobat' files after the name of Adobe's PDF software.) This package contains pdftops (PDF to PostScript converter), pdfinfo (PDF document information extractor), pdfimages (PDF image extractor), pdftotext (PDF to text converter), and pdffonts (PDF font analyzer). Xpdf is a suite of tools for Portable Document Format (PDF) files. Portable Document Format (PDF) suite - utilities
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |