• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install PDFsam in Ubuntu

{{postValue.id}}

How to install PDFsam in Ubuntu

PDFsam is an open-source and cross-platform software that can split, merge and rotate PDF files written in Java. PDFsam has 3 editions: PDFsam Basic, PDFsam Enhenced and PDFsam Visual. The PDFsam also can save and restore the workspace. This tutorial explains the installation procedure of PDFsam in Ubuntu.

Installation procedure

To begin with the installation procedure, install the JRE 8 and other dependency packages by executing the following command.

root@linuxhelp:/home/user1/Desktop# apt install openjdk-8-jre libopenjfx-jni libopenjfx-java openjfx
Reading package lists... Done
Building dependency tree      
Reading state information... Done
&hellip 
&hellip 
&hellip 
Running hooks in /etc/ca-certificates/update.d...
done.
done.

Next create JAVA_HOME environment variable by running the following command.

root@linuxhelp:/home/user1/Desktop# nano /etc/environment

An /etc/environment file is opened. Add the following lines to the file. Save and exit from the file

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

Now reload the file as follows.

root@linuxhelp:/home/user1/Desktop# source /etc/environment

Next download the PDFsam basic package by executing the wget command followed by the download link.

root@linuxhelp:/home/user1/Desktop# wget https://github.com/torakiki/pdfsam/releases/download/v3.3.2/pdfsam_3.3.2-1_all.deb
--2017-06-22 13:30:06--  https://github.com/torakiki/pdfsam/releases/download/v3.3.2/pdfsam_3.3.2-1_all.deb
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/13062062/97ff5d34-3c25-11e7-80d9-1eb7c12cc136?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170622%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20170622T080007Z& X-Amz-Expires=300& X-Amz-Signature=e8821aef0ecad49a11058687a4c3016ca4334df9be80131e7c8ee2004c389271& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3Dpdfsam_3.3.2-1_all.deb& response-content-type=application%2Foctet-stream [following]
--2017-06-22 13:30:08--  https://github-production-release-asset-2e65be.s3.amazonaws.com/13062062/97ff5d34-3c25-11e7-80d9-1eb7c12cc136?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170622%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20170622T080007Z& X-Amz-Expires=300& X-Amz-Signature=e8821aef0ecad49a11058687a4c3016ca4334df9be80131e7c8ee2004c389271& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3Dpdfsam_3.3.2-1_all.deb& response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 54.231.82.18
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|54.231.82.18|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12652638 (12M) [application/octet-stream]
Saving to: ‘ pdfsam_3.3.2-1_all.deb’ 
pdfsam_3.3.2-1_all.deb                             100%[================================================================================================================> ]  12.07M   159KB/s    in 2m 9s  
2017-06-22 13:32:18 (95.9 KB/s) - ‘ pdfsam_3.3.2-1_all.deb’  saved [12652638/12652638]

The package is downloaded in the target system. Install the PDFsam package using the dpkg command and run the following deb package.

root@linuxhelp:/home/user1/Desktop# dpkg -i pdfsam_3.3.2-1_all.deb
Selecting previously unselected package pdfsam-basic.
(Reading database ... 173763 files and directories currently installed.)
Preparing to unpack pdfsam_3.3.2-1_all.deb ...
Unpacking pdfsam-basic (3.3.2-1) ...
Setting up pdfsam-basic (3.3.2-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...

To open PDFsam, run the following command to trigger the application.

root@linuxhelp:/home/user1/Desktop# pdfsam

The PDFsam application is running successfully. This application can be used to split, merge and extract PDF files.

pdfsam

The Settings option contains the basic settings for the PDFsam and the other settings that can be used with the application.

settings

The About PDFsam option contains the version and other information about PDFsam.

about pdfsam

That was an easy installation procedure, Wasn' t it? The PDFsam Basic is written in Java and JavaFX and requires a working Java Virtual Machine.

Tags:
david
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is actually does PDFsam?

A

In short merge PDF files, rotate PDF files, split PDF files by page numbers, by size and by bookmarks level, mix two or more PDF files taking pages alternatively from the input files, extract

Q

How to check the PDFsam version?

A

run the command to know the version of this "# pdfsam -V".

Q

What is PDFsam Enhanced?

A

PDFsam is an open-source and cross-platform software that can split, merge and rotate PDF files written in Java. PDFsam has 3 editions: PDFsam Basic, PDFsam Enhanced and PDFsam Visual.

Q

What is PDFsam Visual?

A

PDFsam Visual is our affordable solution to visually perform tasks like split, combine, crop, extract, encrypt

Q

How to install PDFsam on Ubuntu?

A

Run the following command:
# dpkg -i pdfsam_3.3.2-1_all.deb

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.