Skip to content

Instantly share code, notes, and snippets.

@kongvut
Last active February 16, 2026 17:39
Show Gist options
  • Select an option

  • Save kongvut/8749296db4cea3515cdf2ac728c54fd3 to your computer and use it in GitHub Desktop.

Select an option

Save kongvut/8749296db4cea3515cdf2ac728c54fd3 to your computer and use it in GitHub Desktop.
ติดตั้ง LINE บน Fedora ด้วย Wine

ติดตั้ง LINE บน Fedora ด้วย Wine

การติดตั้งของ Ubuntu, Debian น่าจะคล้าย ๆ กันเปลี่ยนแค่ dnf เป็น apt

0. ลบ Wine เดิมออก

sudo dnf remove "wine*"

1. ติดตั้ง Wine และ Winetricks

sudo dnf install wine winecfg wine-alsa wine-pulseaudio winetricks
> wine --version
wine-10.15 (Staging)

2. สร้าง Wine prefix สำหรับ LINE

mkdir -p ~/.wineprefixes/line

3. ตั้งค่า Wine

WINEPREFIX=~/.wineprefixes/line winecfg
  • Application: เลือก Windows version เป็น Windows 11
  • Audio: เลือก PulseAudio ทั้งหมด

4. ติดตั้ง Core Fonts

WINEPREFIX=~/.wineprefixes/line winetricks corefonts
WINEPREFIX=~/.wineprefixes/line winetricks vcrun2022
WINEPREFIX=~/.wineprefixes/line winetricks openal
# restart
WINEPREFIX=~/.wineprefixes/line wineboot -r

5. ติดตั้ง LINE

Download: https://desktop.line-scdn.net/win/new/LineInst.exe

WINEPREFIX=~/.wineprefixes/line wine ~/Downloads/LineInst.exe

6. การลบ Wine prefix และติดตั้งใหม่

rm -rf ~/.wineprefixes/line
# จากนั้นเริ่มขั้นตอนติดตั้งใหม่ตั้งแต่ข้อ 2

Tips

เปิด Line ด้วย Terminal

WINEPREFIX=~/.wineprefixes/line wine "C:\\\\users\\\\$USER\\\\AppData\\\\Local\\\\LINE\\\\bin\\\\LineLauncher.exe"

บังคับ Kill running processes แล้วลองเริ่มใหม่ (ถ้า Line ทำงานแปลก ๆ)

WINEPREFIX=~/.wineprefixes/line wineboot -k

การทำงาน และ bugs ที่พบ

การทำงาน (ปกติ)

  • โทร-รับสาย ปกติ
  • กดดู Profile ปกติ
  • กดดูรูปภาพ ปกติ
  • เสียง Sticker ปกติ
  • หน้าตั้งค่า Settings ปกติ
  • เสียงแจ้งเตือน ปกติ

ปัญหาปัจจุบันที่พบ

  • ไม่สามารถกด Link ใน Chat ได้
  • ไม่แสดง standard emoji ใน Chat (แสดงเป็นสี่เหลี่ยม)

การแก้ปัญหา Emoji เบื้องต้น

วิธีนี้แสดง emoji แบบ symbol แทน

ภาคต่อการติดตั้ง Line (ติดตั้งอัตโนมัติ)

วิธีติดตั้งอัตโนมัติโดยไม่ต้องใช้คำสั่ง)

unnamed

  • Script ติดตั้งอัตโนมัติโดยไม่ต้องใช้คำสั่ง
  • รองรับการเลือกระหว่าง Fedora / Ubuntu / Debian

*เอาคำสั่งนี้ไปรันใน Terminal ได้เลย

bash -c "$(curl -fsSL https://raw.githubusercontent.com/kongvut/community-scripts/refs/heads/main/install_line.sh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment