# Unable to install Joplin on Manjaro

**URL:** <https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800>\
**Category:** Support\
**Created:** [2 September 2020 17:16 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800 "2020-09-02T17:16:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![blyatmobilebr](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@blyatmobilebr](https://discourse.joplinapp.org/u/blyatmobilebr)\
**Post date:** [2 September 2020 17:16 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/1 "2020-09-02T17:16:50Z")

</div>

Hi there,

Since I’m unable to install Joplin for whatever reason, I won’t be able to provide either the log and the latest version of the app. I tried to install **Joplin** using **yarn** , **npm** , **pacman** , **yay** and finally:  
`wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash`.

I’m using a custom shell called [Fish](https://fishshell.com/). Here’s the OS specs:

 ![ma-specs](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/3/33befb4e38d3e970275ae43b1867bf111452cf92.jpeg)

How should I proceed in order to install Joplin and get rid of Evernote _cough cough proprietary software_ forever?

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [2 September 2020 19:10 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/2 "2020-09-02T19:10:22Z")

</div>

What’s the error?

---

<div class="post-metadata">

**Author:** ![blyatmobilebr](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@blyatmobilebr](https://discourse.joplinapp.org/u/blyatmobilebr)\
**Post date:** [2 September 2020 23:17 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/3 "2020-09-02T23:17:00Z")

</div>

Basically a **npm ERR** when I use npm as my package manager.

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [2 September 2020 23:22 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/4 "2020-09-02T23:22:46Z")

</div>

@blyatmobilebr you need to provide the actual error, otherwise it’s impossible to help you.  
The npm error is probably an unmet dependency and the error will tell you what’s missing.

It would also be helpful to give the error for when you try the wget command, because that one would be fixable on our end.

---

<div class="post-metadata">

**Author:** ![blyatmobilebr](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@blyatmobilebr](https://discourse.joplinapp.org/u/blyatmobilebr)\
**Post date:** [2 September 2020 23:34 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/5 "2020-09-02T23:34:49Z")

</div>

NPM error:

```auto
➤ sudo npm i -g joplin 20:26:29
[sudo] senha para blyatmobilebr: 
npm WARN deprecated jssha@2.4.2: jsSHA versions < 3.0.0 will no longer receive feature updates
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
/usr/bin/joplin -> /usr/lib/node_modules/joplin/main.js

> keytar@5.6.0 install /usr/lib/node_modules/joplin/node_modules/keytar
> prebuild-install || node-gyp rebuild

prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/14.8.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/joplin/node_modules/keytar/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/joplin/node_modules/keytar/.node-gyp'
gyp ERR! System Linux 5.7.17-2-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/joplin/node_modules/keytar
gyp ERR! node -v v14.8.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! keytar@5.6.0 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the keytar@5.6.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-09-02T23_28_14_583Z-debug.log

blyatmobilebr in ~ via ⬢ v14.8.0 took 1m12s 

```

And actually when I use **wget** it tells me I already have the latest version installed, but when I type `joplin` in my terminal it doesn’t work. My bad on that one.

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [3 September 2020 00:04 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/6 "2020-09-03T00:04:11Z")

</div>

Npm doesn’t work well with sudo. Instead you should try to install as suggested on the homepage.

---

<div class="post-metadata">

**Author:** ![blyatmobilebr](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@blyatmobilebr](https://discourse.joplinapp.org/u/blyatmobilebr)\
**Post date:** [3 September 2020 00:21 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/7 "2020-09-03T00:21:20Z")

</div>

I only tried using `sudo` because the command from the homepage doesn’t work. Otherwise:

```auto
➤ npm i -g joplin 21:18:55
npm WARN deprecated jssha@2.4.2: jsSHA versions < 3.0.0 will no longer receive feature updates
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN checkPermissions Missing write access to /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! [Error: EACCES: permission denied, access '/usr/lib/node_modules'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/lib/node_modules'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/blyatmobilebr/.npm/_logs/2020-09-03T00_19_29_853Z-debug.log

blyatmobilebr in ~ via ⬢ v14.8.0 took 26s 

```

That’s shown to me with `npm i -g joplin`

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [3 September 2020 02:03 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/8 "2020-09-03T02:03:55Z")

</div>

When installing Joplin with wget it doesn’t install the command line version. You can either use your desktop launcher (It will be the the xfce4 applications menu) to open Joplin or issue the command

`~/.joplin/Joplin.AppImage`

which will launch the desktop version.

---

<div class="post-metadata">

**Author:** ![blyatmobilebr](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@blyatmobilebr](https://discourse.joplinapp.org/u/blyatmobilebr)\
**Post date:** [3 September 2020 02:19 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/9 "2020-09-03T02:19:04Z")

</div>

I’ll open an issue related to the window though, I’m not being able to close it neither when pressing the X icon nor when right-clicking on the icon and trying to close it.

---

<div class="post-metadata">

**Author:** ![RedDocMD](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/reddocmd/32/2655_2.png) [@RedDocMD](https://discourse.joplinapp.org/u/RedDocMD)\
**Post date:** [4 September 2020 04:08 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/10 "2020-09-04T04:08:06Z")

</div>

That is because you have used npm previously as sudo. Once you do that, you will keep on running into problems from then onwards

---

<div class="post-metadata">

**Author:** ![blyatmobilebr](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@blyatmobilebr](https://discourse.joplinapp.org/u/blyatmobilebr)\
**Post date:** [4 September 2020 04:36 UTC](https://discourse.joplinapp.org/t/unable-to-install-joplin-on-manjaro/10800/11 "2020-09-04T04:36:29Z")

</div>

Hi there,

Well, I was able to terminate the process using the terminal. Then I uninstalled whatever package I installed with `npm` and eveything's fine here 🙂
