PhotoScape on Debian (AMD64)

พอดีได้ลองใช้ PhotoScape แล้ว (เครื่องพ่อ..ที่บ้าน แกใช้ Windows ส่วนผมใช้ Debian ครับ) เห็นว่าเป็นโปรแกรมที่ใช้งานง่าย และสะดวกสำหรับคนที่ไม่ค่อยจะมีหัวศิลปะอย่างผม จะแต่งภาพ ใส่ลูกเล่นอะไรเข้าไปก็แสนจะง่าย เสียดาย เขามีแต่ Binary สำหรับ Windows อ่านไปเจอบทความในบล็อกของ mrchoke เรื่อง Photoscape บน Linux ลองทำตามแล้ว ติดตรง copy ไฟล์ mfc42.dll เอผมจะเอามาจากไหนหนอ งมไปงมมา ก็เลยเจอวิธีการ โดยจะกล่าวถึงเป็นขั้นเป็นตอน ณ บัดนี้

  1. ติดตั้ง wine เพื่อจำลองการทำงานของ windows ใน Debian
  2. # aptitude install wine cabextract
  3. ดาวน์โหลดโปรแกรม PhotoScape จาก http://www.photoscape.org (กรณีผมไว้ที่ ~/winprog)
  4. สั่งติดตั้ง PhotoScape
  5. $ cd ~/winprog
    $ wine PhotoScapeSetup_V3.1.exe

    ทำตามขั้นตอนการติดตั้งที่โปรแกรมแนะนำ

  6. ดาวน์โหลดไฟล์ สำหรับติดตั้ง mfc42.dll
  7. $ cd /tmp
    $ wget http://activex.microsoft.com/controls/vc/mfc42.cab
    $ cabextract mfc42.cab
    mfc42.cab: WARNING; possible 5648 extra bytes at end of file.
    Extracting cabinet: mfc42.cab
      extracting mfc42.exe
    
    All done, no errors.
  8. ติดตั้ง mfc42.dll (library สำหรับ Visual C มั้ง ผมก็ไม่แน่ใจ :P)
  9. $ wine mfc42.exe

    ถามอะไรมา ตอบ "Yes" คำเดียวครับ

  10. เรียบร้อย ตอนนี้ก็น่าจะเข้าใช้ PhotoScape ได้แล้ว สำหรับคนที่ใช้เมนูภาษาไทย ก็เข้าใช้งานที่ [ โปรแกรม -> Wine -> Programs -> PhotoScape -> PhotoScape ]

ปล. คิดว่า i386 ก็น่าจะใช้วิธีนี้ในการติดตั้งได้เช่นกัน

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <blockquote> <img> <h3> <h4> <h5>
  • Lines and paragraphs break automatically.
  • E-Mail addresses are hidden with reCAPTCHA Mailhide.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.