Before you can build any homebrew for the Nintendo Switch, you need to set up the devkitPro environment on your system. Since you’re using Linux instead of Windows, you’ll likely have a much higher chance of success.
You can find instructions for setting up devkitPro on the Switchbrew wiki...