• 2009-10-09

    Wine for Debian Lenny, Squeeze and Sid - [软件使用]

    版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
    http://linux.blogbus.com/logs/47974850.html

    Debian-based distributions utilize a special tool for managing packages known as APT. APT is able to automagically install all of the needed dependencies for a software package, as well as keep the package up to date, by scanning what are known as APT repositories. Debian-based distributions have their own repositories of software that include Wine, however we keep our own repository of the latest available beta packages here for download.

    Warning: These are beta packages
    This means they will periodically suffer from regressions, and as a result an update may break functionality in Wine. If the latest stable release of Wine (currently Wine 1.0.1) works for you, then you may not want to use these beta packages.

    This repository contains packages for i386 and amd64 architecture.

    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
    su #to log as root
    apt-get remove libwine wine #to remove outdated version of wine

    Method 1: Add the repository

    Open a terminal
    su #to log as root
    gedit /etc/apt/sources.list #to open repository file with a text editor (you can use gedit or another)
    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
    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

    历史上的今天:

    红烧肉做法 2008-10-09

    收藏到:Del.icio.us