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.

  • ataraxia937
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Now imagine if we could build lemmy on lenny (a really old version of Debian).

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

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

        • 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.