Debian、Ubuntu、Linux Mint に Wine をインストールする方法
Wine は、Linux ユーザーがWindows ベースのアプリケーションやゲームをUnix ライクで実行できるようにする、オープンソースの無料で使いやすいプログラムです。strong>オペレーティングシステム。 Wine は、ほぼすべてのバージョンの Windows プログラムをインストールするための互換性レイヤーです。
Wine 7.0 がついにリリースされ、多数の機能強化と合計 40 件のバグ修正が含まれています。この新しいリリースのすべての新機能と変更履歴は、Wine 発表プロジェクト ページで確認できます。
この記事では、Debian 11/10、Ubuntu 22.04 に最新の安定バージョンの Wine 7.0 をインストールする簡単な手順を説明します。 -18.04 およびLinux Mint 20-19 システム、またワインを設定する方法についても説明します。 > Windows ソフトウェアをインストールし、アンインストールします。
このページでは
- Ubuntu と Linux Mint に Wine をインストールする方法
- Debian に Wine をインストールする方法
- Ubuntu、Mint、Debian でソースコードを使用して Wine をインストールする方法
- Wine を使用して Windows アプリとゲームを実行する方法
Debian、Ubuntu、Linux Mint への Wine のインストール
Wine 7.0 安定版シリーズの最新バージョンを入手したい場合は、両方を提供する新しい Wine リポジトリ PPA を使用する必要があります。 Debian、Ubuntu、およびLinux Mint用の Wine の開発バージョンと安定バージョン。
Ubuntu と Linux Mint に Wine をインストールする
Ubuntu と Linux Mint に Wine 7.0 をインストールするには、「CTRL + ALT + T
」を押してターミナルを開きます。デスクトップから次のコマンドを実行してインストールします。
sudo dpkg --add-architecture i386 [Enable 32-bit Arch]
sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
リポジトリを追加します。
- For this version:
次のコマンドを使用します:
- Ubuntu 22.04
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
- Ubuntu 21.10
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/impish/winehq-impish.sources
- Ubuntu 20.04
Linux Mint 20.x sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
- Ubuntu 18.04
Linux Mint 19.x sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources
パッケージを更新してから、次のいずれかのパッケージをインストールします。
- For this version:
次のコマンドを使用します:
- Stable branch
sudo apt install --install-recommends winehq-stable
- Development branch
sudo apt install --install-recommends winehq-devel
- Staging branch
-
sudo apt install --install-recommends winehq-staging
Debian に Wine をインストールする
Wine をDebian にインストールするには。
sudo dpkg --add-architecture i386
sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
WineHQ ソース ファイルをダウンロードします。
- For this version:
次のコマンドを使用します:
- Debian 11 (Bullseye)
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
- Debian 10 (Buster)
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/buster/winehq-buster.sources
次に、パッケージ リポジトリ データベースを更新し、図に示すように Wine をインストールします。
- For this version:
次のコマンドを使用します:
- Stable branch
sudo apt install --install-recommends winehq-stable
- Development branch
sudo apt install --install-recommends winehq-devel
- Staging branch
-
sudo apt install --install-recommends winehq-staging
Debian、Ubuntu、Mint でソース コードを使用して Wine をインストールする
Wine の最新の安定バージョン (つまり、現時点では 7.0) を入手するもう 1 つの方法は、次のコマンドを使用してソース tarball から wine をビルドすることです。
wget https://dl.winehq.org/wine/source/7.0/wine-7.0.tar.xz
tar -xvf wine-7.0.tar.xz
cd wine-7.0/
sudo ./configure
sudo ./configure --enable-win64 [For 64-bit platform]
sudo make && sudo make install
Wine を使用して Windows アプリとゲームを実行する方法
wine を使用して Windows プログラムを実行する方法を示すために、公式 Rufus ダウンロード ページから Rufus .exe
ファイルをダウンロードしました。
Windows Rufus 実行可能ファイルを実行するには、次のコマンドを実行します。
wine rufus-3.19.exe
プログラムを実行すると、Wine はユーザーのホーム ディレクトリに構成ファイルの作成を開始します。この場合は、図に示すように ~/.wine
です。
Wine の設定中に、.NET アプリケーションに必要な wine-mono-package をインストールします。[インストール] をクリックします。ボタン。
まもなくダウンロードが開始されます。
さらに、HTML を埋め込むアプリケーションに必要なGecko パッケージをインストールするよう求められます。
アプリケーションの更新を定期的に確認するかどうかを選択します。
最終的に、図のように Rufus が表示されます。
Wine を Debian、Ubuntu、Linux Mint に正常にインストールし、そのインストール方法のプレビューを示しました。 Linux 環境で Windows アプリケーションを実行します。
Debian、Ubuntu、Linux Mint での Wine のアンインストール
wine プログラムに満足できない場合は、次のコマンドを使用して完全に削除できます。
sudo apt purge winehq-stable
また、wine ダウンロード ページから他のLinux ディストリビューションの Wine ソース パッケージをダウンロードすることもできます。