Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
RustoMCSpit opened this issue Oct 18, 2024 · 4 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@RustoMCSpit
Copy link

RustoMCSpit commented Oct 18, 2024

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. luanti-org/luanti#15198 (comment)

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)

@RustoMCSpit RustoMCSpit added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Oct 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Oct 18, 2024
@appgurueu
Copy link

This can hardly be and should not be implemented at a terminal level.

@RustoMCSpit
Copy link
Author

This can hardly be and should not be implemented at a terminal level.

what repo should i make this issue in then

@appgurueu
Copy link

what repo should i make this issue in then

This is essentially package manager responsibility (and thus blends into OS responsibility).

The Nix package manager (and OS) should enable you to do this via environments, for example: https://nixos.org/.

Either way this issue should most probably be closed.

@DHowett
Copy link
Member

DHowett commented Oct 20, 2024

Yup, that's pretty much all that needs to be said here. Thanks!

@DHowett DHowett closed this as not planned Won't fix, can't repro, duplicate, stale Oct 20, 2024
@microsoft microsoft locked and limited conversation to collaborators Oct 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

3 participants