I am new to VPS and when I want to install something in Ubuntu16.04 or CentOS7 I need to google it and hope it's written somewhere how to install it through apt-get or yum and then hope it is a good repository. Then even the same project has differences between those 2. For example you have httpd in yum and apache2 in apt-get ( it's not just the name they are different ).
Is there some sort of github where I can check reputation of repositories, official documentation on how to install and so on? Or is it something I will need to learn by trial and error?