zoukankan      html  css  js  c++  java
  • Linux Wine with *.bat *.exe ( Photoshop and etc.. )

    Firtly all you need is to install wine on your computer.

    Mine is ubuntu 12.04 which is running KDE on it. I like it.

    And now

    sudo apt-get install wine

    if you want to run some *.exe  apps on Linux

    use

    wine photoshop.exe

    but sometimes it doesn't work on Linux coz some issues.

    You need wineconsole to solve things out.

    wineconsole greenIt.bat

    the greenIt.bat is a script to initialize Photoshop on Linux.

    But we always get this:

    someone@galaxy:~/Software/PhotoShop CS5_7edown.com$ wineconsole greenIt.bat 
    p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory

    To solve thing problem, I googled this:

    http://jim19770812.blogspot.com/2012/06/ubuntu-1204wine-usrlibi386-linux.html

    It shows:

    这个问题是在用wine1.5.5运行一个游戏时报的错,

    couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
    网上根据lauchpad bug列表里的一回复,解决了问题。
    原文请见 https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/885492
    1.安装 getlibs
    jim@jim-laptop:~$ wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb
    jim@jim-laptop:~$ sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb
    
    2.安装32位库
    jim@jim-laptop:~$ getlibs -p gnome-keyring:i386
    
    3.生成符号链接
    jim@jim-laptop:~$ sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
    

    ok,问题解决了。

     如果你没有能生成软链接成功(由于没有那个文件夹),那么就要这样:

    sudo mkdir -p /usr/lib/i386-linux-gnu/pkcs11

    Now we need to install getlibs.deb

    But where to get getlibs.deb??

    Here! You could find help here.
    https://answers.launchpad.net/ubuntu/+source/software-center/+question/212932

    ###############This pretty helpful! And I made it########################

    marcobra (Marco Braida) (marcobra) said on 2012-11-01: #2

    to made some check before installing, from terminal:

    mkdir $HOME/getlibs_package
    cd $HOME/getlibs_package
    wget http://usablesoftware.files.wordpress.com/2011/02/getlibs-all-deb.pdf
    mv getlibs-all-deb.pdf getlibs-all.deb

    To check the content of package downloaded from this unsecure address...

    dpkg -c getlibs-all.deb

    We extract to temp dir

    dpkg -x getlibs-all.deb /tmp/getlibs

    and we can inspect the getlibs shell script

    gedit /tmp/getlibs/usr/bin/getlibs

    Then you can install it with

    sudo dpkg -i getlibs-all.deb

    #############################################################

    Then you could execute this now:

    wineconsole greenIt.bat 

    Then nothing wrong happens. Good for you!

    And the most informative reference about how to Run Photoshop on Linux   is here:

    http://wiki.winehq.org/AdobePhotoshop

    ##################################

    This works best!

    Just Read this

    Have a look

    http://www.makeuseof.com/tag/idiots-guide-installing-photoshop-cs5-ubuntu-1004/

    An Idiot’s Guide to Installing Photoshop CS5 on Ubuntu 10.04

    It works anyway.

    just follow it, and then you will get it!

    What a rush!...

    adobe photoshop

  • 相关阅读:
    缓存服务器
    Consistent Hashing算法-搜索/负载均衡
    MinHash算法-复杂度待整理
    搜索引擎spam
    C语言字节对齐
    关于访问权限的问题
    计蒜客button 概率
    LightOJ
    LightOJ
    LightOJ
  • 原文地址:https://www.cnblogs.com/spaceship9/p/3175643.html
Copyright © 2011-2022 走看看