How to setup plugin system in Koha

Plugin system allow users to add additional tools/features.

We have to make some changes in Koha installation.

Follow the steps to get ready Koha to facilitate plugins ,

Open a Terminal and execute following commands,

Create a directory for plugins,

sudo su
mkdir /var/lib/koha/plugins
cd /var/lib/koha
chmod -R 777 plugins

Open following file using your default text editor (e.g. gedit, leafpad)

sudo gedit /etc/koha/sites/library/koha-conf.xml

Go to the bottom of the file and add the following line before </config>


Save and close the file. 

Open Apache configuration file for Koha,

sudo gedit /etc/apache2/sites-available/library
Add the following line  at the bottom of the file,

Alias /plugin/ "/var/lib/koha/plugins/"

Save and close the file.

Restart Apache,

/etc/init.d/apache2 restart

Start Koha and goto,

Administration > System Preferences > Enhanced content > Plugins > UseKohaPlugins > Enable

Save preferences.

Goto Koha > Tools > Tool Plugins

You can upload and run plugins from here.
Please find few Koha plugins from following link, 


  1. Thanks .It works fine .The Plugin system is now enabled in our Koha 3.12 software system.
    Is there any plugin KPZ file available for catalogue card printing ?

  2. Very interesting! :) But this doesn't fit with current package koha-common installation, and:
    is very risky to put 777 permissions to a folder, it should be only to koha users (for each instance):
    Alias /plugin/ "/var/lib/koha/INSTANCE/plugins"