• Stars
    star
    754
  • Rank 57,950 (Top 2 %)
  • Language
    Crystal
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Packaged versions of Zotero and Juris-M for Debian-based systems

ZoteroJuris-M

PSA

I was in the process of transferring the hosting of these packages to the Zotero organisation. That may or may not yet happen soon, but right now, if you're reading this, you'll likely have to update the pointer to the repo. If you are getting errors, please re-run install.sh or see the instructions below to re-install the repo manually. I have had to restructure the repos. I apologize, but it was a necessary simplification. Simply re-running the install is all that is required, no need to do anything at all with your current install of Zotero.

Primary source:

  • (re)install using curl -sL https://raw.githubusercontent.com/retorquere/zotero-deb/master/install.sh | sudo bash

Mirrors:

Deprecated sources, please change to the primary source.

If you still use these, you will get errors -- apologies for this, but they had become so unreliable I cannot support them. Please re-install using the instructions above. The following are no longer supported:

  • the downloads on this repo
    • github has made changes to how they're hosting release files, which triggered a long-standing bug in apt.
  • sourceforge
    • sourceforge uses a mirror system that updates haphazardly and which may redirect you to a mirror that is down.
  • deprecated URL on backblaze

This repository contains packaged releases of Zotero and Juris-M for Debian-based Linux systems and Crostini-enabled chromebooks, and the script used to build them. It also offers the latest nightly zotero-beta.

This repository updates to new releases of Zotero and Juris-M within 2 hours, usually faster.

Contents of the packages

The packages include the whole Zotero/Juris-M binaries, as built by Zotero / Juris-M teams themselves.

The packages provide a system-wide installation (into the /usr/lib directory), as opposed to a single-user installation (e.g. in your HOME directory).

They manage both desktop file registration and MimeType registration.

Installing Zotero / Juris-M

Installing Zotero

To install Zotero, use the following commands:

wget -qO- https://raw.githubusercontent.com/retorquere/zotero-deb/master/install.sh | sudo bash
sudo apt update
sudo apt install zotero

Installing Juris-M

To install Juris-M, use the following commands:

wget -qO- https://raw.githubusercontent.com/retorquere/zotero-deb/master/install.sh | sudo bash
sudo apt update
sudo apt install jurism

Note

You can use curl instead of wget by typing

curl -sL https://raw.githubusercontent.com/retorquere/zotero-deb/master/install.sh | sudo bash

Updating Zotero / Juris-M

The Zotero / Juris-M programs provided by this repository have their self-update facility disabled.

Simply rely on on your system's package manager to give you update notifications when a new version comes out.

Alternatively, you can use the following commands:

sudo apt update
sudo apt upgrade

install.sh will ask for sudo permissions to install the pointer to the apt repo, and to add the signing key to the keyring.

Beta packages

This repo also has the nightly beta's, installable as the zotero-beta and jurism-beta packages. You can install these alongside the regular packages.

Package signing errors in Debian/Ubuntu/...

The accepted key format in Debian-based systems seems to have changed a while ago, which means the existing signing verification key you have may no longer be available during install. Re-running the install script will remedy that:

wget -qO- https://raw.githubusercontent.com/retorquere/zotero-deb/master/install.sh | sudo bash

Instructions for installation on Crostini-capable Chromebooks

Instructions for installation on Crostini-capable Chromebooks can be found on the wiki.

Uninstall

wget -qO- https://raw.githubusercontent.com/retorquere/zotero-deb/master/uninstall.sh | sudo bash
sudo apt-get purge zotero

What goes on under the hood in install.sh

The install.sh is convenient, but there's a risk to running random scripts from the internet as root. What the script does, and what you could manually do yourself, is:

Check whether you are installing on a supported architecture:

case `uname -m` in
  "i386" | "i686" | "x86_64")
    ;;
  *)
    echo "Zotero is only available for architectures i686 and x86_64"
    exit
    ;;
esac

Set up some basic information about the repo and your environment:

KEYNAME=zotero-archive-keyring.gpg
GPGKEY=https://raw.githubusercontent.com/retorquere/zotero-deb/master/$KEYNAME
KEYRING=/usr/share/keyrings/$KEYNAME

checks whether you have curl or wget and use that to download the public key for signature verification

if [ -x "$(command -v curl)" ]; then
  sudo curl -L $GPGKEY -o $KEYRING
elif [ -x "$(command -v wget)" ]; then
  sudo wget -O $KEYRING $GPGKEY
else
  echo "Error: need wget or curl installed." >&2
  exit 1
fi
sudo chmod 644 $KEYRING

remove old key with too broad reach if present

sudo rm -f /etc/apt/trusted.gpg.d/zotero.gpg

install repo pointer

cat << EOF | sudo tee /etc/apt/sources.list.d/zotero.list
deb [signed-by=$KEYRING by-hash=force] https://zotero.retorque.re/file/apt-package-archive ./
EOF

clean up remnants from previous use of another mirror, if any

sudo apt-get clean

Developers

To rebuild this repo you need:

  • a deb-based system (I use Ubuntu)
  • Python 3.10

More Repositories

1

zotero-better-bibtex

Make Zotero effective for us LaTeX holdouts
TypeScript
4,806
star
2

zotero-storage-scanner

A Zotero plugin to remove the broken & duplicate attachment link of the bibliography
TypeScript
493
star
3

zotero-folder-import

TypeScript
290
star
4

zotero-report-customizer

TypeScript
146
star
5

zotero-auto-index

TypeScript
140
star
6

zotero-file

Zotero 7 Meet ZotFile: Zotero plugin to manage your attachments: automatically rename, move, and attach PDFs (or other files) to Zotero items.
Java
127
star
7

zotero-open-pdf

TypeScript
94
star
8

zotero-file-hierarchy

https://goo.gl/forms/dFD27RHUuArq6UEK2
JavaScript
74
star
9

zotero-date-from-last-modified

TypeScript
69
star
10

zotero-pmcid-fetcher

TypeScript
67
star
11

zotero-sync

TypeScript
31
star
12

generator-zotero-plugin

Generate zotero plugin build scaffolding
TypeScript
31
star
13

devonthink

TypeScript
30
star
14

zotero-link-local-files

CSS
24
star
15

bibtex-parser

A node/npm package for parsing bibtex (.bib) files. This is the parser that drives Better BibTeX for Zotero bib(la)tex imports.
TeX
20
star
16

zotero-thebrain-export

TypeScript
19
star
17

zotero-plugin

TypeScript
16
star
18

zotero-opds

TypeScript
12
star
19

zotero-bulk-mas-import

TypeScript
7
star
20

zotero-cite-columns

TypeScript
7
star
21

zotero-chatgpt-summary

TypeScript
4
star
22

zotero-minimize

Minimize zotero at start. Does nothing else. Nothing to configure.
TypeScript
4
star
23

zotero-asreview

Show ASReview rankings in Zotero
TypeScript
4
star
24

zotero-erdos

TypeScript
4
star
25

zotero-seektable-export

TypeScript
2
star
26

pdf2email

Python
2
star
27

zotero-offline-index

JavaScript
2
star
28

unicode2latex

Convert unicode text to LaTeX
Crystal
2
star
29

ruby-exchange-offline-address-book

Ruby
2
star
30

zotero-open-search

JavaScript
2
star
31

zotero-creator-metaphone

TypeScript
1
star
32

zotero-clear-journal-abbrev

TypeScript
1
star
33

andrew-ng

MATLAB
1
star
34

jest-circus-test

JavaScript
1
star
35

pruner.py

Rake for python
Python
1
star
36

zotero-debug-log

TypeScript
1
star
37

json-schema-edtf

JavaScript
1
star