# Install on Arch Linux

# pacman

Add the following lines to your /etc/pacman.conf with sudo nano /etc/pacman.conf:

[home_pbek_QOwnNotes_Arch_Extra]
SigLevel = Optional TrustAll
Server = http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Arch_Extra/$arch
1
2
3

Run the following shell commands to trust the repository:

wget http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Arch_Extra/x86_64/home_pbek_QOwnNotes_Arch_Extra.key -O - | sudo pacman-key --add -
sudo pacman-key --lsign-key F2205FB121DF142B31450865A3BA514562A835DB
1
2

If the command sudo pacman-key --lsign-key F2205FB121DF142B31450865A3BA514562A835DB fails with a message like: ERROR: FFC43FC94539B8B0 could not be locally signed., you could first find out the actual keyid of the downloaded key, i.e. with the command (and output):

gpg /path/to/downloaded/home_pbek_QOwnNotes_Arch_Extra.key
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
pub   rsa2048 2019-07-31 [SC] [expires: 2021-10-10]
      F2205FB121DF142B31450865A3BA514562A835DB
uid           home:pbek OBS Project <home:[email protected]>
1
2
3
4
5

You can now synchronize your package database and install the package with pacman:

sudo pacman -Syy qownnotes
1

Direct Download (opens new window)

TIP

Of course you can also use this repository with other Arch Linux based distributions, like Manjaro.

# Arch User Repository (AUR)

Alternatively there also is an official package for QOwnNotes on AUR, it is called qownnotes.

You will find it here: QOwnNotes on AUR (opens new window)

Synchronize your package database and install the package with yay:

yay -S qownnotes
1

TIP

If you want to speed up build time you may want to read CCACHE and AUR (opens new window).