Ubuntu12.04 how to install Wine1.7 through the command line

Source: Internet
Author: User
Tags gstreamer
Next let's take a look at the Ubuntu command line installation Wine1.7 method. it is very simple and I hope it will be helpful to you: Ubuntu

Open the terminal and execute the command. during the installation process, you will be prompted whether you agree to the agreement. click Enter:

Sudo add-apt-repository ppa: ubuntu-wine/ppa
Sudo apt-get update & sudo apt-get install wine1.5

Ubuntu 13.10 compilation and installation of Wine 1.7

Install the dependent libraries first:

Sudo apt-get install flex bison qt4-qmake
Apt-get install libfreetype6-dev
Apt-get install libjpeg-dev libpng-dev libxslt-dev libxml2-dev
Apt-get install libxrender-dev
Sudo apt-get install libgl1-mesa-dev
Sudo apt-get install libglu1-mesa-dev
Sudo apt-get install freeglut3-dev
Apt-get install prelink
Apt-get install libasound2-dev

Download the latest source code:

Http://prdownloads.sourceforge.net/wine/wine-1.7.4.tar.bz2
Http://mirrors.ibiblio.org/wine/source/1.7/wine-1.7.4.tar.bz2

Wine 1.7.4 Released

Extract the source code to the current user directory and enter the directory:

Tar jxvf wine-1.7.4.tar.bz2
Cd wine-1.7.4

./Configure -- enable-win64

Creating Makefile rules... done
Configure: creating./config. status
Config. status: creating Make. rules
Config. status: creating Make. tmp
Config. status: creating include/config. h
Config. status: linking AUTHORS to dlls/shell32/AUTHORS
Config. status: linking tools/winewrapper to wine
Config. status: linking tools/winewrapper to wine64
Config. status: executing include/stamp-h commands
Config. status: executing dlls/gdi32/dibdrv commands
Config. status: executing dlls/gdi32/enhmfdrv commands
Config. status: executing dlls/gdi32/mfdrv commands
Config. status: executing dlls/kernel32/nls commands
Config. status: executing dlls/user32/resources commands
Config. status: executing dlls/wineps. drv/data commands
Config. status: executing include/wine commands
Config. status: executing Makefile commands

Configure: libxcursor development files not found, the Xcursor extension won't be supported.
Configure: libxi development files not found, the Xinput extension won't be supported.
Configure: libxrandroid development files not found, xrandroid won't be supported.
Configure: libxinerama development files not found, multi-monitor setups won't be supported.
Configure: libxcomposite development files not found, Xcomposite won't be supported.
Configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
Configure: OpenCL development files not found, OpenCL won't be supported.
Configure: lib1_development files not found, no dynamic device support.
Configure: libgnutls development files not found, no schannel support.
Configure: lib (n) curses development files not found, curses won't be supported.
Configure: libsane development files not found, scanners won't be supported.
Configure: libv4l development files not found.
Configure: libgphoto2 development files not found, digital cameras won't be supported.
Configure: libgphoto2_port development files not found, digital cameras won't be auto-detected.
Configure: liblcms2 development files not found, Color Management won't be supported.
Configure: gstreamer-0.10 base plugins development files not found, gstreamer support disabled
Configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
Configure: libcapi20 development files not found, ISDN won't be supported.
Configure: libcups development files not found, CUPS won't be supported.
Configure: fontconfig development files not found, fontconfig won't be supported.
Configure: libgsm development files not found, gsm 06.10 codec won't be supported.
Configure: libtiff development files not found, TIFF won't be supported.
Configure: libmp G123 development files not found (or too old), mp3 codec won't be supported.
Configure: libopenal development files not found (or too old), OpenAL won't be supported.
Configure: libldap (OpenLDAP) development files not found, LDAP won't be supported.

Configure: Finished. Do 'make' to compile Wine.

Now you can compile it. Run make. wait. The compilation was completed when I was a child. Then run make install

Alternatively, you can enter the tools directory as a non-root user and run:

./Wineinstall

It automatically compiles and installs the program, and prompts you to enter the administrator password.

Installed in the/usr/local/bin directory

Run the command to check the version:

Ine64 -- version
Wine-1.7.4

Create a wine link. otherwise, many programs, such as winecfg, cannot be used.

Sudo ln-s/usr/local/bin/wine64/usr/local/bin/wine

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.