Hi, if you’re trying to build lemmy from scratch, on debian (not ubuntu), and you’re following this guide: https://join-lemmy.org/docs/en/administration/from_scratch.html

There are a few corrections I would like to point you.

Install those two things before following the guide:

apt install sudo

Of course, ‘sudo’ is not installed by default on Debian, so I guess it would be a good idea to install it.

sudo apt install build-essential

This will install the ‘cc’ compiler needed by Rust.

sudo apt install protobuf-c-compiler protobuf-compiler

This is needed to compile opentelemetry-proto.

  • pascal@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Standard Debian doesn’t have sudo, you’re probably confusing Debian with Ubuntu or Mint.

    • RePop@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I’m not confusing Debian, I use it. What Debian doesn’t come with is the user in the sudoer’s file. sudo is there, the user just isn’t part of it by default.

      I installed Debian 11 & 12 on live & non-live versions.

      • pascal@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Since this isn’t Reddit, I decided to not insult your knowledge and investigate about why our opinions differ.

        I installed a couple of Debian recently and remember vividly that sudo wasn’t there.

        After reading the Debian wiki, it seems we’re both right: sudo is automatically installed only if you don’t give root a password.

        Source: https://wiki.debian.org/sudo/

        Thank you for making me learn something I didn’t know.

        • RePop@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          We are still at stake zero, I put a root password :P

          Edit: in fact, Debian doesn’t allow me to not, except on live version, which it forces me to puts me as a sudo user