How to install and uninstall a plugin in Moodle 3

Plugins are optional Moodle enhancements that add or extend features such as activities, quiz question types, reports, integrations with other systems, and more.

Installing plugins

There are three methods of installing Moodle plugins:

Installing directly from the Moodle plugins directory

This is the simplest method of installing Moodle plugins and the method we recommend for most users. Note that registering for a free moodle.org account is required to use this method. If you don’t have a moodle.org account, use the uploaded .zip file method.

Log in to Moodle as an administrator and go to Site administration > Plugins > Install plugins. Click Install plugins from the Moodle plugins directory.

Log in to the Moodle plugins directory and search for the plugin you want to install. When you find the plugin, click its name to open the details page, then click Install now.

On the My sites page, click Install now next to the correct Site name. When you’re prompted to confirm the installation, click Continue.

When the installation is complete, check the plugin validation report for errors or alerts.

Installing via uploaded .zip file

If you don’t have a moodle.org account or the plugin isn’t available to install directly from the plugins directory, you can install via uploaded .zip file.

Open the Moodle plugins directory in your web browser. Select your Moodle version and search for the plugin you want to install. When you find the plugin, click its name to open the details page, then click Download to save the .zip file on your local computer.

Next, log in to Moodle as an administrator and go to Site administration > Plugins > Install plugins. In the Install plugin from ZIP file section, click Choose a file to browse to the downloaded .zip file or drag the .zip file to the drag and drop box on the page. Click Install plugin from the ZIP file.

Click Continue to confirm the installation. When the installation is complete, check the plugin validation report for errors or alerts.

Manually installing a plugin on the web server

If you can’t install the plugin in the Moodle administration web interface, you can install it directly on the web server. First, save the plugin .zip file on your local computer as described in Installing via uploaded .zip file.

Next, log in to your HostPapa Dashboard and click My cPanel, then File Manager.

Select the Moodle path, or directory, where the plugin will be installed. The correct path depends on the type of plugin. Common types of plugins and their Moodle paths are listed in the table below. For information about all plugin types and their Moodle paths, see Plugin types on the Moodle documentation web page.

Plugin type Moodle path
Themes moodle/theme
Activity modules and resources moodle/mod
Sidebar blocks moodle/blocks
Question types moodle/question/type
Course formats moodle/course/format
Admin reports moodle/admin/report

In this example, we’re installing a sidebar block plugin, so we’ll open the moodle/blocks directory in File Manager and click Upload.

Locate the plugin .zip file you downloaded from the Moodle plugins directory and drag it into your browser or click Select File and browse to the file.

When the upload is complete, return to the File Manager. Select the .zip file and click Extract. In the Extract dialog box, click Extract File.

Log in to Moodle as an administrator and go to Site administrationNotifications and look for the plugin installation success message.

Uninstalling plugins

If you need to uninstall a Moodle plugin, log in to Moodle as an administrator and go to Site administration > Plugins > Plugins overview. Click Uninstall next to the plugin you want to remove.

Next, you must delete the plugin directory. If you don’t delete the directory, the plugin will be automatically re-installed when Moodle is updated.

Log in to your HostPapa Dashboard and click My cPanel, then File Manager.

In File Manager, find the plugin Moodle path and delete the directory. For example, after deleting the Chat plugin, delete the moodle/mod/chat directory.

More information

For up to date information about Moodle plugins, see:

If you have any questions or need help you can always contact HostPapa Support by opening a support ticket. Details about how to open a support ticket are here.

Was this article helpful?

  • Was this article helpful ?

  • yes   no

Related Articles

Leave A Comment?