Ubuntu 18.04와 20.04에서 삽질하면서 카카오톡을 설치하면서 확인한 설치 방법을 공유합니다.
Ubuntu 18.04 기준 wine-5.0.2, winetricks 20200412 버전에서 동작을 확인했으며,
Ubuntu 20.04에서는 wine-5.0.1, winetricks 20210206 버전에서 동작을 확인했습니다.
wine 5.0 이상이면 정상적으로 설치가 되는 것 같습니다.
마지막에 카카오톡 폰트 변경할때는 폰트가 깨져서 아래 방법으로 찾으시면 됩니다.
로그인 화면 오른쪽 위 톱니 버튼 - 설정(첫번째 버튼) - 일반(첫번째 탭) - 폰트(두번째 항목) - NanumGothic
* Install wine 5.0
$ sudo dpkg --add-architecture i386
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key; sudo apt-key add winehq.key
$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
$ sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
$ sudo apt update && sudo apt install --install-recommends winehq-stable
$ sudo apt install cabextract
* Download latest winetricks
$ wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
$ chmod +x winetricks
* Download KakaoTalk
# https://www.kakaocorp.com/service/KakaoTalk
# Download windows version
===
* Check versions
$ wine --version
wine-5.0.2
$ ./winetricks --version
20200412-next - sha256sum: 8efa7c2d4b96045bf6dec3a4b60be588c4c9a7da4e6de7c010cb6f21e2fb708f
===
* Install windows 10
$ rm -rf ~/.wine
$ WINEARCH=win32 wine wineboot
$ WINEARCH=win32 wine winecfg # Change Windows version to Windows 10
$ winetricks gdiplus wmp9 d3dx9_43
===
* Install KakaoTalk
# Copy font files to ~/.wine/drive_c/windows/Fonts
$ LANG="ko_KR.UTF-8" wine KakaoTalk_Setup.exe # Uncheck auto start
===
* Add ubuntu application file
cat <<EOF > ~/.local/share/applications/KakaoTalk.desktop
[Desktop Entry]
Name=KakaoTalk
Comment=Kakaotalk with Wine
Exec=wine "C:\Program Files\Kakao\KakaoTalk\KakaoTalk.exe"
Terminal=false
Type=Application
Categories=Wine;
EOF
* Change KakaoTalk permissions
$ xdg-open ~/.local/share/applications
# Property -> Permissions -> Execute
# Check 'Allow executing file as program'
* Run KakaoTalk
# Search - KakaoTalk
# Uncheck auto login
# Set font to NanumGothic
# Login!