Back

์šฐ๋ถ„ํˆฌ 18.04 ์—์„œ ์นด์นด์˜คํ†ก ์„ค์น˜ํ•˜๊ธฐ(Install kakaotalk on ubuntu 18.04)

๐Ÿ“•ํŠน์ด์‚ฌํ•ญ WineTrick์—์„œ ์‚ฌ์šฉํ•˜๋Š” MPSetup.exe๊ฐ€ download.microsoft.com์—์„œ ์‚ญ์ œ๋œ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. ์šฐ์„  ๋Œ€์•ˆ์œผ๋ก  ์ง์ ‘ ๋ฐ›์•„์„œ ์„ค์น˜ํ•˜๋ฉด ๋˜๊ธดํ•˜๋Š”๋ฐ, ์•„๋ฌด๋ž˜๋„ ์™ธ๋ถ€์—์„œ ๋ฐ›๋Š” ํŒŒ์ผ์ด๋‹ˆ ๋ฐ”์ด๋Ÿฌ์Šค ํ† ํƒˆ ๊ฒฐ๊ณผ๋‚˜ ์›๋ณธ ์žˆ๋‹ค๋ฉด ์›๋ณธ์ด๋ž‘ ๋น„๊ต ํ›„ ์„ค์น˜ํ•˜์‹œ๋Š”๊ฒŒ ์ข‹์„๋“ฏ ์‹ถ์Šต๋‹ˆ๋‹ค..์•„๋ž˜ ๋Œ“๊ธ€ 2๊ฐœ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”.

http://www.hahwul.com/2018/08/install-kakaotalk-on-ubuntu-18.04.html?showComment=1561430084818#c2529029069859739452 http://www.hahwul.com/2018/08/install-kakaotalk-on-ubuntu-18.04.html?showComment=1561801290927#c8334058455147796855

๐Ÿ“˜์ฐธ๊ณ ์‚ฌํ•ญ Wine 5.0 Version ๋ถ€ํ„ฐ ๋ณ„๋‹ค๋ฅธ ์„ค์ • ๋ณ€๊ฒฝ์—†์ด ๋ฐ”๋กœ ๊ฐ€๋Šฅํ•˜๋‹ค๋Š” ์ด์•ผ๊ธฐ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์ œ๊ฐ€ ํ•ด๋ณด๊ณ  ์ž˜๋˜๋ฉด ๋‚ด์šฉ์œผ๋กœ ์ข€ ๋” ์ถ”๊ฐ€ํ•  ์˜ˆ์ •์ด๊ธดํ•œ๋ฐ, ํ•ด๋ณด์‹œ๋Š” ๊ฒƒ๋„ ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

@Rani ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค :D


์˜ค๋žœ๋งŒ์— ๋‹ค์‹œ ์šฐ๋ถ„ํˆฌ๋กœ ๋Œ์•„์™”์Šต๋‹ˆ๋‹ค. (debian, ubuntu, arch, blackarch, kali, blackubuntu ๋ฌดํ•œ๋ฃจํ”„..)

๊ฐ€์žฅ ์ง€์›์„ฑ์ด ๋†’์€ OS๊ธฐ ๋•Œ๋ฌธ์— ๊ฐ„๋งŒ์— ์นดํ†ก ์„ค์น˜๋ฅผ ์ง„ํ–‰ํ•ด๋ณผ๊นŒ ํ•ฉ๋‹ˆ๋‹ค.

Wine ์„ค์ •ํ•˜๊ธฐ

์šฐ์„  Wine์„ ์„ค์น˜ํ•ด์ค๋‹ˆ๋‹ค. apt install๋กœ ์„ค์น˜ ์‹œ ์ž๋™์œผ๋กœ x86 ๋ฒ„์ „ ๋˜ํ•œ ๊ฐ™์ด ๊น”๋ฆฝ๋‹ˆ๋‹ค. (apt-get ์œผ๋กœ ์„ค์น˜ํ•˜์‹œ๋Š” ๊ฒฝ์šฐ์—๋Š” 32๋น„ํŠธ์šฉ ๋˜ํ•œ ๋”ฐ๋กœ ์„ค์น˜ํ•ด์ฃผ์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค)

#> apt install wine-stable

๊ทธ๋‹ค์Œ wine ์„ค์ •์„ ์ดˆ๊ธฐํ™”์ค๋‹ˆ๋‹ค. ๋‹ค๋งŒ ์‚ฌ์šฉ์ž ๊ณ„์ •์—์„œ ์ง„ํ–‰ํ•ด์ฃผ์…”์•ผ ํ•˜๋‹ˆ root๋กœ ๋กœ๊ทธ์ธํ•ด์„œ ์„ค์น˜์ค‘์ด์‹œ๋ผ๋ฉด ์‚ฌ์šฉ์ž ๊ณ„์ •์œผ๋กœ ์Šค์œ„์นญํ•ด์ค€ ํ›„ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

#> WINEARCH=win32 WINEPREFIX=~/.wine wine wineboot

๊ธฐ์กด wine์œผ๋กœ๋Š” dll ๋“ฑ ๋–„๋ฌธ์œผ๋กœ ์ธํ•ด ๋ฐ”๋กœ ์นด์นด์˜คํ†ก ์‚ฌ์šฉ์ด ์–ด๋ ต์Šต๋‹ˆ๋‹ค. winetricks ๋ฅผ ์ด์šฉํ•ด์„œ ๊ด€๋ จ ๋ชจ๋“ˆ๋“ค์„ ์„ค์น˜ํ•ด์ฃผ์–ด์•ผ๋งŒ ๊น”๋”ํ•˜๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Winetricks ์—์„œ ์Šคํฌ๋ฆฝํŠธ๋ฅผ ๋ฐ›์€ ํ›„ ์‹คํ–‰ํ•ด์ค์‹œ๋‹ค.

#> wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
#> chmod 777 winetricks

์•„, ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰ํ•˜๊ธฐ ์ „ cabextract๋ฅผ ์„ค์น˜ํ•ด์ค๋‹ˆ๋‹ค. ํ•ด๋‹น ์Šคํฌ๋ฆฝํŠธ๋Š” cabextract๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๋ฏธ๋ฆฌ ์„ค์น˜๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

#> apt-get install cabextract

์„ค์น˜ ์ดํ›„ winetrcks๋ฅผ ์‹คํ–‰ํ•˜๋ฉด ์ฒดํฌ๋ฐ•์Šค๊ฐ€ ์žˆ๋Š” ํ™”๋ฉด์ด ๋‚˜ํƒ€๋‚˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

#> ./winetricks
  1. Select the default wineprefix ์ฒดํฌ(Checked)
  2. Install a Windows DLL or component ์ฒดํฌ(Checked)
  3. gdiplus, msxml6, riched30, wmp9 ์ฒดํฌ(Checked) (๊ฑฐ๊พธ๋กœ ์ฐพ์œผ์‹œ๋ฉด ๊ธˆ๋ฐฉ ์ฐพ์Šต๋‹ˆ๋‹ค)

winetricks ํ™”๋ฉด

wmp9(๋ฏธ๋””์–ดํ”Œ๋ ˆ์ด์–ด), ๊ฐ๊ฐ ์„ค์น˜ ํ™”๋ฉด์ด ๋ณ„๋„๋กœ ๋ฐœ์ƒํ•˜๊ธฐ ๋–„๋ฌธ์— ํด๋ฆญํด๋ฆญ ํ•ด์ค˜์•ผํ•ฉ๋‹ˆ๋‹ค.

์ดํ›„ ๊ณ„์† ๋„˜์–ด๊ฐ€ ์ฃผ์‹œ๋ฉด gdiplus, msxml6 ๋“ฑ๋“ฑ ๊ฐ๊ฐ ํ•ญ๋ชฉ์— ๋Œ€ํ•ด ์„ค์น˜๋ฅผ ์ง„ํ–‰ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ๋ชจ๋‘ ์™„๋ฃŒ๋˜๋ฉด ์ผ๋‹จ ์ค€๋น„๋Š” ์–ด๋Š์ •๋„ ๋๋‚ฌ์Šต๋‹ˆ๋‹ค. Wine ๋‚ด์—์„œ๋Š” ๋ฆฌ๋ˆ…์Šค์™€ ๋‹ค๋ฅด๊ฒŒ ํฐํŠธ๊ฐ€ ์ ์šฉ๋˜๊ธฐ ๋•Œ๋ฌธ์— ํ•œ๊ธ€์ด ์—†๋Š” ๊ฒฝ์šฐ์—๋Š” ํฐํŠธ๋ฅผ ๊น”์•„์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. (๋ญ ์˜์–ด๋กœ ์“ฐ์‹ค๊ฑฐ๋ฉด ๊ตณ์ด ์ƒ๊ด€์—†์Šต๋‹ˆ๋‹ค..)

Wine์œผ๋กœ ์นด์นด์˜คํ†ก ์„ค์น˜ํ•˜๊ธฐ

์นด์นด์˜คํ†ก ๊ณต์‹ ํ™ˆํŽ˜์ด์ง€์—์„œ PC ๋ฒ„์ „ ์„ค์น˜ํŒŒ์ผ์„ ๋ฐ›์•„์ค์‹œ๋‹ค. xp ๋ฒ„์ „๊ณผ ์ดํ›„ ๋ฒ„์ „์œผ๋กœ ๋‚˜๋‰˜๋Š”๋ฐ Wine ๊ตฌ์„ฑ ์„ค์ •์— ๋”ฐ๋ผ ๋ฐ›์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ์€ xp ์ž…๋‹ˆ๋‹ค.

#> wget http://app.pc.kakao.com/talk/win32/xp/KakaoTalk_Setup.exe

or

#> wget http://app.pc.kakao.com/talk/win32/KakaoTalk_Setup.exe

์„ค์น˜ ์ดํ›„ ๋ฐ”๋กœ ์‹คํ–‰ํ•˜๋ฉด ์นดํ†ก ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํž™๋‹ˆ๋‹ค.

์•ฝ๊ฐ„์˜ ์‚ฌ์šฉ ํŽธ์˜๋ฅผ ์œ„ํ•ด Desktop ์ •๋ณด(Application) ์„ ๋“ฑ๋กํ•ด์ค๋‹ˆ๋‹ค. Wine ๋””๋ ‰ํ† ๋ฆฌ์— ๋ณด๋ฉด ์ด๋ฏธ Desktop ํŒŒ์ผ์ด ๊ตฌ์„ฑ๋˜์–ด ์žˆ๋Š”๋ฐ, ์•„์ด์ฝ˜์ด๋‚˜ Language ๋“ฑ ํ•„์š”ํ•œ๊ฑฐ ์ˆ˜์ •ํ•˜์‹œ๊ณ  applications ๋กœ ๋„ฃ์–ด์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

#> cd .local/share/applications/wine/Programs/KakaoTalk/
#> vim KakaoTalk.desktop

Icon ๋ณ€๊ฒฝ, LANG ์ฒ˜๋ฆฌ ๋“ฑ๋“ฑ

#> cp KakaoTalk.desktop /usr/share/applications/

Applications์— ๋“ฑ๋ก๋˜์–ด ์•„์ด์ฝ˜์œผ๋กœ๋„ ๋‚˜ํƒ€๋‚ฉ๋‹ˆ๋‹ค

๊ณผ์ •์„ ์š”์•ฝํ•ด์„œ ์Šคํฌ๋ฆฝํŠธ๋กœ ๋ฐ”๊พธ๋ฉด…

[ script.sh ]

sudo apt install wine-stable
WINEARCH=win32 WINEPREFIX=~/.wine wine wineboot
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod 777 winetricks
sudo apt-get install cabextract
./winetricks

# 1. Select the default wineprefix ์ฒดํฌ(Checked)
# 2. Install a Windows DLL or component ์ฒดํฌ(Checked)
# 3. gdiplus, msxml6, riched30, wmp9 ์ฒดํฌ(Checked / ๊ฑฐ๊พธ๋กœ ์ฐพ์œผ์‹œ๋ฉด ๊ธˆ๋ฐฉ ์ฐพ์Šต๋‹ˆ๋‹ค) 

wget http://app.pc.kakao.com/talk/win32/xp/KakaoTalk_Setup.exe
cp KakaoTalk.desktop /usr/share/applications/

Reference