Zotero
Paquet d’installation silencieuse pour Zotero
8.0.1-12
Utilities
Utilities
- package: tis-zotero
- name: Zotero
- version: 8.0.1-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: 102.94 Mo
- installed_size: 116.42 Mo
- homepage : https://www.zotero.org/
package : tis-zotero
version : 8.0.1-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 : PROD
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 : 200237ab-a889-4d03-8547-7d82d1af2399
valid_from :
valid_until :
forced_install_on :
changelog : https://www.zotero.org/support/changelog
min_os_version :
max_os_version :
icon_sha256sum : 499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-02-02T16:22:53.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 : A2HHv0rWTw6xUNPo+SNGnigYvTvr8PRfQlmarEia33VePA8ISUpLU0rLre/SVa5hMRtIkIcGOLDhiKEH0GOC9+K8dxpCmByr11epUz85cyMYRWQ022OhddM9zGfUIZXDD4usxqvoetdc5K0mQnRZKcD4n0BTZUi3IYKPac9jUnCXFyp2C0L+5ZF+d4WTqBwb65Cndiu30jg5pva9sp1lIkJzS7jDKd5jqF0oLEP2GIppHIzi8HWhIbme1CU0fkYkxDee1yKZSbBFTV4qTrzja4XtOR5JgOhn3a2eR2k04R02bAwxq5an+NO2j+eS9jykiAMJeTlCE0Iq45pH8aaStg==
# -*- 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()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
3a7b4c73e75886b7d9fa0f49379329b65f122bd573fb36d849195ba118d7231c : WAPT/control
499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7 : WAPT/icon.png
9749708c5b66386069b3ca96ae8199de9283248503535fbcf30851a8776aac80 : Zotero-8.0.1_linux-x86_64.tar.xz
5aec1ed480cf4373ac2df455c9c28f2a00239ac5a904c7f64f0dad7ce24b4f73 : luti.json
b2e8c4b040c7b7f8ff79ef324adede23d1ff6566abe37ed14bd938ee155a4144 : setup.py
d42b996a9d53b1111d53f1e344b2c56f4ded3f3e3db059b59b3859b0404d976c : update_package.py