Zotero
Paquet d’installation silencieuse pour Zotero
9.0.2-12
Utilities
Utilities
Les paquets PREPROD sont des paquets construits via LUTI.
Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.
- package: tis-zotero
- name: Zotero
- version: 9.0.2-12
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT,Jordan Arnaud
- editor: Corporation for Digital Scholarship
- licence: AGPL
- locale: all
- target_os: ubuntu(<=20), debian
- impacted_process: zotero
- architecture: x64
- signature_date:
- size: 103.98 Mo
- installed_size: 116.42 Mo
- homepage : https://www.zotero.org/
package : tis-zotero
version : 9.0.2-12
architecture : x64
section : base
priority : optional
name : Zotero
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT,Jordan Arnaud
description : Zotero is a free and open-source reference management software to manage bibliographic data and related research materials
depends :
conflicts :
maturity : PREPROD
locale : all
target_os : ubuntu(<=20), debian
min_wapt_version : 2.3
sources : https://www.zotero.org/download/
installed_size : 116416512
impacted_process : zotero
description_fr : Zotero est un logiciel de gestion de références gratuit, libre et open source, il permet de gérer des données bibliographiques et des documents de recherche
description_pl : Zotero jest wolnym i otwartym oprogramowaniem do zarządzania referencjami, służącym do zarządzania danymi bibliograficznymi i powiązanymi materiałami badawczymi
description_de : Zotero ist eine kostenlose und quelloffene Literaturverwaltungssoftware zur Verwaltung bibliographischer Daten und verwandter Forschungsmaterialien
description_es : Zotero es un software de gestión de referencias gratuito y de código abierto para gestionar los datos bibliográficos y los materiales de investigación relacionados
description_pt : Zotero é um software de gestão de referências gratuito e de código aberto para gerir dados bibliográficos e materiais de investigação relacionados
description_it : Zotero è un software di reference management gratuito e open-source per la gestione dei dati bibliografici e dei relativi materiali di ricerca
description_nl : Zotero is een gratis en open-source referentiebeheersoftware om bibliografische gegevens en verwant onderzoeksmateriaal te beheren
description_ru : Zotero - это бесплатное программное обеспечение с открытым исходным кодом для управления библиографическими данными и сопутствующими исследовательскими материалами
audit_schedule :
editor : Corporation for Digital Scholarship
keywords :
licence : AGPL
homepage : https://www.zotero.org/
package_uuid : 881dbab3-acf6-46f4-9c22-b03267c61991
valid_from :
valid_until :
forced_install_on :
changelog : https://www.zotero.org/support/changelog
min_os_version :
max_os_version :
icon_sha256sum : 499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-05-01T04:09:52.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 : qXJNre3VuQOxt/mLldC3K2hEEUE7cjlbfw5JS0AlDiEMVP/BOQbhlTPHSPS1cjRU8s6n1b9jcV0LPn/NW6KwiEehrQMx6vi8XgYqVpHrkFDMWAFT/SBuV5XQAn8+U8kM8EmQBJ3h8D9ZECeQ2tM8D9zW4c49gg3v2V659gTASYAvuCnw4+nzlBPTk35kgCSmLgwac/m9bM74dQzmWekQQsMjJi0sFUw1XXxyCdM6q0ITSfKK/pejjpzWOhb5MK232YX9gHH8k0dE/0z4kHxpBo1480TXlgCXL8b0EHecbYv6Xck9fpd0aZDE4JUe2uau9eLRGd7gao96fFlszMBMJQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
import tarfile
from typing import List, Optional
app_name = "zotero"
bin_name = "zotero"
bin_path = "/usr/local/bin"
app_path = makepath("/opt", app_name)
bin_target = makepath(bin_path, bin_name)
app_target = makepath(app_path, bin_name)
def install():
archive_path = glob.glob("Zotero*x86_64.tar.xz")[0]
extract_tar(archive_path, basedir)
if isdir(app_path):
remove_tree(app_path)
copytree2('Zotero_linux-x86_64', app_path)
if isfile(bin_target):
remove_file(bin_target)
os.symlink(app_target, bin_target)
def uninstall():
# Removing of symlink
if isfile(bin_path) or os.path.islink(bin_path):
remove_file(bin_path)
# Removing of the software
if isdir(app_path):
remove_tree(app_path)
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 *
import json
import requests
def update_package():
# Initializing variables
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
url = "https://www.zotero.org/download/"
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "script", "type", "text/javascript", proxies=proxies):
temp_str = str(bs_search)
if "linux-x86_64" in temp_str:
#dict_version = json.loads(temp_str.split(":", 1)[-1].split("\n", 1)[0].split("}")[0] + "}")
#version = dict_version["linux-x86_64"]
url_dl = requests.head("https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64" , proxies=proxies).headers["Location"]
latest_bin = url_dl.split("/")[-1]
version = latest_bin.split("-")[1].split("_")[0]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download url is: %s" % url_dl)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_dl, latest_bin, proxies=proxies)
# Changing version of the package
control.version = "%s-%s" % (version, control.version.split("-", 1)[-1])
control.save_control_to_wapt()
for f in glob.glob("*.tar.xz"):
if f != latest_bin:
remove_file()
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
59fd600ff52db60f6e47daa0a4024bd2372d5d8354891233c0d83883fbc83b24 : WAPT/control
499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7 : WAPT/icon.png
a5e69bf4ea45a92824e0e74a624c8c8227a38214e3b5c45dcab2b5d77cc280cf : Zotero-9.0.2_linux-x86_64.tar.xz
29ec85ebd30bf4cd6ae940824f03b93ec3a00a803fc29e444c883a056126d44d : luti.json
b2e8c4b040c7b7f8ff79ef324adede23d1ff6566abe37ed14bd938ee155a4144 : setup.py
d42b996a9d53b1111d53f1e344b2c56f4ded3f3e3db059b59b3859b0404d976c : update_package.py