i don't have an internet connection in My Home , i need to install both php and ruby ...

by downloading the packages of Both from the internet ...

and install them manually ......

what is the terminal command that give me the required package to install any application ........???????

thank u very much