nix icon indicating copy to clipboard operation
nix copied to clipboard

A way to temporarily install dependencies and then have them auto delete after

Open RustoMCSpit opened this issue 1 year ago • 0 comments

Description of the new feature/enhancement

If someone wants to build an app from source, they need dependencies. However, people do not want to clog up their systems with useless dependencies. Having the ability to install a multitude of dependencies and have them auto delete automatically once the terminal is closed would be ideal.

e.g. https://github.com/minetest/minetest/issues/15198#issuecomment-2420730855

Proposed technical implementation details (optional)

something along the lines of

sudo apt install -t g++ make libc6-dev cmake libpng-dev libjpeg-dev libxi-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev libluajit-5.1-dev gettext

the terminal would then check which of these are already installed and ignore them, but download those that arent temporarily. you could then close the app and the ones that were downloaded would delete whilst the ones that were already on your system would stay

(i use linux by the way, so the sudo command would be something else)

Priorities

Add :+1: to issues you find important.

RustoMCSpit avatar Oct 20 '24 22:10 RustoMCSpit