First crack at a Koha3 .deb

Well ive managed to build a package, with the correct dependencies, its set up to do a standard install, using the default values.


chris@ubuntu:~$ sudo apt-get install cpan-libkoha-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cpan-libalgorithm-checkdigits-perl cpan-libansicolor-perl cpan-libbiblio-endnotestyle-perl cpan-libcgi-perl
cpan-libclass-adapter-perl cpan-libconstant-perl cpan-libdata-dumper-perl cpan-libdigest-md5-perl
cpan-libexporter-perl cpan-libgetopt-long-perl cpan-libhtml-template-pro-perl cpan-liblocale-codes-perl
cpan-libmime-base64-perl cpan-libmodule-pluggable-perl cpan-libparams-util-perl cpan-libperl-ldap-perl
cpan-libpod-parser-perl cpan-libscalar-list-utils-perl cpan-libsms-send-perl cpan-libtest-manifest-perl
cpan-libtest-simple-perl cpan-libtext-csv-perl cpan-libtext-csv-xs-perl cpan-libtext-tabs-wrap-perl
cpan-libtime-hires-perl cpan-libunicode-normalize-perl cpan-libxml-libxml-perl cpan-libxml-rss-perl
libbarcode-code128-perl libclass-returnvalue-perl libdata-ical-perl libdigest-perl libgd-barcode-perl
libgd-gd2-noxpm-perl libhtml-scrubber-perl libnet-z3950-zoom-perl libpdf-reuse-barcode-perl libpdf-reuse-perl
libschedule-at-perl libtext-vfile-asdata-perl
The following NEW packages will be installed:
cpan-libalgorithm-checkdigits-perl cpan-libansicolor-perl cpan-libbiblio-endnotestyle-perl cpan-libcgi-perl
cpan-libclass-adapter-perl cpan-libconstant-perl cpan-libdata-dumper-perl cpan-libdigest-md5-perl
cpan-libexporter-perl cpan-libgetopt-long-perl cpan-libhtml-template-pro-perl cpan-libkoha-perl
cpan-liblocale-codes-perl cpan-libmime-base64-perl cpan-libmodule-pluggable-perl cpan-libparams-util-perl
cpan-libperl-ldap-perl cpan-libpod-parser-perl cpan-libscalar-list-utils-perl cpan-libsms-send-perl
cpan-libtest-manifest-perl cpan-libtest-simple-perl cpan-libtext-csv-perl cpan-libtext-csv-xs-perl
cpan-libtext-tabs-wrap-perl cpan-libtime-hires-perl cpan-libunicode-normalize-perl cpan-libxml-libxml-perl
cpan-libxml-rss-perl libbarcode-code128-perl libclass-returnvalue-perl libdata-ical-perl libdigest-perl
libgd-barcode-perl libgd-gd2-noxpm-perl libhtml-scrubber-perl libnet-z3950-zoom-perl
libpdf-reuse-barcode-perl libpdf-reuse-perl libschedule-at-perl libtext-vfile-asdata-perl
0 upgraded, 41 newly installed, 0 to remove and 46 not upgraded.
Need to get 3156kB of archives.
After this operation, 24.9MB of additional disk space will be used.
Do you want to continue [Y/n]?

Setting up libpdf-reuse-barcode-perl (0.05-1) ...
Setting up cpan-libperl-ldap-perl (0.36-1) ...
Setting up libschedule-at-perl (1.06-1) ...
Setting up cpan-libmodule-pluggable-perl (3.8-1) ...
Setting up cpan-libparams-util-perl (0.33-1) ...
Setting up cpan-libsms-send-perl (0.05-1) ...
Setting up cpan-libtext-csv-perl (1.06-1) ...
Setting up cpan-libtext-csv-xs-perl (0.52-1) ...
Setting up cpan-libtext-tabs-wrap-perl (2006.1117-1) ...
Setting up cpan-libtime-hires-perl (1.9715-1) ...
Setting up cpan-libunicode-normalize-perl (1.02-1) ...
Setting up cpan-libxml-libxml-perl (1.66-1) ...
Setting up cpan-libtest-manifest-perl (1.22-1) ...
Setting up cpan-libxml-rss-perl (1.33-1) ...
Setting up cpan-libdigest-md5-perl (2.36-1) ...
Setting up cpan-libkoha-perl (3.00.00-stableRC1-1) ...

chris@ubuntu:~$ ls /usr/share/koha/
bin doc intranet lib man misc opac

Next phase is to get it using debconf to allow the user to set the values themselves.

1 thought on “First crack at a Koha3 .deb”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s