To install wine packages you can use two methods: add the repository or download a .deb package and manually install it, but first of all you have to remove older wine version. If you use the first method you'll have wine automatically upgraded by apt, otherwise you'll need to manually download and install every new version.
Remove old version
Open a terminal
$ sudo apt-get remove libwine wine #to remove outdated version of wine
Method 1:
Open a terminal and run the following commands:
$ sudo apt-get install wine #to install latest wine version
Note: For other linux system, if the above command (sudo apt-get install wine) gives error "wine is not a installable candidate" or similar error then do the following:
Open repository file with a text editor (you can use gedit or another) by following command
#gedit /etc/apt/sources.list
Add this line for Lenny: deb http://www.lamaresh.net/apt lenny main
Add this line for Squeeze: deb http://www.lamaresh.net/apt squeeze main
Add this line for Sid: deb http://www.lamaresh.net/apt sid main
Save and close sources.list
Now run the following commands:
wget -O - http://www.lamaresh.net/apt/key.gpg | apt-key add - #to add gpg key
apt-get update #to update package list
apt-get install wine #to install latest wine version
Method 2: Download .deb and manually install it
Chose a .deb package from binary list and save it in your home directory
Open a terminal
cd ~ #to go to your home directory
su #to log as root
dpkg -i wine_1.1.xxx.deb #change xxx with your chosen package, this will install wine
Configuring Wine
Before using Wine, it is necessary to create the pseudo C:\ drive where your Windows applications will be installed. Enter Wine configuration mode by issuing following command on your machine,
winecfg
You can also select the Configure Wine option in the Applications ? Wine menu. This will create the .wine directory in your home directory. This is used to store all the configurations and the pseudo C drive. It also contains a bunch of other things including but not limited to the registry structure like that in Windows, configurations settings like the Windows version to be emulated, DLL overrides and specific memory related settings. We don’t need to go into the details of those at this moment.
Installing Applications
To install Windows applications with Wine, follow the instructions below,
- Download the Windows application you wish to install and place it in a convenient directory.
- Open the terminal on your system.
- Change to the directory where the application installer is located.
- Issue the command wine followed by the name of the application to install it.
e.g.:
wine someApplication.exe
Remember to give the full name of the application along with the extension.
Running the Wine applications
Most application installed via Wine will end up in a special Wine menu in your main menu and you can directly launch those applications from there.
Uninstalling the applications
To uninstall the applications, open up a terminal and type “uninstaller” – this will open up a program which lets you uninstall applications from Wine. Running uninstall programs directly via Wine should also work normally. Alternatively, you could also simply delete the folder of the application but it leaves traces of that application behind in the registry and other configuration files.
Source: http://www.noob2geek.com/linux/how-to-install-exe-files-on-ubuntu/
Thank you so much. This was really helpful
ReplyDeleteInstalled wine successful but wine software not show so how can open wine or how can i installed exe file
DeleteSetup error during installing skype
ReplyDeleteInterface not found
Delete