If it is a Windows machine, do the following:
Open up the Windows Control Panel and select Add/Remove Programs.
Look for entries starting with DB2. These are the DB2 products that are installed on your machine. If you click on the support information link, you will see a dialog box with the DB2 product name that is installed.