You may install any software over the top of the server's kernel. This includes updating software like Apache and GCC.
However, you may not install anything that modifies or upgrades the kernel on your server—this includes operating systems.