Ubuntu下安装Wine

https://launchpad.net/~ubuntu-wine/+archive/ppa


最新的Wine 1.3.0有如下变化:

仅需要在系统中添加一个源:

打开  系统--系统管理(更新管理器)--设置(软件源)--其它软件--添加

或者  应用程序--Ubuntu软件中心--软件源--其它软件--添加

把  ppa:ubuntu-wine/ppa   添加到APT行中即可。

之后会自动提示重新载入软件列表信息进行更新。

 

 

如何保持Wine是最新版本

保持wine的最新版本对你使用WINDOWS下的程序是有好处的,其实我们只需添加wine的PPA就可以让wine第一时间更新到新版本

1.添加wine源

sudo add-apt-repository ppa:ubuntu-wine/ppa

 

2.更新列表

sudo apt-get update

 

3.安装

sudo apt-get install wine

4.配置
winecfg

5.中文问题
~/.wine/drive_c/windows/Fonts/ #只留一个你想要显示的中文字体在这

使用该方法,成功安装Wine1.2版本
网上介绍安装1.3版本的方法(未测试):
开1.3的ppa
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu maverick main

How do I use software from a PPA?

To start installing and using software from a Personal Package Archive, you first need to tell Ubuntu where to find the PPA.

Important: The contents of Personal Package Archives are not checked or monitored. You install software from them at your own risk.

Adding the PPA to Ubuntu 9.10 (Karmic) and later

If you're using the most recent version of Ubuntu (or any version from Ubuntu 9.10 onwards), you can add a PPA to your system with a single line in your terminal.

Step 1: On the PPA's overview page, look for the heading that reads Adding this PPA to your system . Make a note of the PPA's location, which looks like:

ppa:gwibber-daily/ppa

Step 2: Open a terminal and enter:

sudo add-apt-repository ppa:user/ppa-name

Replace ppa:user/ppa-name with the PPA's location that you noted above.

Screen shot of a terminal with the sudo add-apt-repoistory line

Your system will now fetch the PPA's key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built.

Screen shot of a system retrieving the PPA details

Step 3: Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added:

sudo apt-get update

Now you're ready to start installing software from the PPA!

On older (pre 9.10) Ubuntu systems

Step 1: Visit the PPA's overview page in Launchpad. Look for the heading that reads Adding this PPA to your system and click the Technical details about this PPA link.

Step 2: Use the Display sources.list entries drop-down box to select the version of Ubuntu you're using.

Step 3: You'll see that the text-box directly below reads something like this:

deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main

Copy those lines.

Step 4: Open a terminal and type:

sudo gedit /etc/apt/sources.list

This will open a text editor containing the list of archives that your system is currently using. Scroll to the bottom of the file and paste the lines you copied in the step above.

Save the file and exit the text editor.

Step 5: Back on the PPA's overview page, look for the Signing key heading. You'll see something like:

1024R/72D340A3 (What is this?)

Copy the portion after the slash but not including the help link; e.g. just 72D340A3 .

Step 6: Now you need to add that key to your system so Ubuntu can verify the packages from the PPA. In your terminal, enter:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3

Replace 72D340A3 with whatever you copied in the step 5.

This will now pull down the PPA's key and add it to your system.

Step 7: Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added:

sudo apt-get update

Now you're ready to start installing software from the PPA!

Read more about Personal Package Archives in our help wiki.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值