Trouble installing Yunohost via Debian - eviltoast

Wasn’t able to create a working iso thumbdrive to install Yunohost, so I installed Debian 11 and am going through the terminal to install.

I am following the instructions here but I run into this error whenever I run the line “curl https://install.yunohost.org | bash”:

Your environment PATH variable must contains /sbin directory. Maybe try running 'PATH=/sbin:$PATH' to fix this.

So I run ‘PATH=/sbin:$PATH’ which results in:

bash: PATH=/sbin:$PATH: No such file or directory

Any help is greatly appreciated! I am quite new to Linux and the terminal so I’m pretty confused as to how to fix this.

EDIT: Lesson learned, I need to be mindful of syntax :D

Run PATH=/sbin:$PATH not ‘PATH=/sbin:$PATH’

    • republicofRAD@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I’ll be honest, I am really glad I made sure to mention I am super new to this. I couldn’t stop laughing when that worked. Thanks Eddie!

      • Eddie@lemmy.lucitt.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Same thing happened to me last week, I’m new to this as well! Just a heads up, if you’re trying to run a Lemmy instance through Yuno, their version is out of date, and doesn’t support photo uploads or mobile apps :(