nativeInstallerroundcube

Install plugins

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

The Roundcube plugin repository is based on Composer. To install and enable a plugin on Roundcube, is also necessary to install the Composer installer. That way, you will have connected your local Roundcube installation to the plugin repository. The steps below show you the process of the installation of an example plugin. Repeat this process using the plugin you want to install from the Roundcube Plugins Official Repository.

  • Change to the htdocs directory and copy the composer.json file there as shown below:

    $ cd installdir/apps/roundcube/htdocs/
    $ sudo cp -p composer.json-dist composer.json
    
  • Add the plugin in the composer.json file. The plugin of this example is named “roundcube/rcsample”, replace it with the name of the plugin you want to install.

    "require" : {
        ...,
        "roundcube/rcsample": ">=0.2.0"
    }
    
  • Install Git in the system:

    • Debian:

      $ sudo apt-get install git
      
    • CentOS:

      $ yum install git
      
  • Install the composer.phar file to finish installing and enabling the plugin:

    $ curl -sS https://getcomposer.org/installer | sudo php
    $ sudo php composer.phar install