Team Viewer on Ubuntu! Is it running through wine?

Solution 1:

Does it run through wine?

yes

why is this a .deb file ?

To easily install in debian based systems

Is it possible to make .deb files but running with wine

YES , deb is the extension of the Debian software package format and the most often used name for such binary packages.? To learn about debian packaging use this link

TeamViewer for Linux is based upon the Windows version using wine. Additionally, /opt/teamviewer/teamviewer/$tv_ver/bin/teamviewer contains links to a wrapper of a Windows executable:

export TV_BINDIR=/opt/teamviewer/teamviewer/$tv_ver/bin
exec "$TV_BINDIR"/wrapper "c:\Program Files\TeamViewer\Version$tv_ver\TeamViewer.exe" "$@" 

Solution 2:

.deb is a Debian Package which you can install in Ubuntu via Software Centre. It's native for GNU/Linux systems. On the contrary if you can lay your hands on a Windows version of Team Viewer, it can work through wine, mostly as silver. Check the details in WineHQ applications database.

[edit]
Yes, you can create a .deb package which runs an application using WINE. Every .deb binary package consists of at least three files:

  1. debian-binary (description text file)
  2. control.tar.gz (installation, post-installation and pre-removal scripts)
  3. data.tar.gz (precompiled app and it's resources)

Installation scripts from control can copy any structure of files and folders from data including preconfigured WINEPREFIX, also a specific WINE version and all of it's dependencies can be embeded along with a post-installation script that creates menu shortcuts with proper environment variables.