I don't know how to install files to ubuntu. So kindly say me how to install groovy?
The fast way is to install from the command line. Type the following command.
You can also use Software Center from Ubuntu->Software Center to install Groovy. Type Groovy in the search box and after selecting the first option, click Install button.