Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

Downloading a package by hand

How to fetch an .ezpkg from the package server yourself, look inside it with tar, check that it is complete and what you expect, and import it with ezpm, the administration's upload page or the setup wizard.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/site-packages/package-server/downloading-a-package-by-hand.md

On this page

Downloading a package by hand

This page is for administrators who want to see a package before an installer uses it, or who have to bring a package to a server that cannot reach the package server. It shows how to download an .ezpkg, look inside it, check it, and import it.

Contents

  1. Find the address
  2. Download
  3. Look inside
  4. Check it
  5. Find what it requires
  6. Import it
  7. Related pages

Find the address

Every package's address is the url attribute of its entry in the release's index.xml. For 6.0.15 they all follow one pattern:

https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/<name>.ezpkg

To list the names and types of a release:

curl -s https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/index.xml \
  | grep -o '<package name="[^"]*"[^>]*type="[^"]*"' \
  | sed 's/<package name="\([^"]*\)".*type="\([^"]*\)"/\1 \2/'

Or open the release folder in a browser (Browsing the package server).

Download

Work in a folder of your own, for example var/tmp/ of the installation, not in a shared temporary folder:

mkdir -p var/tmp/packages && cd var/tmp/packages
curl -fsSLO https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/sevenx_multisite.ezpkg
OptionWhy
-ffail on an HTTP error instead of saving the error page as the package
-s, -Squiet, but still show errors
-Lfollow a redirect (an http:// address is redirected to https://)
-Okeep the file name of the URL

wget https://... does the same. Behind a proxy, set it the way your tools expect (for curl -x or the https_proxy variable).

Look inside

An .ezpkg is a gzip compressed tar archive with the package folder's content at the top:

tar -tzf sevenx_multisite.ezpkg
documents/
documents/LICENCE
files/
files/default/
files/default/image/
files/default/image/logo.png
files/default/thumbnail/
files/default/thumbnail/thumbnail.png
package.xml
settings/
settings/ini-admin.php
settings/sevenx-multi-site-installer.php
...

Read one file without unpacking:

tar -xzOf sevenx_multisite.ezpkg package.xml | less

Unpack into a folder of its own to read the rest:

mkdir sevenx_multisite && tar -xzf sevenx_multisite.ezpkg -C sevenx_multisite

What the files are: The .ezpkg file and package.xml reference.

Check it

CheckCommandExpect
It is gzip datafile sevenx_multisite.ezpkg"gzip compressed data"
It is completels -l and the Content-Length of curl -sI <url>the same number of bytes
The archive is intacttar -tzf sevenx_multisite.ezpkg > /dev/null && echo okok
The definition is well formedtar -xzOf sevenx_multisite.ezpkg package.xml | xmllint --noout -no output
No unsafe entriestar -tzvf sevenx_multisite.ezpkg | grep -E '^[lhcbp]|\.\./'no output (no links, devices, or .. paths)
It is the file in Gitsha256sum of your file and of the same file in the server's repositorythe same sum

For the last check, the server's repository has every file with its history:

git clone --filter=blob:none https://github.com/se7enxweb/exponential.packages.exponential.earth.git
git -C exponential.packages.exponential.earth show HEAD:exponential/6.0/6.0.15/sevenx_multisite.ezpkg | sha256sum

The import applies its own checks as well: gzip signature, size and entry limits, only plain files and folders with relative paths, a valid package.xml with a valid name. They are listed in the Packages guide, 6. Uploading a package.

Find what it requires

A site package rarely comes alone. Its <requires> names the other packages:

tar -xzOf sevenx_multisite.ezpkg package.xml | xmllint --xpath '//requires/require/@name' -
# or, to see min-version too:
tar -xzOf sevenx_multisite.ezpkg package.xml | grep -A2 '<require '

For sevenx_multisite that gives sevenx_classes and sevenx_multisite_democontent, each with min-version="5.1". Download those too, and their requirements in turn, before you take the packages to a server without network access. See Dependencies and the install order.

Import it

Importing puts the package into the local repository (var/storage/packages/<vendor>/<name>/) without changing the site (Import versus install). Three ways:

On the command line, from the installation root:

php ezpm.php import var/tmp/packages/sevenx_multisite.ezpkg

ezpm.php import takes the path of an .ezpkg in either package format and runs the same archive checks as the upload page. It refuses a package whose name already exists in a repository ("Could not import package ..., it already exists"). See ezpm, the package manager on the command line.

In the administration: Setup > Packages, Import new package, choose the file, Import package (Importing a package).

In the setup wizard: on the Site package step, Upload package with the file, then Upload. The page is shown again with the package in the list (The setup wizard, 5.3.8).

Tip

To make the installer use your copies instead of downloading, import the site package and every package it requires before you start. A required package is used as it is when its version is at least the required min-version. The kickstarter and exp:install use an imported site package as it is; the setup wizard shows only the remote entry when the index lists a higher version than the imported copy, and choosing it downloads the package afresh (The setup wizard, 5.3.8).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x