Introduction to the use of wine 1.2 and the installation of QQ under ubuntu10.04

Introduction to the use of wine 1.2 and the installation of QQ under ubuntu10.04

overview

        Wine is an excellent emulator software under the Linux system platform, which is used to stably run the software under the Windows system under the Linux system. This software is updated frequently and is becoming more and more perfect. It can run many software under the large Windows system, such as QQ, Office, and other software. This article introduces how to use the wine1.2 version of this software and install Deepin QQ under ubuntu10.04. Linux lovers. Of course, your official website has provided a stable version of wine1.4, you can also download the latest version to compile and install.

 

1 compile and install

1.1 Compile and install

  If you have installed the software needed for compilation (such as gcc), you can compile it!

  First, visithttp://www.winehq.com/Download the latest version of wine (note: wince1.2 is relatively stable, it is recommended to install version 1.2), unzip it to a directory

  Open a terminal ("Terminal") and enter the following command:

  cd <your decompressed directory> # enter the directory

  ./configure # Check the compilation environment

  make #If the previous step is successful, you can compile

  make install #installation

  Compilation of Wine can be completed.

  Note: It usually takes an hour to compile WINE (depending on the performance of the machine), if you are new to Linux, it is best not to compile

 

1.2 Download and install

Method 1: Online installation:

  In the Ubuntu terminal, only one command is needed to complete the installation:

  sudo apt-get install wine

       If you are using other distributions, please visit http://winehq.org/site/download to check the installation method

Method 2: Interface installation:

       First click Applications->UbuntuSoftwareCenter in the upper left corner of the ubuntu desktop: as follows

....


Figure 1

       Then select System and the following window appears:

....


Figure 2

       First search for wine in installed Software, if you can’t find it, it means it is not installed, then find the corresponding wine version software in Get Software, click to install;

       Note: If you cannot find the corresponding software, you can click System->Administration->Software Sources to open and add as shown in the figure (or directly edit the sources.list file):

....

Figure 3

 

       Note: If you encounter "ttf-mscorefonts-installer" problems during the installation process and cannot confirm it, please refer to the article "ttf-mscorefonts-installer" problems encountered during installation under ubuntu.

 

2 Configuration of Wine                  

 

2.1 Run the wine configuration program, do not use sudo or root authority

 

winecfg

 

       This will create the running folder /home/user/.wine of wine. There are registry files of wine and a virtual C drive in it;

After a while, a panel will appear, which is some basic configuration of wine.

 

2.2Drives tab, configure hard disk and optical drive

 

       The Autodect button can be automatically detected, and also open ShowAdvanced for manual configuration,

       C: /home/username/.wine/drive_cLocal hard disk

       D: /home/username Local hard disk

       E: /media/cdrom0 CDROM

       Configure other partitions as needed

 

2.3Audio tab, configure the sound card

 

       This panel will lose its reflection for a while, and then a selection box for the sound driver will appear. Generally, OSS is selected. If you are an independent sound card, it is better to choose ALSA. If there is only OSS, choose OSS.

 

2.4Application Settings tab, configure the Windows version

 

       下面的 windows 版本把默认的改成 Windows XP ,实际中可以变更为 Windows 2000 或其他版本以使用 wine 的效率更高。

 

2.5 部分 DLL 设置

 

       在真实的 windows 系统中从 C:\WINDOWS\systenm32 里复制 mfc42.dll,msvcp60.dll, riched20.dll,riched32.dll 这几个文件到 /home/用户名/.wine/drive_c/windows/system32文件里,需要覆盖时确定。其他dll文件不要随便覆盖,要做备份。

2.6下载并安装winetricks

       Winetricks 可帮助我们快速的安装所需的dll和应用程序

安装方法:

       终端输入:

         wget http://www.kegel.com/wine/winetricks

         chmod +x winetricks

         sudo mv winetricks /usr/local/bin

       命令行中输入winetricks 及可打开安装向导,为 QQ 安装需要的函数库,用winetricks安装必须的win支持库。这一步很关键。

 

       勾选:msxml3、gdiplus 、riched20、 riched30、 ie6 、vcrun6、 vcrun2005、 flash、

       确定--安装---一路yes。

       或直接在终端输入:

               winetricks msxml3 gdiplus riched20 riched30ie6 vcrun6 vcrun2005sp1

       Winetricks 可帮你自动完成一些应用程序,dll, 字体等的安装,并且可配置wine。

3使用WINE 

       基本设置 

              winecfg 

       注册表 

              regedit 

       控制台 

              wineconsole 

       卸载wine内软件 

              sudo apt-get --purge remove wine

       或参考如上通过界面卸载

       wine 程序的菜单位置 

              ~/.local/share/applications/wine/Programs

 4使用wine 运行深度QQ2009

       把下载到的深度QQ 软件包 放到你自己的用户目录地下,然后使用控制台进入到这个目录下:运行如下命令:

$wineTXQQ2009.exe 会运行QQ,然后输入密码和用户名就可以登录,同时你也可以打开QQ空间。如果你的QQ 不能正常显示中文,则可下载安装中文字库。

Guess you like

Origin blog.csdn.net/besidemyself/article/details/7392127