if you insist on doing that , you can go to this page ::
http://packages.ubuntu.com/
type something that you intend to install inside the search box , eg. gcc and it will brings you to this page ::
search results , you need to click on gcc in this page(somewhere slightly below though) ... from there it gives you this page ::
dependancies hell !! ...
now the fun part ...
click on everything(most of the time) eg. those under "depends" , "recommends" and "suggests" , probably you will need all of them "somehow" ...
but do take note that there will definatetly be lots of duplicated dependancies downloads and such ...
btw ... why you need to install those stuffs since you dont have internet and why install compiler tools ??
and also ... why not bring your pc/laptop to your school ??
//have fun ...
.