GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#!/bin/sh rm -f *.{aux,lab,log,dvi,ps,pdf,bbl,ilg,ind,idx,out,html,tex,pnr,txt,blg,toc,six,brf}