{question}
How can I download an older version of SingleStore?
{question}
{answer}
The SingleStore public documentation always points to the latest available patch version, as it is generally recommended to run the latest version in production environments. However, in some scenarios, such as testing or replicating an existing environment, you may need to download an older version of the SingleStore engine.
This article explains how to find and download earlier versions of the SingleStore server packages.
Step 1: Retrieve Package Metadata for the Desired Version
You can use the following curl
command in a terminal (Mac, Linux, or any terminal that supports curl
) to fetch the metadata for a specific version.
Command:
curl https://release.memsql.com/production/index/memsqlserver/<version_number>.json
Replace <version_number>
with the desired version (e.g., 8.9.4
).
Example:
curl https://release.memsql.com/production/index/memsqlserver/8.9.4.json
Output:
% curl https://release.memsql.com/production/index/memsqlserver/8.9.4.json
{
"releaseID": "7f3bc9ba-22e8-464d-81e6-0352f61cb90f",
"version": "8.9.4",
"commit": "29f2cc3ceb7434b45fcc96542abaacb861dd9850",
"packages": {
"memsql-server-deb": {
"Path": "production/debian/pool/memsql-server8.9.4_29f2cc3ceb_amd64.deb",
"Sha256Sum": "e95f8f31cc59e7e768960cf67252068dcc8a30b3b9d4aed39f996b6b6fac4eff"
},
"memsql-server-rpm": {
"Path": "production/rpm/x86_64/memsql-server8.9.4-29f2cc3ceb.x86_64.rpm",
"Sha256Sum": "494fba9a1e0becab58648d1b9fbd570e7d1ef3166b28d36fde32d2aae5b6e5e3"
},
"memsql-server-tar": {
"Path": "production/tar/x86_64/memsql-server-8.9.4-29f2cc3ceb.x86_64.tar.gz",
"Sha256Sum": "d412e812c25f03ca971ece8637c33bfab60e395af9d2ba334071456eb58d4960"
},
"memsql-symbols-tar": {
"Path": "production/tar/x86_64/memsql-symbols-8.9.4-29f2cc3ceb.x86_64.tar.gz",
"Sha256Sum": "4ff4518b8191e5c109f6fc5cc429827147f6135766b882475ff5493c1a947da9"
}
}
}
Step 2: Download the Package
From the JSON output, copy the value of the "Path"
field for the desired format (DEB, RPM, or TAR) and append it to the base URL:
https://release.memsql.com/
+ [Path from the output above]
Example URLs:
Debian (.deb):
https://release.memsql.com/production/debian/pool/memsql-server8.9.4_29f2cc3ceb_amd64.deb
RPM:
https://release.memsql.com/production/rpm/x86_64/memsql-server8.9.4-29f2cc3ceb.x86_64.rpm
Tarball:
https://release.memsql.com/production/tar/x86_64/memsql-server-8.9.4-29f2cc3ceb.x86_64.tar.gz
To download via terminal using wget
:
wget https://release.memsql.com/production/debian/pool/memsql-server8.9.4_29f2cc3ceb_amd64.deb
wget https://release.memsql.com/production/rpm/x86_64/memsql-server8.9.4-29f2cc3ceb.x86_64.rpm
Alternatively, you can paste the URL directly into your browser to download the package.
{answer}