You are not logged in.
Hi!
Long time arch user, first time poster.
I'm working on a custom arch install which i intend to be a mirror of my desktop.
I know how to build the arch iso and bundle applications and config files and stuff, but I was wondering, is there an easy way to just generate the packages.both, packages.i686, and packages.x86_64 files based on what is installed on my box presently?
It's just too hard to keep of every single package I install to solve every little problem I run into, I'm not organized like that.
I just want to have a list of package names that pacman needs to install a system that's identical to this box.
I'm not concerned about stuff from the AUR, I already set up a local repo for those so I know what they all are.
Any help is appreciated, I'm having a hard time finding concise information on google or pacman's manual :(
Thanks !!
Last edited by milky (2016-08-27 16:30:05)
Offline
If I understand you correctly, pacman -Qq should do what you want.
Offline
From the Arch Wiki (https://wiki.archlinux.org/index.php/Pa … repository)
List explicitely installed packages not in the base or base-devel groups:
comm -23 <(pacman -Qeq | sort) <(pacman -Qgq base base-devel | sort)
Should be easy enough to pipe that into a file, or modify the groups you want excluded or listed.
Offline
From the Arch Wiki (https://wiki.archlinux.org/index.php/Pa … repository)
List explicitely installed packages not in the base or base-devel groups:
comm -23 <(pacman -Qeq | sort) <(pacman -Qgq base base-devel | sort)
Should be easy enough to pipe that into a file, or modify the groups you want excluded or listed.
Hi sorry for not replying for a while, thanks very much, this is exactly what i needed im still really new to doing this kind of stuff in bash.
~
Offline
Please remember to mark your thread as solved by editing your first post and amending the topic title.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline