4
submitted 1 year ago* (last edited 1 year ago) by republicofRAD@lemmy.world to c/selfhosted@lemmy.world

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'

top 3 comments
sorted by: hot top controversial new old
[-] Eddie@lemmy.lucitt.social 4 points 1 year ago
[-] republicofRAD@lemmy.world 3 points 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 2 points 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 :(

this post was submitted on 09 Jul 2023
4 points (75.0% liked)

Selfhosted

40152 readers
515 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS