Tuesday, May 7, 2013

Installation of Koha on Debian Squeeze

This documentation was prepared for: installing Koha 3.x.x on Debian.
Add the key in gpg.asc to your APT trusted keys:
wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -

sudo apt-get update
sudo apt-get install koha
 
root@gechlibrary:~/Desktop/koha-3.10.05# dpkg --set-selections <install_misc/debian.packages
dselect is a high-level interface for managing the installation and removal of Debian software packages.

Many users find dselect intimidating and new users may prefer to use apt-based user interfaces. 
example: Package: dselect (1.15.8.13) 
----
root@gechlibrary:~# dselect
bash: dselect: command not found
root@gechlibrary:~# apt-get install dselect
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  dselect
0 upgraded, 1 newly installed, 0 to remove and 100 not upgraded.
Need to get 0 B/901 kB of archives.
After this operation, 2,449 kB of additional disk space will be used.
Selecting previously deselected package dselect.
(Reading database ... 116397 files and directories currently installed.)
Unpacking dselect (from .../dselect_1.15.8.12_i386.deb) ...
Processing triggers for man-db ...
Setting up dselect (1.15.8.12) ...
----
root@gechlibrary:~# dselect
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  apache2 apache2-mpm-worker apache2-utils apache2.2-common autopoint binutils cvs daemon gcc gcc-4.4 gettext git libbit-vector-perl libc-dev-bin libc6-dev
  libcarp-clan-perl libclass-accessor-perl libclass-singleton-perl libcommon-sense-perl libconvert-asn1-perl libdate-calc-perl libdate-manip-perl
  libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libdbd-mysql-perl libdbi-perl libdigest-hmac-perl libdigest-sha1-perl liberror-perl
  libgcrypt11-dev libgpg-error-dev libgravatar-url-perl libhtml-template-perl libio-multiplex-perl libjson-perl libjson-xs-perl liblist-moreutils-perl
  libmail-sendmail-perl libmysqlclient16 libnet-cidr-perl libnet-daemon-perl libnet-dns-perl libnet-ip-perl libnet-ldap-perl libnet-server-perl
  libparams-validate-perl libplrpc-perl libsub-name-perl libsys-hostname-long-perl libtemplate-plugin-htmltotext-perl libunistring0 libxml-dom-perl libxml-libxml-perl
  libxml-namespacesupport-perl libxml-perl libxml-regexp-perl libxml-sax-expat-perl libxml-sax-perl libxml-simple-perl libxml2-dev libxslt1-dev libyaml-perl
  libyaml-syck-perl linux-libc-dev make manpages-dev mysql-client-5.1 mysql-common mysql-server mysql-server-5.1 mysql-server-core-5.1 rsync
The following packages will be upgraded:
  apache2.2-bin bind9-host bogofilter bogofilter-bdb bogofilter-common cups cups-bsd cups-client cups-common cups-pk-helper cups-ppdc dhcp3-client dhcp3-common
  dnsutils exim4 exim4-base exim4-config exim4-daemon-light ghostscript ghostscript-cups gnupg gpgv host iceweasel isc-dhcp-client isc-dhcp-common libavcodec52
  libavformat52 libavutil49 libbind9-60 libcups2 libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1 libcurl3-gnutls libdns69 libexif12 libexpat1
  libgs8 libisc62 libisccc60 libisccfg62 liblwres60 libmozjs2d libnss3-1d libopenjpeg2 libperl5.10 libpostproc51 libproxy0 libsmbclient libssh-4 libssl0.9.8
  libswscale0 libtiff4 libwbclient0 libxml2 libxml2-utils libxslt1.1 linux-base linux-image-2.6.32-5-686 openoffice.org openoffice.org-base openoffice.org-base-core
  openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-emailmerge openoffice.org-evolution openoffice.org-filter-binfilter
  openoffice.org-filter-mobiledev openoffice.org-gcj openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-impress
  openoffice.org-java-common openoffice.org-math openoffice.org-officebean openoffice.org-report-builder-bin openoffice.org-style-galaxy openoffice.org-style-tango
  openoffice.org-writer openssl perl perl-base perl-modules python-libxml2 python-uno sudo ttf-opensymbol uno-libs3 ure xserver-common xserver-xephyr
  xserver-xorg-core xsltproc xulrunner-1.9.1 
100 upgraded, 73 newly installed, 0 to remove and 0 not upgraded.
Need to get 265 MB/299 MB of archives.
After this operation, 170 MB of additional disk space will be used.
Do you want to continue [Y/n]? ----- 

1 comment:

  1. Hi,
    I like to install koha in debian squazee server, following your instructions. I've have some problem with apache2 server, following your instructions.
    Now, when I write url http://intranet.cibertecarios.es:8080
    The system returns the follows error:
    Software error:

    Can't locate ZOOM.pm in @INC (@INC contains: /usr/share/koha/lib

    I search in the official koha community, and others websites, blogs, etc, but I can't find the solution.

    Could you help me, please?
    Thanks,

    ReplyDelete