nrg2iso is available in Ubuntu universe repository. You can install it using Ubuntu Software Center. Or run below command if you’re on Ubuntu Server without GUI:
sudo apt-get update; sudo apt-get install nrg2iso
Once installed, you can convert .NGR file to .ISO via one command. For example:
nrg2iso image.nrg image.iso
That’s it. Enjoy!