With Custom Post-install Script you just need to configure one script to install all your favorite software, remove software that came with the distro, perform custom actions into the your new Linux OS. Then if you need to format your PC or just install Linux in other machine you just need to run the script to perform all your personalization.
Remove software and install from repositories is only compatible with Debian system and derivatives using apt.