build lemmy (from scratch) on debian

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.

13 points · 6 comments · view on lemmy.world

6 Comments

pop@sopuli.xyz · 1 pts · 3y (4 replies)
[ removed ]
pascal@lemm.ee · 1 pts · 3y (3 replies)

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

pop@sopuli.xyz · 2 pts · 3y (2 replies)
[ removed ]
pascal@lemm.ee · 2 pts · 3y (1 reply)

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.

pop@sopuli.xyz · 1 pts · 3y
[ removed ]