Running Adobe Lightroom 4.4 in Linux

I use Adobe Lightroom 4.4 for photo editing. There is one very annoying aspect of this program, it is not available for Linux (only for Windows and Max OS X).

In order to run Lightroom on my computer, I had to use VirtualBox and install Windows 7 in it. This works, but is quite clumsy and annoying. And since Lightroom is the only reason for me to run Windows, I would like to get rid of it.

So I decided to try out Wine. The current version of Wine does not support Lightroom out of the box, but I found some patches which seems make it work. This is how I did it, for Ubuntu 12.04 32-bit.

  1. Uninstall any Wine installation you might already have
  2. Prepare to build Wine from source (for some odd reason, it should be wine1.4 and not wine1.6):
    sudo apt-get build-dep wine1.4
  3. Download Wine 1.6 sources
  4. Unpack Wine 1.6 sources:
    tar -xjf ~/Downloads/wine-1.6.tar.bz2
  5. Download the necessary patches
  6. Unpack and apply the paches:
    tar -xzf ~/Downloads/wine-1.6-lr5-patches.tar.gz
    patch -p0 <0-Menu-wine-1.6.patch
    patch -p0 <1-ConditionVariables-wine-1.6.patch
    patch -p0 <2-InitOnceExecuteOnce-wine-1.6.patch
  7. Build and install the patched Wine 1.6:
    cd wine-1.6
    ./configure
    make
    sudo make install
    
  8. Install winetricks:
    cd /usr/local/bin
    sudo wget http://winetricks.org/winetricks
    sudo chmod +x winetricks
    
  9. Install cabextract:
    sudo apt-get install cabextract
    
  10. Prepare and install Lightroom 4.4.1 32-bit:
    winetricks win7
    wine ~/Downloads/Lightroom_4_LS11_win_4_4_1.exe
    winetricks winxp
    winetricks corefonts gdiplus ie7
    
  11. Download sRGB color profile
  12. Unpack and install sRGB color profile:
    tar -xzf ~/Downloads/lr-wine-1.5.17.tar.gz
    cp "sRGB Color Space Profile.icm" ~/.wine/drive_c/windows/system32/spool/drivers/color
    
  13. Now you can start Lightroom with this command:

    wine "C:\\Program Files\\Adobe\\Adobe Photoshop Lightroom 4.4.1\\lightroom.exe"
    

    I found most of the information here.

This entry was posted in Linux, Ubuntu. Bookmark the permalink.

12 Responses to Running Adobe Lightroom 4.4 in Linux

  1. jose says:

    very good.
    thank you very much.
    could you explain it for archlinux?

  2. Alain says:

    Hi,
    when I run the patch commande, I get this:
    **************************************
    patch -p0 <0-Menu-wine-1.6.patch
    can't find file to patch at input line 4
    Perhaps you used the wrong -p or –strip option?
    The text leading up to this was:
    ————————–
    |diff -ruN wine-1.6.old/dlls/user32/menu.c wine-1.6/dlls/user32/menu.c
    |— wine-1.6.old/dlls/user32/menu.c 2013-10-13 12:12:37.062835832 +0200
    |+++ wine-1.6/dlls/user32/menu.c 2013-10-13 12:14:33.037838703 +0200
    ————————–
    File to patch:
    ******************************************
    what should I answer ????

    thanks…

    Alain

  3. I think you are in wrong directory when you run the patch command.

  4. Laurent says:

    Hi, thanks for this work! I also need windows only for LightRoom, annoying…
    Do you think your tutorial could work with a earlier version of ubuntu ? Or are your patches really specific to the 12.04 version ?
    Thank you
    Laurent

  5. I don’t know how this works on earlier versions of Ubuntu, you have to try.

    (And I don’t understand why anyone would run an earlier version of Ubuntu than 12.04 today.)

  6. Have you been able to install and run Lightroom 5 that requires Win7 to work properly? I’ve had no luck with your manual above and LR 5 is a must for me.
    /Tomas

  7. Been able to read myself…:
    http://appdb.winehq.org/objectManager.php?sClass=version&iId=28669
    Looks like LR 5 isn’t working with Wine at the moment.

  8. I have not tried Lightroom 5 myself.

    However, I know that other people have got it to work with some patching, see here.

    BTW, which features of Lightroom 5 do you need?

  9. Thanks for the link. I’ll surely will give it a try if I understand what to do. Would as a Linux newbie really need a 1-2-3-dummy-description though… ;-)

    LR 5 has a lot of tweaks and small improvements together with a couple of new tools that I regularly use (Radial Filter, Automatic Perspective Correction etc.), but the functionality I really can’t manage without is the Smart Previews.
    “You can now easily work with images without having to carry the original files with you at all times. Store your original image files on an external device, and generate smaller preview files called Smart Previews. Smart previews are stored in the same folder as your Lightroom catalog. If the device that contains your original files is disconnected from your computer, Lightroom uses Smart Previews. In addition to being able to view the photographs, you can edit Smart Previews. When you reconnect the device that contains the original files, all your edits to the Smart Previews are automatically applied to the originals.”

    I store my original raw-files on a NAS wired to my desktop (running Win 8.1). The LR 5-catalog is placed on a small external drive together with all previews (including these smart previews). With this setup I can plug the ext. drive to any other computer running LR 5 and have virtual access to all my images. I can do all kind of editing, sorting, judging, labelling etc. when I’m away from home. Even export small jpg’s for the web.

    That’s basically why… :)

  10. I understand that the bugs these patches adress all have been included in Wine 1.7.11.

    So now I tried LR 5.5 32 bit-version under the latest Wine 1.7.22 but could not get it to work either (I’m running Mint 17). LR installs but crashes at startup.

    Don’t really understand crash reports but it says amongst others:
    Unhandled exception: unimplemented function KERNEL32.dll.CreateThreadpool called in 32-bit code (0x7bc53cd0).

  11. Btw, here is what I tried:

    “0. If You have older wine version than 1.7 – uninstall it.
    1. Install ppa repository for new wine:
    sudo add-apt-repository ppa:ubuntu-wine/ppa
    2. Install wine 1.7 from synaptic or Your favorite package manager
    3. Install winetricks
    4. Run wintericks and install packages (.net mono etc if prompted)
    5. Run Lightroom instalation – extract files. When finished, uncheck all options. Go to “Adobe” folder on Your desktop (there are extracted files) and go to “/Adobe/Photoshop Lightroom 4.4/Adobe Photoshop Lightroom 4″ for LR 4.4.
    5. Run setup32.exe and install Lightroom
    6. After installation run Your Lightroom from desktop icon.

    If you have problems with install try this:
    before installation type in terminal: winetricks win7
    or run winecfg and choose windows7 or later.”
    https://www.youtube.com/watch?v=BfyA2DQT0J8&feature=youtu.be

    Sorry for all the spamming…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



(this is a captcha)