3 ms·
You can install specific versions of libs with apt[1] but only if that happens to be compatible with your system deps... it's possible to run into trouble where
by brabel 3y ago
You can install specific versions of libs with apt[1] but only if that happens to be compatible with your system deps... it's possible to run into trouble where one utility you install requires openssl 3 and another requires the latest version, and then you can't have both libs together easily. But normally, a distro is meant to keep a bunch of utilities with compatible versions for you. I just think that this way of doing things may not be appropriate for building software, and if you look at how Nix does it, for example, you can see that they break up with the traditional Linux distro system and let you have multiple environments with different libraries installed - and you can totally pin everything to make sure it will work forever (or until the sources/binaries can be fetched).
[1] https://askubuntu.com/questions/92019/how-to-install-specific-ubuntu-deb-packages-with-exact-version https://askubuntu.com/questions/92019/how-to-install-specifi...
- piaste 3y agoYeah but I assume that you'd be pinning the base image, in addition to whatever you apt install. If I install, let's say Debian 6, can I use `apt install package=version ` to install the 2011 versions of most packages?
- brabel 3y agoI don't know, but it would be really great if you could do apt rollback=2011-01-01 And have everything installed exactly as it would be if I had installed everything in 2011-01-01 after running `apt update`. I think this is basically what Nix is?!