Welcome to LQ.
Xgraph : $ sudo apt-get update && sudo apt-get install xgraph
NAM : The Ubuntu 'nam' packages cannot be used, see the 2 year old bug report
https://bugs.launchpad.net/ubuntu/+s...m/+bug/1376970
... and you cannot build NAM with ns-allinone-2.33 as is.
Please use a 'nam' package ...
http://www.linuxquestions.org/questi...-4175524760/#2
Select a package for your unknown Ubuntu 14.04 :
There are two versions of Ubuntu 14.04 >> 32bits (i386/i686) or 64bits (amd64/x86_64).
Click the downloaded package, and nam will be installed.
-