On Debian /Ubuntu systems, how to set a list of packages which can be installed from sources automatically by apt-get or aptitude? The server is mainly for scientific computing and I would like to compile some specific packages with highly optimized flags such as -O3 -march=native to boost the performance. I know how to do this for one single package, however, I don't want to redo these when there comes an upgrade.
Debian system: install specific packages from source automatically to boost the performance
debian;apt;aptitude