Are you logged in as root? If you aren't, open the command line (terminal window) as suggested, then type
and enter the root password when asked.
After that, you should be able to install pretty much anything you want.
If you still get errors, please post the error messages.