inicio sindicaci;ón

ใช้ flash plugin บน Ubuntu 64bit ด้วย nspluginwrapper

เคยกล่าวไปในครั้งที่แล้วว่า ลินุกซ์ 64bit ไม่สามารถเล่นแฟลชได้ตรงๆ เพราะไม่มี plugin flash แบบ 64bit สำหรับ firefox 64bit โดยทางออกแรกที่รู้ๆ กันคือ ติดตั้ง firefox 32bit คู่ขนานไปกับ firefox 64bit ด้วย แต่ยังมีทางออกอื่น ที่ผมก็พึ่งรู้ นั่นคือใช้ nspluginwrapper เพื่อทำให้ plugin 32bit ใช้กับ browser 64bit ได้

ดูวิธีการได้ที่นี่ http://plugindoc.mozdev.org/linux-amd64.html#nswrapper

ขอสรุปขั้นตอน ซึ่งปรับและลัดขั้นตอนมา ดังนี้ (ทดสอบบน feisty 64bit)

1. ติดตั้งระบบรองรับโปรแกรม 32bit

$ sudo apt-get install linux32 ia32-libs libc6-i386 lib32gcc1 lib32asound2 ia32-libs-gtk lib32z1 lib32stdc++6
 

2. ดาวน์โหลด nspluginwrapper สำหรับ ubuntu 64bit

$ wget http://ftp.opentle.org/people/kamthorn/ubuntu64/nspluginwrapper-i386_0.9.91.4-2_amd64.deb
$ wget http://ftp.opentle.org/people/kamthorn/ubuntu64/nspluginwrapper_0.9.91.4-2_amd64.deb
 

3. ติดตั้ง

$ sudo dpkg -i nspluginwrapper-i386_0.9.91.4-2_amd64.deb
$ sudo dpkg -i nspluginwrapper_0.9.91.4-2_amd64.deb
 

4. ติดตั้ง flashplugin

$ wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
$ tar xzvf install_flash_player_9_linux.tar.gz
$ sudo cp install_flash_player_9_linux/libflashplayer.so install_flash_player_9_linux/flashplayer.xpt /usr/lib/mozilla/plugins/
$ sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
 

เมื่อเสร็จแล้ว ลองปิด firefox แล้วเปิดใหม่ ลองเปิดเว็บที่มี flash น่าจะพบว่าสามารถแสดง flash ได้แล้ว เย้!

สรุป ถึงแม้ตอนนี้จะยังไม่มี flash plugin ที่เป็น 64bit แต่เราก็สามารถใช้ flash plugin 32bit บน browser 64bit ได้ด้วย nspluginwrapper ทำให้ผมสามารถใช้ Ubuntu 64bit ได้อย่างปกติสุข เหมือนตอนที่ใช้ Ubuntu 32bit แทบทุกอย่าง ซึ่งความรู้สึกจะต่างไปจากก่อนนี้ ที่รู้สึกว่าลินุกซ์เดสก์ท็อป 64 บิตยังไม่น่าใช้ แต่ตอนนี้โอมั่กๆ :-D

teerapap said,

April 27, 2007 @ 15:53

ขอถามนิดนึงนะครับ
หลังจากใช้เวอร์ชั่น 64bits แล้วรู้สึก เร็วขึ้นอะไรแบบนี้มั้ยครับ
เผื่อจะย้ายไปใช้มั่ง :P

กำธร said,

April 29, 2007 @ 18:34

ไม่ได้รู้สึกอย่างชัดเจนว่าเร็วขึ้นครับ แต่ถ้า benchmark ดู ก็น่าจะเห็นผลบ้าง ว่ากันว่าเร็วขึ้น 10-50% แล้วแต่ประเภทของงาน

boat said,

May 1, 2007 @ 08:58

ถ้าไม่ขึ้นมีวิธีตรวจสอบใหมครับ

thep said,

May 1, 2007 @ 23:36

เรื่อง flash player ผมลุ้น swfdec น่ะ (นอกเหนือจาก gnash) เห็นประกาศว่าเล่น Youtube ได้แล้ว ผมลองใช้ดู ก็เปิด flash ได้หลายเว็บอยู่นะ (แต่ไม่ได้ลอง Youtube เหอะๆ) ชอบตรงที่มันไม่ play on load ให้หนัก CPU เล่น ต้องไปคลิกให้ play เอา (ทำตัวเหมือน flash block plug-in ว่างั้นเหอะ) แต่ยังมีปัญหากับหลายเว็บเหมือนกัน ต้องรอลุ้นต่อไป..

ส่วน gnash เห็นว่าอีกเดือนจะมี release ใหม่ ต้องรอดูว่าจะเก่งขึ้นขนาดไหน

อานนท์ said,

May 20, 2007 @ 15:34

aptitude install -V libflash-mozplugin
มีคนทำหยั่งงี้บน utu64 ก็ ใช้ได้เหมือนกันแฮะ.

newbies said,

August 13, 2007 @ 19:37

ขอบคุณไว้ก่อน

Mammothxp said,

September 4, 2007 @ 09:35

mammothxp@mammothxp-desktop:~$ sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
sudo: nspluginwrapper: command not found

ขออนุญาตสอบถามครับ ผมทำตามขั้นตอนข้างต้นผ่านตลอดครับ แต่มาติดคำสั่งสุดท้าย จะขึ้นข้อความข้างต้นครับ

รบกวนขอความช่วยเหลือด้วยครับ
ขอบคุณครับ
ใช้ AMD ATHRON64 ครับ

wobb said,

December 21, 2007 @ 15:04

เป็นเหมือนคุณ Mammothxp เลยครับ ผมติดตรง 2 ขั้นตอนสุดท้าย

กำธร said,

December 21, 2007 @ 16:16

เอิ่ม.. พอดีผมอัพเกรดมาใช้ Ubuntu 7.10 amd64 แล้ว ในรุ่นนี้มันลง nspluginwrapper มาให้เลยครับ สามารถใช้ได้ทันที

อ่อ มันติดตั้ง flash plugin ผ่าน ubufox ให้ด้วย ง่ายเลย

RSS feed for comments on this post · TrackBack URI

Leave a Comment