http://mponpsecu5qaqu4s7chzbldsp6hu45pwecvr72m26xbf6lo3slqo6tad.onion/docs/INSTALL.html
You can leave alternative styles in place too. With this complete, you can upload the new phpBB files (see New installation for details if necessary). Once complete, copy back your saved config.php , replacing the new one.