(window.webpackJsonp=window.webpackJsonp||[]).push([[449],{810:function(a,s,t){"use strict";t.r(s);var e=t(2),n=Object(e.a)({},(function(){var a=this,s=a._self._c;return s("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[s("h1",{attrs:{id:"install-on-arch-linux"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#install-on-arch-linux"}},[a._v("#")]),a._v(" Install on Arch Linux")]),a._v(" "),s("h2",{attrs:{id:"arch-user-repository-aur"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#arch-user-repository-aur"}},[a._v("#")]),a._v(" Arch User Repository (AUR)")]),a._v(" "),s("p",[a._v("Alternatively there also is an official package for QOwnNotes on AUR, it is called "),s("code",[a._v("qownnotes")]),a._v(".")]),a._v(" "),s("p",[a._v("You will find it here: "),s("a",{attrs:{href:"https://aur.archlinux.org/packages/qownnotes",target:"_blank",rel:"noopener noreferrer"}},[a._v("QOwnNotes on AUR"),s("OutboundLink")],1)]),a._v(" "),s("p",[a._v("Synchronize your package database and install the package with "),s("code",[a._v("yay")]),a._v(":")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[a._v("yay "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-S")]),a._v(" qownnotes\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("div",{staticClass:"custom-block tip"},[s("p",{staticClass:"custom-block-title"},[a._v("TIP")]),a._v(" "),s("p",[a._v("If you want to speed up build time you may want to read\n"),s("a",{attrs:{href:"https://www.reddit.com/r/archlinux/comments/6vez44/a_small_tip_if_you_compile_from_aur/",target:"_blank",rel:"noopener noreferrer"}},[a._v("CCACHE and AUR"),s("OutboundLink")],1),a._v(".")])]),a._v(" "),s("h2",{attrs:{id:"pacman"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#pacman"}},[a._v("#")]),a._v(" pacman")]),a._v(" "),s("div",{staticClass:"custom-block warning"},[s("p",{staticClass:"custom-block-title"},[a._v("WARNING")]),a._v(" "),s("p",[s("a",{attrs:{href:"https://build.opensuse.org/package/show/home:pbek:QOwnNotes/desktop",target:"_blank",rel:"noopener noreferrer"}},[a._v("OBS"),s("OutboundLink")],1),a._v("\ncurrently seems to have build issues on Arch Linux.\nBest use the AUR or the "),s("RouterLink",{attrs:{to:"/installation/appimage.html"}},[a._v("AppImage")]),a._v(" for now.")],1)]),a._v(" "),s("p",[a._v("Add the following lines to your "),s("code",[a._v("/etc/pacman.conf")]),a._v(" with "),s("code",[a._v("sudo nano /etc/pacman.conf")]),a._v(":")]),a._v(" "),s("div",{staticClass:"language-ini line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-ini"}},[s("code",[s("span",{pre:!0,attrs:{class:"token section"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("[")]),s("span",{pre:!0,attrs:{class:"token section-name selector"}},[a._v("home_pbek_QOwnNotes_Arch_Extra")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("]")])]),a._v("\n"),s("span",{pre:!0,attrs:{class:"token key attr-name"}},[a._v("SigLevel")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("=")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token value attr-value"}},[a._v("Optional TrustAll")]),a._v("\n"),s("span",{pre:!0,attrs:{class:"token key attr-name"}},[a._v("Server")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("=")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token value attr-value"}},[a._v("http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Arch_Extra/$arch")]),a._v("\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br"),s("span",{staticClass:"line-number"},[a._v("2")]),s("br"),s("span",{staticClass:"line-number"},[a._v("3")]),s("br")])]),s("p",[a._v("Run the following shell commands to trust the repository:")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("wget")]),a._v(" http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Arch_Extra/x86_64/home_pbek_QOwnNotes_Arch_Extra.key "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-O")]),a._v(" - "),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("|")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[a._v("sudo")]),a._v(" pacman-key "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("--add")]),a._v(" -\n"),s("span",{pre:!0,attrs:{class:"token function"}},[a._v("sudo")]),a._v(" pacman-key --lsign-key F2205FB121DF142B31450865A3BA514562A835DB\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br"),s("span",{staticClass:"line-number"},[a._v("2")]),s("br")])]),s("p",[a._v("If the command "),s("code",[a._v("sudo pacman-key --lsign-key F2205FB121DF142B31450865A3BA514562A835DB")]),a._v(" fails with a message like: "),s("code",[a._v("ERROR: FFC43FC94539B8B0 could not be locally signed.")]),a._v(", you could first find out the actual "),s("em",[a._v("keyid")]),a._v(" of the downloaded key, i.e. with the command (and output):")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[a._v("gpg /path/to/downloaded/home_pbek_QOwnNotes_Arch_Extra.key\ngpg: WARNING: no "),s("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("command")]),a._v(" supplied. Trying to guess what you mean "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("..")]),a._v(".\npub rsa2048 "),s("span",{pre:!0,attrs:{class:"token number"}},[a._v("2019")]),a._v("-07-31 "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("[")]),a._v("SC"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("]")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("[")]),a._v("expires: "),s("span",{pre:!0,attrs:{class:"token number"}},[a._v("2021")]),a._v("-10-10"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("]")]),a._v("\n F2205FB121DF142B31450865A3BA514562A835DB\nuid home:pbek OBS Project "),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("<")]),a._v("home:pbek@build.opensuse.org"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v(">")]),a._v("\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br"),s("span",{staticClass:"line-number"},[a._v("2")]),s("br"),s("span",{staticClass:"line-number"},[a._v("3")]),s("br"),s("span",{staticClass:"line-number"},[a._v("4")]),s("br"),s("span",{staticClass:"line-number"},[a._v("5")]),s("br")])]),s("p",[a._v("You can now synchronize your package database and install the package with "),s("code",[a._v("pacman")]),a._v(":")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("sudo")]),a._v(" pacman "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-Syy")]),a._v(" qownnotes\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("p",[s("a",{attrs:{href:"https://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Arch_Extra",target:"_blank",rel:"noopener noreferrer"}},[a._v("Direct Download"),s("OutboundLink")],1)]),a._v(" "),s("div",{staticClass:"custom-block tip"},[s("p",{staticClass:"custom-block-title"},[a._v("TIP")]),a._v(" "),s("p",[a._v("Of course you can also use this repository with other Arch Linux based distributions, like Manjaro.")])])])}),[],!1,null,null,null);s.default=n.exports}}]);