I am a super paranoid person that believes FBI and etc
is spying on me, as a result i have decided to re-install
centos-linux to my pc every week.
Installing centos minimal edition via usb is simple
because the iso file is only below 400 mb and thus
i would have no trouble creating a centos usb drive
if i was in another country with slow or no internet.
the problem here is this.. this line
yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
i have no idea how to, download all these to a folder, and then use the folder to install them all after a fresh install of centos linux minimal.
i have so far found out that one can run..
yum groupinfo "Desktop"
yum groupinfo "Desktop Platform"
yum groupinfo "X Window System"
yum groupinfo "Fonts"
to get the name of each package from every one of those "categories"
but it it gets confusing.
they have "optional packages" and "Default packages" on top of "mandatory packages".
this makes it confusing, to know which ones i should download to a folder via..
yumdownloader --resolve <package name>
it's also time consuming to go through each one and download it via yumdownloader
how can i download all these to a folder and next time i re-install centos linux minimal, i can just run something like..
yum --nogpgcheck localinstall *.rpm
and they'd all be installed for me?
so that i don't have to run
yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
and download everything again from the internet for every and each time i am re-installing centos minimal + gui.
one may say, create centos usb drive with the large dvd iso files so repos are all in there.
that is what i may do if i can not find a solution.
the idea here is to have what is needed rather than to have everything in a usb that is never needed.
it's nice to be organized.