How do I install build-essentials in Endeavour

I’m trying to compile a utility. I need a lot of extra tools like build-essential

This is the entire list.

git cmake build-essential libgcrypt20-dev libyajl-dev libboost-all-dev libcurl4-openssl-dev libexpat1-dev libcppunit-dev binutils-dev pkg-config zlib1g-dev

I’m guessing I just need to add some repository? But how.

Those are obviously package dependencies for Debian / Ubuntu, but as EndeavourOS is an arch-based distribution the related packages would be named differently.

Simply name the utility you’re trying to install and we could provide guidance. Or check the official repos or the AUR yourself.

build-essential isn’t a thing on Arch. We use base-devel for the basic tools.

As for those libraries. Arch usually doesn’t use dev packages, the files are packaged into the normal package.

i.e. You don’t need binutils-dev, the files you need are probably in binutils

That being said, I would check the AUR for whatever utility you are trying to build.

Nope, on Arch-based distros you should never have to add repos. Anything that instructs you to do so should be considered highly suspect.