You are not logged in.
Is it possible to specify a 'virtual' dependent package and install packages --asdeps for it instead of installing a package as explicit? A lot of times I need to install a bunch of packages to work on a specific project. When the project is done, I'd like to remove those packages if they haven't become an explicit install, or installed as a dependency of something else in the meantime.
pacman -S gstreamer libav --asdeps --dependent my-project
pacman -Rs my-project
# gstreamer and libav are removed
pacman -S gstreamer libav --asdeps --dependent my-project
pacman -S something-that-deps-on-libav
pacman -Rs my-project
# gstreamer is removed, libav remains installedIn my head, explicit installs are like dependencies to the root package of my-snowflake-machine. It would be cool to be useful to be able to attach a node to that root to own packages that I'll want to remove as a group later. I'm guessing that I could rig something up like this with makepkg, but I can't be the first person to have thought of doing this.
Offline
Offline
There's also (yes, shameless plug) metapkg/makemetapkg for declaring meta-packages in a PKGBUILD-like way (but a little more compact).
Here's an example file for what I used at the university for courses/projects: https://gitlab.com/ayekat/PKGBUILDs/-/b … TAPKGBUILD
And here's what I currently use to hold in all my packages on my systems (might look a little insane to some...): https://gitlab.com/ayekat/PKGBUILDs/-/b … TAPKGBUILD
Offline