How do I install Parallels Tools via the command line?

I have Ubuntu Server 10.10 running on Parallels 6 (latest update from yesterday) on my iMac. I click on the Install Parallels Tools in the Parallels Desktop Menu, but do not see where what I think should be the file prl-tools-lin.iso is placed.

Don't understand whether the warning that I may have to do mount -o exec applies to me or not. Think I might be able to mount and run the .iso file, if I can locate it. Any ideas?


Solution 1:

I have solved this issue with Ubuntu Server 18.04 as follows:

1) Click "Update Parallels tools" (upper right corner of the parallels virtual machine window)

2) Log in and then give the commands:

$ sudo mount /dev/cdrom /media/cdrom
$ cd /media/cdrom
$ sudo ./install

If, when mounting the CD-ROM, you get the error:

mount: /media/cdrom: unknown filesystem type 'iso9660'

you can fix this using:

$ sudo apt-get install --reinstall linux-image-$(uname -r)

Solution 2:

With Parallels 10.1.1 and Ubuntu 14.04 using the menu entry Actions -> Install parallels tools... did not mount the installer in /media/parallels. Trying sudo updatedb; locate prl-tools-lin.iso also returned an empty result.

The solution is to cd /usr/lib/parallels-tools then sudo ./install, which will execute the text installer. Incidentally sudo ./install-gui (from the same directory) will execute the GUI installer (requires X server).