{"id":1326,"date":"2021-12-16T11:55:06","date_gmt":"2021-12-16T08:55:06","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/09\/13\/how-to-merge-pdfs-with-pdfsam-on-linux\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/09\/13\/how-to-merge-pdfs-with-pdfsam-on-linux\/"},"modified":"2021-12-16T11:55:06","modified_gmt":"2021-12-16T08:55:06","slug":"how-to-merge-pdfs-with-pdfsam-on-linux","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1326-how-to-merge-pdfs-with-pdfsam-on-linux\/","title":{"rendered":"How to merge PDFs with PDFSam on Linux"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Need to merge two PDF documents on your Linux PC? Check out PDFSam; it\u2019s an excellent tool that gives users incredible power to modify and edit PDF documents on Linux. Here\u2019s how to use it to merge PDFs.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-407437 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux.png\" alt=\"\" width=\"1200\" height=\"196\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-3.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-4.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-5.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<h2>Installing PDFSam on Linux<\/h2>\n<p>Before PDFSam can merge PDF documents, the app must be installed on your system. The PDFSam app is supported on a wide variety of Linux operating systems. These operating systems are Ubuntu, Debian, Arch Linux, Fedora, and OpenSUSE.<\/p>\n<p>\u00a0You\u2019ll need to open up a terminal window on the Linux desktop to get the app installed. To do that, press <strong>Ctrl + Alt + T<\/strong> on the keyboard. Alternatively, you can open up a terminal window by searching for \u201cTerminal\u201d in the app menu.<\/p>\n<p>Once the terminal window is open, the installation can begin. Follow the installation instructions down below that corresponds with the Linux OS you currently use.<\/p>\n<h4>Ubuntu<\/h4>\n<p>If you\u2019re using Ubuntu, you\u2019ll need to download the official PDFSam DEB package to your computer. You\u2019ll be able to download this file to your computer using the <strong>wget<\/strong> download command below.<\/p>\n<pre>\nwget https:\/\/github.com\/torakiki\/pdfsam\/releases\/download\/v4.2.6\/pdfsam_4.2.6-1_amd64.deb\n<\/pre>\n<p>After downloading the latest PDFSam DEB package on your computer, you\u2019ll be able to install it using the <strong>apt install<\/strong> command down below.<\/p>\n<pre>\nsudo apt install .\/pdfsam_4.2.6-1_amd64.deb\n<\/pre>\n<h4>Debian<\/h4>\n<p>Those using Debian can install PDFSam using a downloadable DEB package. To get the latest DEB package on your computer, use the <strong>wget<\/strong> command down below.<\/p>\n<pre>\nwget https:\/\/github.com\/torakiki\/pdfsam\/releases\/download\/v4.2.6\/pdfsam_4.2.6-1_amd64.deb\n<\/pre>\n<p>After downloading the latest release of PDFSam to your computer, the installation can begin. Using the <strong>dpkg<\/strong> command down below, install the DEB package on your computer.<\/p>\n<pre>\nsudo dpkg -i pdfsam_4.2.6-1_amd64.deb\n<\/pre>\n<p>With the DEB package installed on your computer, you\u2019ll have to correct any dependency issues that may have occurred during the installation process. To do that, use the <strong>apt-get install -f<\/strong> command down below.<\/p>\n<pre>\nsudo apt-get install -f\n<\/pre>\n<h4>Arch Linux<\/h4>\n<p>On Arch Linux, PDFSam is available for installation. However, not from the official website. Instead, you\u2019ll have to set up the app through the Arch Linux User Repository.<\/p>\n<p>Use the pacman command below to get both the \u201cgit\u201d and \u201cbase-devel\u201d packages set up on your computer to get started. These packages need to get set up to interact with the AUR.<\/p>\n<pre>\nsudo pacman -S git base-devel\n<\/pre>\n<p>After setting up the two packages, use the <strong>git clone<\/strong> command to download the latest release of the Trizen AUR helper. Trizen will help get PDFSam working much more straightforward than manual installation.<\/p>\n<pre>\ngit clone https:\/\/aur.archlinux.or\/trizen.git\ncd trizen\/\nmakepkg -sri\n<\/pre>\n<p>With the Trizen AUR helper set up on your Arch Linux system, the PDFSam application can be installed. Using the <strong>trizen -S<\/strong> command below, get the app working.<\/p>\n<pre>\ntrizen -S pdfsam\n<\/pre>\n<h4>Fedora\u00a0<\/h4>\n<p>PDFSam does work on Linux. However, only Fedora 33 has a package available. So, if you\u2019re using Fedora 34 or newer, you\u2019ll have to download the standalone release of the app instead.<\/p>\n<p>Note: you must have Java installed on Fedora for the standalone release of PDFSam to run on your system.<\/p>\n<p>Download the latest release of PDFSam onto your Fedora system using the <strong>wget<\/strong> command below. Then, extract it in your home folder with <strong>tar<\/strong>.<\/p>\n<pre>\nwget https:\/\/github.com\/torakiki\/pdfsam\/releases\/download\/v4.2.6\/pdfsam-4.2.6-linux.tar.gz\ntar xvf pdfsam-4.2.6-linux.tar.gz\n<\/pre>\n<p>Run the PDFSam app on Fedora with:<\/p>\n<pre>\ncd ~\/pdfsam-4.2.6-linux\njava -jar pdfsam-basic-4.2.6.jar <\/pre>\n<h4>OpenSUSE<\/h4>\n<p>To get PDFSam working on OpenSUSE, you\u2019ll have to add a third-party software repository. To get it working, head over to the PDFSam OpenSUSE software page. Then, select the \u201c1 Click Install\u201d button to get it set up.<\/p>\n<h2>How to merge PDFs with PDFsam on Linux<\/h2>\n<p><strong>Step 1:<\/strong> Open up PDFSam on the Linux desktop. You can launch the application by searching for \u201cPDFSam\u201d in the app menu.\u00a0<\/p>\n<p><strong>Step 2:<\/strong> With PDFSam open, find the \u201cMerge\u201d button and click on it with the mouse. When you select this button, the PDFSam merge menu will appear on the screen.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-407439 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-1.png\" alt=\"\" width=\"1200\" height=\"513\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-1.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-6.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-7.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-8.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p><strong>Step 3:<\/strong> Inside of the merge menu, you\u2019ll see a message that says, \u201cDrag and drop PDF files here.\u201d Open up the Linux file manager, and find the PDF(s) you wish to merge.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-407438 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-2.png\" alt=\"\" width=\"1200\" height=\"506\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-2.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-9.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-10.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-11.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p><strong>Step 4:<\/strong> After all PDF files are added to the PDFSam merge menu, look at the merge settings. These settings, while not required, may help you add value to the PDF files you\u2019re merging.<\/p>\n<p><strong>Step 5:<\/strong> Now that you\u2019ve chosen your merge settings, find the \u201cRun\u201d button at the bottom of the PDFSam page, and select it. The app will create a new PDF from the file(s) you\u2019ve added to the merge menu when you choose this button.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-407437 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux.png\" alt=\"\" width=\"1200\" height=\"196\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-3.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-4.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-merge-pdfs-with-pdfsam-on-linux-5.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>When the merging process is complete, PDFSam will create a new PDF file named \u201cPDFsam_merge.pdf\u201d. This file is located in your home directory. To access it, launch the Linux file manager, and select the \u201cHome\u201d icon to access the PDF file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Need to merge two PDF documents on your Linux PC? Check out PDFSam; it\u2019s an excellent tool that gives users incredible power to modify and edit PDF documents on Linux. Here\u2019s how to use it to merge PDFs. Installing PDFSam on Linux Before PDFSam can merge PDF documents, the app must be installed &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1327,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1326"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1326"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1326\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1327"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}