Wine
をインストールしました 現在のバージョンには非常に満足していますが、winetricks
さまざまなエラーメッセージで何度か失望しました。
winetricks
を更新するにはどうすればよいですか Ubuntuで最新バージョンを入手するには?
ベストアンサー
winetricks
のバージョン 在庫のUbuntuインストールに付属しているものはかなり古いことが多く、最新のPPAから入手できるバージョンでさえ少し遅れることがあります。 winetricks
を更新することは素晴らしいアイデアであり、非常に安全です。 手動で、独立 メインのWine
インストールの場合、これはいくつかの簡単な手順で実行できます。
1。最新バージョンを確認し、古いバージョンを削除します:
まず、最新バージョンを確認します この便利なワンライナーで上流から利用可能:
curl --silent --show-error \
https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks --stderr - \
| grep ^WINETRICKS_VERSION | cut -d '=' -f 2
次に、これが自分のインストール済みバージョンよりも優先される場合(あなたのを表示するには) バージョン実行winetricks --version
コマンドラインから)現在インストールされているバージョンを削除します:
sudo apt-get remove winetricks
2。最新バージョンをインストールします:
次に、最新バージョンをダウンロードしてインストールします。
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo mv -v winetricks /usr/local/bin
私自身のシステムで示されているように、最新バージョンをテストできます:
[email protected]~$ winetricks --version
20200412-next - sha256sum: 8b462a927bdb488441dc18855aba1ca2c2ec311343d352dc7b9ad3e673ba371f
[email protected]~$
3。いくつかの追加機能を追加して、新しい構文を確認してください:
winetricks
に必要な「ヘルパー」アプリケーションがいくつかあることを確認することもお勧めします。 実行する必要がありますが、これらのほとんどは Wineのコピーとともにすでにインストールされています:
sudo apt-get install cabextract p7zip unrar unzip wget zenity
次に、以前のバージョンから変更された可能性のある正しい使用法を確認します。
[email protected]~$ winetricks -h
Usage: /usr/local/bin/winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs. Each verb installs an application or changes a setting.
Options:
--country=CC Set country code to CC and don't detect your IP address
-f, --force Don't check whether packages were already installed
--gui Show gui diagnostics even when driven by commandline
--isolate Install each app or game in its own bottle (WINEPREFIX)
--self-update Update this application to the last version
--update-rollback Rollback the last self update
-k, --keep_isos Cache isos (allows later installation without disc)
--no-clean Don't delete temp directories (useful during debugging)
-q, --unattended Don't ask any questions, just install automatically
-r, --ddrescue Retry hard when caching scratched discs
-t --torify Run downloads under torify, if available
--verify Run (automated) GUI tests for verbs, if available
-v, --verbose Echo all commands as they are executed
-h, --help Display this message and exit
-V, --version Display version and exit
Commands:
list list categories
list-all list all categories and their verbs
apps list list verbs in category 'applications'
benchmarks list list verbs in category 'benchmarks'
dlls list list verbs in category 'dlls'
games list list verbs in category 'games'
settings list list verbs in category 'settings'
list-cached list cached-and-ready-to-install verbs
list-download list verbs which download automatically
list-manual-download list verbs which download with some help from the user
list-installed list already-installed verbs
arch=32|64 create wineprefix with 32 or 64 bit, this option must be
given before prefix=foobar and will not work in case of
the default wineprefix.
prefix=foobar select WINEPREFIX=/home/andrew/.local/share/wineprefixes/foobar
annihilate Delete ALL DATA AND APPLICATIONS INSIDE THIS WINEPREFIX
[email protected]~$
4。これらの手順を安全に逆にします:
関連:Ubuntu12.10以降のUbuntuにIntel Cedarviewドライバーをインストールするにはどうすればよいですか?何らかの理由で古いリポジトリバージョンに戻したい場合は、次のコマンドを実行するだけです。
sudo rm /usr/local/bin/winetricks
sudo apt-get install winetricks
そして、すべてがそのままになります。
注:
- WineHQ Wiki:winetricksWineHQWikiからのすべての最高のwinetricks情報。
- 半自動化 :部分的にできるようになりました
sudo winetricks --self-update
を実行して、更新プロセスを自動化します 結果に満足できない場合は、次のコマンドでこれをロールバックします:sudo winetricks --update-rollback
。