I am thinking about using distrobox. Since I am on debian I wont need it to install software I could otherwise not install. But I have some apps that require weired install scripts and I am thinking about using it as a security measurement. Do you think that is a good idea? Does that idea makes sense?
Sure, or containers, e.g. Docker/Podman, especially if there is a Web API available.
That being said, whatever you do, in fine it’s about trust. What you are installing can cause damage so IMHO it’s more about keeping things manageable while having your actually important data (not programs, downloaded content, etc but rather things you did yourself, e.g. written documents, sketches, configuration files, prototypes, photos, etc) safe even when the system itself is broken regardless of how and why.
This is just incorrect
Distrobox is a script that manages Docker/Podman containers
Programs are installed the container, not on the host system. When you break the container the host system is fine unless using rootful (or Docker) containers.
Using Distrobox does NOT keep your own files safe, it actually mounts your home directory and external USB drives inside the containers by default fully exposing your documents to whatever you install inside.
From the documentation:
Yeah I don’t think you’re addressing what I wrote, you’re mixing up my suggestion (to clarify the important part is “or”) with DistroBox then more general comments. Might be that I wrote it unclearly but anyway it wasn’t what I was saying.