LibreOffice fresh
Silent install package for LibreOffice fresh
26.2.3-15
Office
Office
- package: tis-libreoffice-fresh
- name: LibreOffice fresh
- version: 26.2.3-15
- categories: Office
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- editor: The Document Foundation
- licence: MPLv2.0 (secondary license GPL, LGPLv3+ or Apache License 2.0)
- locale: all
- target_os: debian_based
- impacted_process: swriter,sweb,soffice,smath,simpress,sdraw,scalc,sbase
- architecture: arm64
- signature_date:
- size: 205.25 Mo
- installed_size: 980.25 Mo
- homepage : https://www.libreoffice.org/
- conflicts :
package : tis-libreoffice-fresh
version : 26.2.3-15
architecture : arm64
section : base
priority : optional
name : LibreOffice fresh
categories : Office
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : LibreOffice (fresh Branch) is a free and open-source office suite
depends :
conflicts : tis-libreoffice-still
maturity : PROD
locale : all
target_os : debian_based
min_wapt_version : 1.8
sources : https://www.libreoffice.org/download/download
installed_size : 980246528
impacted_process : swriter,sweb,soffice,smath,simpress,sdraw,scalc,sbase
description_fr : LibreOffice (fresh) est une suite bureautique libre et gratuite
description_pl : LibreOffice (fresh Branch) to darmowy i open-source'owy pakiet biurowy
description_de : LibreOffice (fresh Branch) ist ein freies und quelloffenes Office-Paket
description_es : LibreOffice (fresh Branch) es una suite ofimática gratuita y de código abierto
description_pt : O LibreOffice (filial fresh) é uma suite de escritório gratuita e de código aberto
description_it : LibreOffice (fresh Branch) è una suite per ufficio libera e open-source
description_nl : LibreOffice (fresh Branch) is een gratis en open-source kantoorpakket
description_ru : LibreOffice (fresh Branch) - это бесплатный офисный пакет с открытым исходным кодом
audit_schedule :
editor : The Document Foundation
keywords : bureautique,office,suite
licence : MPLv2.0 (secondary license GPL, LGPLv3+ or Apache License 2.0)
homepage : https://www.libreoffice.org/
package_uuid : 736de611-cf4b-47a8-b358-7f00185fbb7a
valid_from :
valid_until :
forced_install_on :
changelog : https://wiki.documentfoundation.org/Category:ReleaseNotes
min_os_version : 9
max_os_version :
icon_sha256sum : 9c51eebe7a7aa8b0066cc11588899f1add0a10f4b80fcee271d6eca64be46a87
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-06-08T00:00:36.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : QYvzY192JKZYzimTOq5jo9eOlMZnJZK4L9z29I67TKcs6whpgBrOvmK56UtBrEL2y/+nSFBM9fyAB6sLPfs/9X6G63aFhu4tmPPnbcI2G1njpiChuVc8nB8RlUAFLz57GeP2xZU4EE5rE0BR3LulVp5bffdtoqspYAitesafCXuJ4S/b6s7SsDlmvbuTi8uW/g+pjQWuX6zyG6IeezMDsBXbzZREA0a3LulFs2q+egn5JcVOCDzUrmRMa8AMZz3K+YGUnTrCYkZ2ArGRm8AQStThm54/f6aYBEgxFCAbIZXyftiLXypMJqARN5hiNuB/P22cy1BMVJa3IFRDEDq30Q==
# -*- coding: utf-8 -*-
from setuphelpers import *
import tarfile
from typing import List, Optional
def install():
isapt = True
try:
run("apt --version")
except:
isapt = False
version_soft = control.get_software_version()
if isapt:
uninstall()
extract_tar("LibreOffice_%s_Linux_aarch64_deb.tar.gz" % version_soft)
run("dpkg -i */DEBS/*.deb")
else:
extract_tar("LibreOffice_%s_Linux_x86-aarch64_rpm.tar.gz" % version_soft)
run("yum install RPMS/*.rpm -y")
def uninstall():
run_notfatal("LANG=C DEBIAN_FRONTEND=noninteractive apt-get remove -y *libobasis*")
run_notfatal("LANG=C DEBIAN_FRONTEND=noninteractive apt-get remove -y *libreoffice*")
def extract_tar(
tar_path: str,
extract_path: str = ".",
exclude_list: Optional[List[str]] = None,
include_list: Optional[List[str]] = None
) -> None:
"""
Extracts a tar archive to the given directory, with optional inclusion or exclusion filtering.
:param tar_path: Path to the .tar (or .tar.gz, .tar.bz2, etc.) archive.
:param extract_path: Directory where files should be extracted.
:param exclude_list: List of path prefixes to exclude from extraction.
:param include_list: List of path prefixes to include exclusively. Overrides exclude_list if provided.
"""
with tarfile.open(tar_path, 'r:*') as tar:
all_members = tar.getmembers()
if include_list:
include_set = set(include_list)
members = [
m for m in all_members
if any(m.name.startswith(inc) for inc in include_set)
]
elif exclude_list:
exclude_set = set(exclude_list)
members = [
m for m in all_members
if not any(m.name.startswith(exc) for exc in exclude_set)
]
else:
members = all_members
tar.extractall(path=extract_path, members=members)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import requests
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
url = "https://www.libreoffice.org/download"
arch_dict = {
"x86" : "choice_x86_64",
"x64" : "choice_x86_64",
"arm64" : "choice_aarch64",
"arm" : "choice_aarch64"
}
os_dict_choice = {
"windows" : f"choice_win {arch_dict[control.architecture]}",
"darwin" : f"choice_mac {arch_dict[control.architecture]}",
"debian_based" : f"choice_linux {arch_dict[control.architecture]} choice_deb",
}
os_dict_ext = {
"windows" : ".msi",
"darwin" : ".dmg",
"debian_based" : "_deb.tar.gz",
}
os_choice = os_dict_choice[control.target_os]
os_extension = os_dict_ext[control.target_os]
# Getting latest version from official website
for bs_search in bs_find_all(url,'a', 'class', f'button choice choice_latest {os_choice}', proxies=proxies):
if bs_search['href'].endswith(os_extension):
download_url = bs_search['href']
latest_bin = download_url.split("/")[-1]
version = latest_bin.split("_")[1]
# Downloading latest binaries
print(f"Latest {control.name} version is: {version}")
print(f"Download URL is: {download_url}")
if not isfile(latest_bin):
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
else:
print(f"Binary is present: {latest_bin}")
# Changing version of the package
version = ".".join(version.split(".")[:3])
if Version(version, 4) > Version(control.get_software_version(), 4):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating or not update-package-sources
return package_updated
0e5252725da663dbc237367444c9f41caae6ec4b7b58d3e714fcef907becaf9f : LibreOffice_26.2.3_Linux_aarch64_deb.tar.gz
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
99aae655f93f4fb93c0b5771e5af51fc29ede87e97af3339b67d7c626dd75409 : WAPT/control
9c51eebe7a7aa8b0066cc11588899f1add0a10f4b80fcee271d6eca64be46a87 : WAPT/icon.png
0361e3094150fc5c9d58b15db5368d3f64a709966395bdaff1f2d02f680d3b40 : luti.json
aa120b514922f1362abd0b6e27bd3bc620c4d1c690a2cbe0a94c075f066e50fd : setup.py
d9fbf88468ee549491188a7390063fa2e3d9d00d982044d575845cfb2b930024 : update_package.py