Old LibreOffice versions
From time to time there is a requirement to download older versions of LibreOffice, for example it could be as part of a retro computing project where an older Windows OS is being used.
The main LibreOffice archive is at
So for example I have downloaded version 5.4.7.2, which can be found at https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2
There is a really basic bash script to download which I have modified so it works better and also has some extra wget commands in to download additional resources.
mkdir LibreOffice_All_Platforms
cd LibreOffice_All_Platforms
# Array of download URLs for LibreOffice 5.4.7.2 installers
# Array of download URLs for LibreOffice 5.4.7.2 full package (all files)
urls=(
# Windows Installers
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86.msi"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86_64/LibreOffice_5.4.7.2_Win_x64.msi"
# Help packs for 32 and 64 bit windows
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_helppack_en-GB.msi"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_helppack_en-GB.msi.asc"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86_64/LibreOffice_5.4.7.2_Win_x64_helppack_en-GB.msi"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86_64/LibreOffice_5.4.7.2_Win_x64_helppack_en-GB.msi.asc"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_helppack_en-GB.msi"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_helppack_en-US.msi.asc"
# macOS Installer
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/mac/x86_64/LibreOffice_5.4.7.2_MacOS_x86-64.dmg"
# Linux DEB Packages
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/deb/x86/LibreOffice_5.4.7.2_Linux_x86_deb.tar.gz"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/deb/x86_64/LibreOffice_5.4.7.2_Linux_x86-64_deb.tar.gz"
# Linux RPM Packages
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/rpm/x86/LibreOffice_5.4.7.2_Linux_x86_rpm.tar.gz"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/rpm/x86_64/LibreOffice_5.4.7.2_Linux_x86-64_rpm.tar.gz"
# Language Packs for Windows
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_langpack.msi"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86_64/LibreOffice_5.4.7.2_Win_x64_langpack.msi"
# Language Packs for macOS
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/mac/x86_64/LibreOffice_5.4.7.2_MacOS_x86-64_langpack.dmg"
# Language Packs for Linux DEB
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/deb/x86/LibreOffice_5.4.7.2_Linux_x86_deb_langpack.tar.gz"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/deb/x86_64/LibreOffice_5.4.7.2_Linux_x86-64_deb_langpack.tar.gz"
# Language Packs for Linux RPM
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/rpm/x86/LibreOffice_5.4.7.2_Linux_x86_rpm_langpack.tar.gz"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/rpm/x86_64/LibreOffice_5.4.7.2_Linux_x86-64_rpm_langpack.tar.gz"
# SDK (Software Development Kit)
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/deb/x86_64/LibreOffice_5.4.7.2_Linux_x86-64_deb_sdk.tar.gz"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/rpm/x86_64/LibreOffice_5.4.7.2_Linux_x86-64_rpm_sdk.tar.gz"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_sdk.msi"
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86_64/LibreOffice_5.4.7.2_Win_x64_sdk.msi"
# Source Files
"https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/src/libreoffice-5.4.7.2.tar.xz"
)
# Loop to download each file
for url in "${urls[@]}"; do
wget "$url"
done
# extra to be added to the above script
The following additional commands to download helppacks are:
wget -c https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_helppack_en-GB.msi
wget -c https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_helppack_en-GB.msi.asc
wget -c https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86_64/LibreOffice_5.4.7.2_Win_x64_helppack_en-GB.msi
wget -c https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86_64/LibreOffice_5.4.7.2_Win_x64_helppack_en-GB.msi.asc
wget -c https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_helppack_en-GB.msi
wget -c https://downloadarchive.documentfoundation.org/libreoffice/old/5.4.7.2/win/x86/LibreOffice_5.4.7.2_Win_x86_helppack_en-US.msi.asc
These could be integrated in to the above script.
Powershell
If you are using Windows, then you may want to use powershell for this. You will need to set up both an array then use a loop to read each item in the array and pass this to wget.
Maybe a good starting point.
Mastodon | Peertube | Join Mastodon |