How to install Krop on Ubuntu 17.04
To install Krop on Ubuntu 17.04
Krop is a free and open source simple and lightweight graphical PDF crop tool software. Krop is a simple graphical tool to crop the pages of PDF files into sub-pages. It is written in Python and relies on PyQT, python-poppler-qt4, and pyPDF for its functionality. A unique feature of Krop is that it automatically split pages into subpages to fit the devices such as eReaders. It is so simple to install Krop on Ubuntu 17.04, and this tutorial covers the ground on the same process.
Installing Krop
To begin the installation procedure, download the Krop installation package by running the wget command followed by the download link.
root@linuxhelp:~# wget http://arminstraub.com/downloads/krop/krop_0.4.11-1_all.deb
--2018-01-09 09:58:00-- http://arminstraub.com/downloads/krop/krop_0.4.11-1_all.deb
Resolving arminstraub.com (arminstraub.com)... 107.191.102.54
Connecting to arminstraub.com (arminstraub.com)|107.191.102.54|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18058 (18K) [application/octet-stream]
Saving to: ‘ krop_0.4.11-1_all.deb’
Krop_0.4.11-1_all.d 100%[===================> ] 17.63K --.-KB/s in 0s
2018-01-09 09:58:02 (53.7 MB/s) - ‘ krop_0.4.11-1_all.deb’ saved [18058/18058]
Next, install the dependency packages for Krop by executing the following command
root@linuxhelp:~# apt-get install python-poppler-qt4 python-pypdf2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libpoppler-glib8 libpoppler-qt4-4 libpoppler-qt5-1 libpoppler64
libqt4-designer libqt4-help libqt4-scripttools libqt4-svg libqt4-test
libqtassistantclient4 poppler-utils python-qt4 python-sip
Suggested packages:
python-qt4-dbg
The following NEW packages will be installed:
libpoppler-qt4-4 libqt4-designer libqt4-help libqt4-scripttools libqt4-svg
libqt4-test libqtassistantclient4 python-poppler-qt4 python-pypdf2
python-qt4 python-sip
The following packages will be upgraded:
libpoppler-glib8 libpoppler-qt5-1 libpoppler64 poppler-utils
4 upgraded, 11 newly installed, 0 to remove and 286 not upgraded.
.
.
.
.
Setting up libqt4-scripttools:amd64 (4:4.8.7+dfsg-7ubuntu1) ...
Setting up python-sip (4.18.1+dfsg-1) ...
Setting up libpoppler-glib8:amd64 (0.48.0-2ubuntu2.4) ...
Setting up poppler-utils (0.48.0-2ubuntu2.4) ...
Setting up libpoppler-qt4-4:amd64 (0.48.0-2ubuntu2.4) ...
Setting up libpoppler-qt5-1:amd64 (0.48.0-2ubuntu2.4) ...
Setting up python-qt4 (4.11.4+dfsg-2) ...
Setting up python-poppler-qt4 (0.24.0-1build1) ...
Processing triggers for libc-bin (2.24-9ubuntu2) ...
Now install the Krop package by executing it with dpkg command.
root@linuxhelp:~# dpkg -i krop_0.4.11-1_all.deb
Selecting previously unselected package krop.
(Reading database ... 189473 files and directories currently installed.)
Preparing to unpack krop_0.4.11-1_all.deb ...
Unpacking krop (0.4.11-1) ...
Setting up krop (0.4.11-1) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
The Krop application has been installed now. To open Krop, run the following command
root@linuxhelp:~# krop
The Krop application is running, now add the PDF file from the local system.
Specify the pages to include for the crop.
Select any of the drop-down options in the rotate final PDF option.
With this, the installation of Krop on Ubuntu 17.04 comes to an end.
recent Linux distribution, see how to install krop. I don't know if krop can be used on
Windows or Mac after a sufficient amount of tinkering: please let me know in
case you succeed.
2. It is written in Python and relies on PyQT,
python-poppler-qt5 and PyPDF2 for its
functionality.
3. It is free software, released under GPLv3+ in
the sole hope that you or someone else may find it useful.
4. A unique feature of krop, at least to my knowledge,
is its ability to automatically split pages into subpages to fit the limited screensize of devices such as
eReaders. This is particularly useful, if your eReader
does not support convenient scrolling. (In fact, I wrote krop to be able to read
mathematical papers on my Nook.
$ tar xzf krop-0.5.0.tar.gz
$ cd krop-0.5.0
$ sudo python setup.py