Difference between revisions of "Pdf"

From Danleff Wiki
Jump to navigationJump to search
m (Protected "Pdf" ([Edit=Allow only administrators] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
  
 
==PDFSAM==
 
==PDFSAM==
 +
apt install openjdk-8-jre libopenjfx-jni libopenjfx-java openjfx
 +
 +
After successful installation, define the JAVA_HOME variable in /etc/environment path using your favorite editor.
 +
 +
nano /etc/environment
 +
 +
Append the following line.
 +
 +
JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"
 +
 +
Save and Exit
 +
 +
reload the file
 +
 +
source /etc/environment
 +
 +
Next, download the Debian package file from pdfsam's official site
 +
 +
wget https://github.com/torakiki/pdfsam/releases/download/v3.3.6/pdfsam_3.3.6-1_all.deb
 +
 +
Once downloaded, install the deb file using the dpkg command as shown.
 +
 +
dpkg -i pdfsam_3.3.6-1_all.deb
 +
 +
Sample Output
 +
 +
(Reading database ... 146399 files and directories currently installed.)
 +
Preparing to unpack pdfsam_3.3.6-1_all.deb ...
 +
Unpacking pdfsam-basic (3.3.6-1) over (3.3.6-1) ...
 +
Setting up pdfsam-basic (3.3.6-1) ...
 +
Processing triggers for gnome-menus (3.13.3-9) ...
 +
Processing triggers for desktop-file-utils (0.23-1) ...
 +
Processing triggers for mime-support (3.60) ...
 +
 +
To start pdfsam, run
 +
 +
pdfsam
 +
 +
 +
==References==
 +
*[https://linoxide.com/linux-how-to/merge-pdf-files-linux/ PDF merge file utilities]

Latest revision as of 15:30, 8 September 2019

PDFunite

pdfunite file1.pdf file2.pdf merged_output.pdf

PDFSAM

apt install openjdk-8-jre libopenjfx-jni libopenjfx-java openjfx

After successful installation, define the JAVA_HOME variable in /etc/environment path using your favorite editor.

nano /etc/environment

Append the following line.

JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"

Save and Exit

reload the file

source /etc/environment

Next, download the Debian package file from pdfsam's official site

wget https://github.com/torakiki/pdfsam/releases/download/v3.3.6/pdfsam_3.3.6-1_all.deb

Once downloaded, install the deb file using the dpkg command as shown.

dpkg -i pdfsam_3.3.6-1_all.deb

Sample Output

(Reading database ... 146399 files and directories currently installed.) Preparing to unpack pdfsam_3.3.6-1_all.deb ... Unpacking pdfsam-basic (3.3.6-1) over (3.3.6-1) ... Setting up pdfsam-basic (3.3.6-1) ... Processing triggers for gnome-menus (3.13.3-9) ... Processing triggers for desktop-file-utils (0.23-1) ... Processing triggers for mime-support (3.60) ...

To start pdfsam, run

pdfsam


References