18
15

More than 3 years have passed since last update.

Arch Linuxでwineを動かしてみる

Last updated at Posted at 2015-05-13
$ sudo pacman -S wine zenity

# ない場合は、/etc/pacman.confで[multilib]が追加されているか確認する
$ vim /etc/pacman.conf
[multilib]
Include = /etc/pacman.d/mirrorlist

# 文字化けを直す
$ mkdir -p ~/.wine/drive_c/windows/Fonts
$ sudo cp /usr/share/fonts/TTF/*.ttf ~/.wine/drive_c/windows/Fonts

# プログラムを起動する
$ wine path/to/hoge.exe

# winetricksをインストールする(不要)
$ yaourt -S winetricks

# フォントをインストールする(不要)
$ winetricks allfonts

# フォントを綺麗にする(不要)
$ winetricks fontsmooth-rgb

その他

winetricksでsha1sum mismatch! Renameのエラーが出る場合、それを回避する方法

$ winetricks vcrun6
> sha1sum mismatch! Rename /home/{mainuser}/.cache/winetricks/vcrun6/vc6redistsetup_enu.exe and try again.

$ sha1sum ~/.cache/winetricks/vcrun6/vc6redistsetup_enu.exe
> afji48djsie494jaiodsdaoa045992vfdhsioj44 ~/.cache/winetricks/vcrun6/vc6redistsetup_enu.exe

$ sudo vim /usr/bin/winetricks
load_vcrun6() {
- w_download http://storefront.steampowered.com/download/vc6redistsetup_enu.exe b058jifdja40jkfsdjalj4vcdla5brie4gfds44w
+ w_download http://storefront.steampowered.com/download/vc6redistsetup_enu.exe afji48djsie494jaiodsdaoa045992vfdhsioj44
}
$ winecfg

追記 : 修正しました。
@dk4130523 さん、ありがとうございます。

18
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
18
15