File: INSTALL

package info (click to toggle)
gscan2pdf 1.2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,560 kB
  • ctags: 445
  • sloc: perl: 16,714; xml: 32; makefile: 5
file content (104 lines) | stat: -rw-r--r-- 2,206 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
Installing
----------

The program itself for gscan2pdf is in one file, so having extracted it to the
current directory, you can just run it with

 bin/gscan2pdf


For those who want an install script, I have included one. First build with:

 perl Makefile.PL
 make


From a system that uses sudo, like Ubuntu, you will need:

 sudo make install

Otherwise change to root with

 su

and then

 make install

followed by CRTL-D to get back to the original user.

gscan2pdf will then be on the path an accessible from any directory with

 gscan2pdf


If you have a Debian system (like Ubuntu) then you can make a .deb with

 perl Makefile.PL
 make debdist

and then install it with

 sudo dpkg -i gscan2pdf-<version>.deb

This has the advantage of not having to hold on to the Makefile in order to
uninstall it.


Alternatively, add the following line to your /etc/apt/sources.list:

deb http://ppa.launchpad.net/jeffreyratcliffe/ubuntu <release> main
deb-src http://ppa.launchpad.net/jeffreyratcliffe/ubuntu <release> main

where <release> is the version of Ubuntu you are using. hardy & gutsy are
supported at the time of writing. intrepid, feisty and dapper will follow as
soon as I get gtkimageview to build against those distro.

If you are you are using Synaptic, then use menu
'Edit/Reload Package Information', search for gscan2pdf in the package list,
and lo and behold, you can install the nice shiny new version automatically.

From the command line:

sudo apt-get update
sudo apt-get install gscan2pdf


If you have a system that uses RPMs, like Fedora or Suse, you can build an RPM
with:

 perl Makefile.PL
 make rpmdist


The help will require Gtk2::Ex::PodViewer. Rotating requires Imagemagick.
Having installed gscan2pdf, locate the gscan2pdf entry in Synaptic,
right-click it and you can install them under "Recommends".


Uninstalling
------------

If you have installed gscan2pdf with

 make install

as described about, then you can uninstall it with:

 sudo make uninstall

or

 su

and then

 make uninstall

as appropriate.


Alternatively, if you installed the .deb, you can uninstall it with your
favourite graphical package manager (e.g. Synaptic), or with

 sudo dpkg -r gscan2pdf