I am trying to install a git project but it needs a lot of dependencies which I don’t want to add on my main system. Besides that I’m always worried about security risks.
Should I create a virtual machine or is there somehow a sandbox application that I can install?
These are the deps I’d supposedly need btw: libxcb-shape0-dev libxcb-xfixes0-dev libxcb1-dev libxkbcommon-dev libasound2-dev
Using a virtual machine or a container would be the obvious approaches. That also means you can use a different distro (given apparently you need Debian-style dependencies).