How Can We Help?
< All Topics
Print

Manual Download of Module or Theme Files in Drupal: Step-by-Step Guide

a) How do I download Drupal modules or theme files ?

1. First, access the module or theme project page on drupal.org, such as the admin toolbar page (https://www.drupal.org/project/admin_toolbar).

2. Then, scroll to the Downloads section near the bottom of the page.

drupal

3. Finally, click tar.gz to download the file to your computer.

b) How do I upload a Drupal module or theme file to my website and unpack it ?

1. To add a new module or theme, create subdirectories in the top-level modules and themes directories if they don’t already exist. Users typically create a contrib subdirectory for contributed modules and themes downloaded from Drupal.org and a custom subdirectory for their own creations.

2. To update an existing module or theme, activate the site’s maintenance mode.

3. To replace an existing module or theme with an updated version, locate and delete all existing files and directories, typically located under the top-level modules directory and the top-level themes directory, respectively.

4. Upload the .tar.gz file or archive to your site, either in the same location as the deleted directory or in the corresponding subdirectory of the module or theme for replacing an existing module or theme.

5. Extract files from the .tar.gz archive and create a subdirectory in the same location. If you don’t have terminal access or your hosting server isn’t running Linux, use your hosting control panel’s file manager to extract files. If you have terminal access and use a tar.gz file, use the command tar -xzf admin_toolbar-8.x-1.17.tar.gz.

6. The compressed files should be deleted from the server unless the decompression method has already been used to do so.

7. Sections Installing Modules from Drupal.org in Drupal: A Step-by-Step Guide, Installing Themes from Drupal.org in Drupal: A Step-by-Step Guide, of Drupal.org guide users on how to download and install modules and themes and update them, starting with the steps after the automatic download is complete.

Table of Contents