Update: Installing ZumoDrive on Ubuntu 11.04 (Natty)

Due to a few requests from the original post , I decided to look into why people are having trouble with installing ZumoDrive in Ubuntu 11.04.  While I don’t use this program anymore, I thought that seeing people were still visiting this site and take the time to comment and ask a question, I would try the best I could to help out.

Note: I’m using Ubuntu 11.04 32bit, clean install inside of VirtualBox.  So, your mileage may vary, if this doesn’t work for you, please post.

Update: According to commenter “Eduardo”, this method worked on 64bit as well

Read more to continue…

Step 1

Make sure you have a fully updated system.

sudo apt-get update && sudo apt-get dist-upgrade

Step 2

Download ZumoDrive for your architecture by going to http://www.zumodrive.com/download/zumodrive?platform=linux .  Keep in mind that I haven’t tested this for 64bit (but I don’t see why it would be any different) This has been tested on 64bit, and works fine.  NOTE: Save this to your folder, don’t launch it yet.

Step 3

Enable Canonical Partners APT repository by going to Applications -> Ubuntu Software Centre then select Edit Menu->Software Sources .  Enter your password, then go to the Other Software tab, and ensure the following line has a check in it:

Canonical Partners - Software packaged by Canonical for thier partners

Then click Close.  At this point, Ubuntu Software Centre will reload its repository, let that finish, then close it off.  Next, open up Applications->Accessories->Terminal and execute the following:

sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-plugin

That will install Sun’s Java release.  Next, we need to fix some missing links that ZumoDrive looks for:

cd /usr/lib

sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/i386/libjava.so .

sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/i386/client/libjvm.so .

sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/i386/libverify.so .

Step 4

Next, we need to install an older version of xul-runner.  Why?  I haven’t the slightest clue, but it works…

sudo apt-get install xulrunner-1.9.2

Now, we need to set an environment variable that gets set whenever you login, I chose throwing this in /etc/profile so its system-wide.  So, open up that file with sudo nano -w /etc/profile and add the following at the bottom:

export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.17

Step 5

Finally, head back to the directory where you downloaded ZumoDrive and attempt to install it:

sudo dpkg -i zumodrive-ubuntu8-i386-0.989.deb

If you get any errors about missing dependencies, just run:

sudo apt-get -f install

That should install what’s missing and finish installing zumo drive.

Step 6

Finally, restart your computer.  You have to restart for this to take effect.  Just logging out and back in didn’t do the trick for me.

Let me know if this worked for you.  Good luck!

18 Responses to “Update: Installing ZumoDrive on Ubuntu 11.04 (Natty)”

  1. [...] seems there are some more problems cropping up with Ubuntu 11.04, so I have done some research, and come up with a workaround and put it in a new post. Categorized under: Ubuntu. Tagged with: Applications, Bash, Linux, quick tip, [...]

  2. Eduardo says:

    Thank you,

    it worked for me with 64bit version (zumodrive-ubuntu8-amd64-0.989.deb).

  3. Mark says:

    Thanks Corey, that worked just fine. Thanks for the step-by-step. Part of what you have done is in this post on the zumdrive forum topic: http://www.zumodrive.com/forums/12/topics/925 but it’s so muddled I couldn’t really make out what they were on about.

    I Hope Zumo gets the install working properly – they may end up losing customers to dropbox.

  4. juve says:

    how to install on fedora15 ?

  5. juve says:

    Installed on the fedora error:

    (zumodrive:9544): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height -1
    Exception in thread “main” java.lang.ExceptionInInitializerError
    at com.zecter.ui.LinuxTray.setImage(Unknown Source)
    at com.zecter.ui.SystemTray.setTrayIcons(Unknown Source)
    at com.zecter.ui.SystemTray.(Unknown Source)
    at com.zecter.ui.ZumoUI.startup(Unknown Source)
    at com.zecter.app.Application.startComponents(Unknown Source)
    at com.zecter.app.Application.start(Unknown Source)
    at com.zecter.app.Application.main(Unknown Source)
    Caused by: java.lang.RuntimeException: Cannot load resource directory
    at com.zecter.util.ResourceHelper.(Unknown Source)
    … 7 more

    • Derik says:

      Um nice tutorial however i do not know how to save the variable changes between step 4 and five. now i am stuck. Help please.

      • Corey says:

        I’m assuming you mean the following?:

        “export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.17″

        You place this in your /etc/profile file with “sudo nano /etc/profile” and placing it in there. This should keep over reboots. Once you reboot (which is required at the end of the tutorial), the variable will execute when you login.

        Is this what you’re referring to?

        • Derik says:

          Yes sir that’s what i am referring to, i did not know that, after i place the export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.17 in there i try and close the terminal window and it says: There is still a process running in this terminal. Closing the terminal will kill it. So i closed it and went back in and the export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.17 i put in there is gone.

          • Corey says:

            Sounds like you’re not saving the file after adding that line. If you’re unfamiliar with using nano on the command line, here’s a quick example of how to make the change:

            sudo nano -w /etc/profile
            (enter your password when requested)
            arrow down to the bottom of the file and put in the request line above
            To save, press the key combination “Ctrl+X” and it will ask you to save, then press “Y”.

            That should save the file, and keep that line there.

    • Derik says:

      Perfect that is the part i could not figure out, it worked, thank you and i am new to linux and not familiar with nano, but loving Ubuntu. One more question you said go back to the directory where you downloaded zumo drive and attempt to install it. Can i just open up a terminal and run the script: sudo dpkg -i zumodrive-ubuntu8-i386-0.989.deb or do i have to go to terminal cd and tell it where i downloaded zumo drive ? It is in my download folder: dbares>downloades ?

      • Corey says:

        If you downloaded it with Firefox or Chrome, it should be in your Downloads directory, so you can just do:

        cd ~/Downloads
        sudo dpkg -i zumodrive-ubuntu8-i386-0.989.deb

        The ~ on the first line means “my home directory”, so the system will interpret it as “/home/dbares/Downloads”. Also, keep in mind that the Linux commandline is case-sensitive, so ‘downloads’ doesn’t equal ‘Downloads’.

        • Derik says:

          Ok, this is what i got when i ran that command:

          dpkg: error processing zumodrive-ubuntu8-i386-0.989.deb (–install):
          cannot access archive: No such file or directory
          Errors were encountered while processing:
          zumodrive-ubuntu8-i386-0.989.deb
          dbares@5BARES-PC:~/Downloads$

    • Derik says:

      Well it worked for 24hrs then java crashed on me, now sumodrive does not work at all ? Here is the java crash report:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f4f4b787ad0, pid=1644, tid=139978827908896
      #
      # JRE version: 6.0_26-b03
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # C [libdbus-1.so.3+0x24ad0] double+0×2550
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

      ————— T H R E A D —————

      Current thread (0×0000000001100800): JavaThread “main” [_thread_in_native, id=1644, stack(0x00007fff5234c000,0x00007fff5244c000)]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0×0000000000000004

      Registers:
      RAX=0x000000005002ec3f, RBX=0x00007f4f504f9980, RCX=0×0000000000000006, RDX=0x00007f4f50312f38
      RSP=0x00007fff52448da8, RBP=0×0000000000000001, RSI=0×0000000000000000, RDI=0×0000000000000000
      R8 =0x00007f4f50503c10, R9 =0×0000000000000001, R10=0×0000000000000001, R11=0×0000000000000001
      R12=0×0000000000000000, R13=0x000000007fffffff, R14=0x00007f4f4f1cfea0, R15=0x00007fff52448f0c
      RIP=0x00007f4f4b787ad0, EFLAGS=0×0000000000010216, CSGSFS=0×0000000000000033, ERR=0×0000000000000006
      TRAPNO=0x000000000000000e

      Top of Stack: (sp=0x00007fff52448da8)
      0x00007fff52448da8: 00007f4f4b78733d 00007f4f504f9980
      0x00007fff52448db8: 00007f4f4b7873a9 00007f4f504f9980
      0x00007fff52448dc8: 00007f4f4b785a97 00007f4f504f9980
      0x00007fff52448dd8: 00007f4f4b786283 0000000000000001
      0x00007fff52448de8: 00007f4f508c8800 0000000000000002
      0x00007fff52448df8: 00007f4f4b76e5d4 0000000000000000
      0x00007fff52448e08: 0000000000000000 000000007fffffff
      0x00007fff52448e18: 00007f4f502ebe10 0000000000000000
      0x00007fff52448e28: 00007f4f4e7d9621 00007f4f508c8800
      0x00007fff52448e38: 00007f4f50312f30 0000000000000000
      0x00007fff52448e48: 00007f4f4b76f13e 0000000000000000
      0x00007fff52448e58: 00007f4f505ad7b0 00007f4f50312f30
      0x00007fff52448e68: 00007f4f4bdba683 00007f4f50312f30
      0x00007fff52448e78: 00007f4f4ef240a2 00007f4f4bdba670
      0x00007fff52448e88: 0000000000000000 00007f4f4f1cfea0
      0x00007fff52448e98: ffffffff52449018 0000000000000000
      0x00007fff52448ea8: 00007f4f50312f30 00007f4f502b6470
      0x00007fff52448eb8: 0000000000000003 00007f4f4f1cfea0
      0x00007fff52448ec8: 00007f4f5b4844d0 0000000000000000
      0x00007fff52448ed8: 00007f4f4ef24f9d 00000000dcba6a90
      0x00007fff52448ee8: 00007f4f4f1cf7a8 0000000101101050
      0x00007fff52448ef8: 00007f4f4f1cf7e0 00007fff52448f80
      0x00007fff52448f08: 00007f4f4ef4d5e9 00007fff52448f70
      0x00007fff52448f18: 00007f4f50312f30 00007f4f4f1cfea0
      0x00007fff52448f28: 0000000000000000 00007f4f5b4844a0
      0x00007fff52448f38: 00007fff52449018 0000000001100800
      0x00007fff52448f48: 00007f4f4ef25639 00000000e0c5f6a8
      0x00007fff52448f58: 00000000dbff9410 00007fff52448fe8
      0x00007fff52448f68: 0000000000000000 00000000dbff9410
      0x00007fff52448f78: 00007f4f4aec63ee 0000000000000000
      0x00007fff52448f88: 00007f4f571a0d6e 00007fff52448fe0
      0x00007fff52448f98: 00007f4f5bd93b6d 0000000001100800

      Instructions: (pc=0x00007f4f4b787ad0)
      0x00007f4f4b787ab0: 74 24 28 4c 8b 7c 24 30 48 83 c4 38 c3 90 90 90
      0x00007f4f4b787ac0: 48 89 f8 83 07 01 c3 90 90 90 90 90 90 90 90 90
      0x00007f4f4b787ad0: c7 47 04 ff ff ff ff c7 47 08 00 00 00 00 c3 90
      0x00007f4f4b787ae0: 8b 47 08 a8 01 75 06 83 26 fe 8b 47 08 a8 02 75

      Register to memory mapping:

      RAX=0x000000005002ec3f is an unknown value
      RBX=0x00007f4f504f9980 is an unknown value
      RCX=0×0000000000000006 is an unknown value
      RDX=0x00007f4f50312f38 is an unknown value
      RSP=0x00007fff52448da8 is pointing into the stack for thread: 0×0000000001100800
      RBP=0×0000000000000001 is an unknown value
      RSI=0×0000000000000000 is an unknown value
      RDI=0×0000000000000000 is an unknown value
      R8 =0x00007f4f50503c10 is an unknown value
      R9 =0×0000000000000001 is an unknown value
      R10=0×0000000000000001 is an unknown value
      R11=0×0000000000000001 is an unknown value
      R12=0×0000000000000000 is an unknown value
      R13=0x000000007fffffff is an unknown value
      R14=0x00007f4f4f1cfea0: g_threads_got_initialized+0 in /lib/x86_64-linux-gnu/libglib-2.0.so.0 at 0x00007f4f4eee2000
      R15=0x00007fff52448f0c is pointing into the stack for thread: 0×0000000001100800

      Stack: [0x00007fff5234c000,0x00007fff5244c000], sp=0x00007fff52448da8, free space=1011k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libdbus-1.so.3+0x24ad0] double+0×2550

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ)Z+0
      j org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(JZ)Z+9
      j org.eclipse.swt.widgets.Display.readAndDispatch()Z+23
      j com.zecter.ui.ZumoUI.mainLoop()V+46
      j com.zecter.app.Application.start()V+212
      j com.zecter.app.Application.main([Ljava/lang/String;)V+14
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
      0x00000000012b2000 JavaThread "InfoServlet-51" [_thread_blocked, id=8624, stack(0x00007f4f41bb7000,0x00007f4f41cb8000)]
      0x00000000013fb000 JavaThread “InfoServlet-50″ [_thread_blocked, id=8279, stack(0x00007f4f41fbb000,0x00007f4f420bc000)]
      0x00000000013f9800 JavaThread “InfoServlet-49″ [_thread_blocked, id=8278, stack(0x00007f4f426c2000,0x00007f4f427c3000)]
      0x00000000013f8000 JavaThread “InfoServlet-48″ [_thread_blocked, id=8277, stack(0x00007f4f428c4000,0x00007f4f429c5000)]
      0x00000000013f6800 JavaThread “InfoServlet-47″ [_thread_blocked, id=8276, stack(0x00007f4f424c0000,0x00007f4f425c1000)]
      0x00000000013f5000 JavaThread “InfoServlet-46″ [_thread_blocked, id=8275, stack(0x00007f4f422be000,0x00007f4f423bf000)]
      0x00000000013f3800 JavaThread “InfoServlet-45″ [_thread_blocked, id=8274, stack(0x00007f4f41eba000,0x00007f4f41fbb000)]
      0x00000000013f2000 JavaThread “InfoServlet-44″ [_thread_blocked, id=8273, stack(0x00007f4f427c3000,0x00007f4f428c4000)]
      0x0000000001d91000 JavaThread “InfoServlet-43″ [_thread_blocked, id=8272, stack(0x00007f4f41ab6000,0x00007f4f41bb7000)]
      0x0000000001d8f800 JavaThread “InfoServlet-42″ [_thread_blocked, id=8271, stack(0x00007f4f4675f000,0x00007f4f46860000)]
      0x0000000001d8e000 JavaThread “InfoServlet-41″ [_thread_blocked, id=8270, stack(0x00007f4f423bf000,0x00007f4f424c0000)]
      0x0000000001d8d000 JavaThread “InfoServlet-40″ [_thread_blocked, id=8269, stack(0x00007f4f41db9000,0x00007f4f41eba000)]
      0x00000000012b2800 JavaThread “InfoServlet-39″ [_thread_blocked, id=8268, stack(0x00007f4f419b5000,0x00007f4f41ab6000)]
      0x00000000012de800 JavaThread “InfoServlet-37″ [_thread_blocked, id=8179, stack(0x00007f4f4b662000,0x00007f4f4b763000)]
      0x00000000016fa800 JavaThread “InfoServlet-36″ [_thread_blocked, id=8178, stack(0x00007f4f418b4000,0x00007f4f419b5000)]
      0x000000000183e800 JavaThread “InfoServlet-35″ [_thread_blocked, id=8177, stack(0x00007f4f420bc000,0x00007f4f421bd000)]
      0×0000000001845000 JavaThread “InfoServlet-34″ [_thread_blocked, id=8176, stack(0x00007f4f425c1000,0x00007f4f426c2000)]
      0x00000000012b6800 JavaThread “InfoServlet-33″ [_thread_blocked, id=8175, stack(0x00007f4f421bd000,0x00007f4f422be000)]
      0x00000000012b5000 JavaThread “InfoServlet-31″ [_thread_blocked, id=4022, stack(0x00007f4f41cb8000,0x00007f4f41db9000)]