These are the steps I took to install the agent software from http://ocsinventory.sourceforge.net/
All of this is done from a terminal via SSH.
Ubutu Linux - OCSNG_LINUX_AGENT_1.0RC3 Install Notes
Change to root...
Switch to /opt...
Download the agent...(I put this on one of my webservers for convenience)