Page 1 of 2 12 LastLast
Results 1 to 10 of 57

Thread: HOWTO: Install LDOCE5 on Ubuntu 64-bit

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Location
    Nijmegen, The Netherlands
    Beans
    333
    Distro
    Ubuntu Development Release

    HOWTO: Install LDOCE5 on Ubuntu 64-bit

    After spending some time I managed to install the Longman Dictionary of Contemporary English 5th edition (LDOCE5) on Ubuntu 9.10 (Karmic Koala) 64-bit and I want to share my experience.

    On the cd there is a file LINUX_README.txt which says that if you want to launch the installer in graphical mode you have to install libgtk1.2. libgtk1.2 is not available in Karmic (see https://bugs.launchpad.net/ubuntu/+s....2/+bug/478219) and although there are ways to install it (e.g. http://www.rabbnix.com/vb/showthread.php?t=979), it is easier to install it from the console.

    According to http://pearsonsupport.helpserve.com/...barticleid=115, LDOCE5 should work on Ubuntu 9.04+ on both architectures. However, when I tried to run linux/setup.sh, I got following error:
    The setup program seems to have failed on amd64/glibc-2.1

    Fatal error, no tech support email configured in this setup
    After investigating the script setup.sh I noticed that it determines the architecture (amd64 or x86), and it uses that value to construct a path to the actual installer, e.g. linux/setup.data/bin/Linux/x86/setup. However, there is no linux/setup.data/bin/Linux/amd64/ directory.

    UPDATE: I found an easier way to make the installer work than the one described on the next paragraph. Just run from the linux directory
    Code:
    linux32 ./setup.sh
    Since I had nothing to lose, I though about executing the installer for the x86 version. So I copied the whole cd to the hard disk, and renamed ldoce5/linux/setup.data/bin/Linux/x86/ to ldoce5/linux/setup.data/bin/Linux/amd64/. Then I ran ldoce5/linux/setup.sh (after adding execute permission to setup.sh). A terminal-based installer launched with the message "You are running an x86 machine with glibc-2.1", I pressed OK, then I agreed with the licence and chose the instalation directory. Then the installer did it's work.

    I went to the directory where it installed the dictionary and with my fingers crossed I run ldoce5. To my surprise it worked!

    Most things work fine: sounds, links, nice fonts. The only problem I found is that on the "Teacher Resouces" section, the links to the pdfs do not work, however, they can be directly accessed in ldoce5/chrome/ldoce5/pdfs.

    UPDATE 2:
    .It also works on Ubuntu 10.04 and 10.10.

    .You need the Adobe Flash Plugin, otherwise sound will not work. It's also recommended to have Pulse Audio.

    .If you want to back it up, besides the installation directory backup the .font directory (optional), and the file ~/.macromedia/Flash_Player/#Security/FlashPlayerTrust/ldoce5.cfg, which only contains the path to the ldoce5 installation, for instance, /usr/share/ldoce5/. If you don't have this file you will be able to open the program but when you click on the main menu nothing will happen. You can create it yourself if you don't have it.

    .This made me realize that to if you want to execute through wine a version that has been installed in Windows, all you need to do is add the executable to the allowed applications on wine's flash. The result is not the same, it flickers more, but you can save 2.5 GB of space.

    UPDATE 3:
    The Copy button at the top does not work, neither does Ctrl-c. To copy some text, select it and press Ctrl-Insert.
    Last edited by eltama; March 26th, 2011 at 07:27 PM.

  2. #2
    Join Date
    Feb 2010
    Beans
    1

    Re: HOWTO: Install LDOCE5 on Ubuntu 64-bit

    Hi, thank you for sharing your experience, I ve been looking for solutions to install LDOCE on ubuntu 9.10, now it seems i have found it.
    Can you please explain in an easier way how to make it run?
    thank you

  3. #3
    Join Date
    Jun 2008
    Location
    Vietnam
    Beans
    8
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Install LDOCE5 on Ubuntu 64-bit

    Hi eltama,

    Thank you very much for your sharing. I think it is very easy to understand pietro-23. Just try to open setup.sh and see

    Code:
    vi ./linux/setup.sh
    Best regards,

  4. #4
    Join Date
    Jan 2010
    Location
    Czech republic
    Beans
    17
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Install LDOCE5 on Ubuntu 64-bit

    Hi Eltama,

    thanks you very much, your post was extremely helpful for me. I also have Ubuntu Karmic 64bit. However, I have LDOCE4_2 , so I had to modify your solution a little.
    I posted detailed description here : http://ubuntuforums.org/showthread.p...86#post9094386

    Cheers

  5. #5
    Join Date
    Jul 2007
    Location
    Nijmegen, The Netherlands
    Beans
    333
    Distro
    Ubuntu Development Release

    Re: HOWTO: Install LDOCE5 on Ubuntu 64-bit

    I'm happy to see that it's been helpful. Sorry for not replying, I forgot to subscribe to this thread, but I've done it now.

  6. #6
    Join Date
    Apr 2006
    Location
    Sri Lanka
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Install LDOCE5 on Ubuntu 64-bit

    This is a really cool hack. I used it for Oxford ALD and it works.
    Was thinking of installing gtk1.2 and stuff, and then found this thread.

    thanks eltama !!!

  7. #7
    Join Date
    May 2010
    Location
    Sydney
    Beans
    8
    Distro
    Ubuntu Development Release

    Re: HOWTO: Install LDOCE5 on Ubuntu 64-bit

    Thank you for the post.

    Recently I got a new Dell Latitude E6410 and installed Ubuntu 10.10 x86_64. After data migration (easy shot using tar & netcat & untar ^^), I found the LDOCE5 setup script doesn't work on 64-bit Linux due to the same error.

    Your tip really helped to work around the issue

    I just copied the linux and ldoce5.data folder to the HDD and renamed the ldoce5/linux/setup.data/bin/x86 to amd64 and it worked.

    I've been stuck with uninstalling ldoce5 on one of my arch linux installation with error "Could not find a usable uninstall program. Aborting." I did something similar, looked into the uninstall scripts in the installation folder and was able to manually uninstall completely.

    It's the same path construction problem.

    Code:
    if which loki-uninstall 2> /dev/null > /dev/null || type -p loki-uninstall 2> /dev/null > /dev/null; then
    UNINSTALL=loki-uninstall
    else
    UNINSTALL="$HOME/.loki/installed/bin/`DetectOS`/`DetectARCH`/uninstall"
    if test ! -x "$UNINSTALL" ; then
    echo Could not find a usable uninstall program. Aborting.
    exit 1
    fi
    fi
    "$UNINSTALL" -L ldoce5 "/usr/local/ldoce5/.manifest/ldoce5.xml" "$1"
    This /usr/local/ldoce5/.manifest/scripts/preun.sh can be used as reference to manually uninstall ldoce5.

    I have to say LDOCE5 rocks, works perfectly on all OS (Mac, Linux and Windows), unified UI (thanks to Mozilla framework). But some minor issues with their scripts LOL

  8. #8
    Join Date
    Jul 2007
    Location
    Nijmegen, The Netherlands
    Beans
    333
    Distro
    Ubuntu Development Release

    Re: HOWTO: Install LDOCE5 on Ubuntu 64-bit

    Quote Originally Posted by terrywang View Post
    Thank you for the post.

    Recently I got a new Dell Latitude E6410 and installed Ubuntu 10.10 x86_64. After data migration (easy shot using tar & netcat & untar ^^), I found the LDOCE5 setup script doesn't work on 64-bit Linux due to the same error.

    Your tip really helped to work around the issue

    I just copied the linux and ldoce5.data folder to the HDD and renamed the ldoce5/linux/setup.data/bin/x86 to amd64 and it worked.

    I've been stuck with uninstalling ldoce5 on one of my arch linux installation with error "Could not find a usable uninstall program. Aborting." I did something similar, looked into the uninstall scripts in the installation folder and was able to manually uninstall completely.

    It's the same path construction problem.

    Code:
    if which loki-uninstall 2> /dev/null > /dev/null || type -p loki-uninstall 2> /dev/null > /dev/null; then
    UNINSTALL=loki-uninstall
    else
    UNINSTALL="$HOME/.loki/installed/bin/`DetectOS`/`DetectARCH`/uninstall"
    if test ! -x "$UNINSTALL" ; then
    echo Could not find a usable uninstall program. Aborting.
    exit 1
    fi
    fi
    "$UNINSTALL" -L ldoce5 "/usr/local/ldoce5/.manifest/ldoce5.xml" "$1"
    This /usr/local/ldoce5/.manifest/scripts/preun.sh can be used as reference to manually uninstall ldoce5.

    I have to say LDOCE5 rocks, works perfectly on all OS (Mac, Linux and Windows), unified UI (thanks to Mozilla framework). But some minor issues with their scripts LOL
    Thanks for your tip!

  9. #9
    Join Date
    May 2010
    Location
    Sydney
    Beans
    8
    Distro
    Ubuntu Development Release

    Re: HOWTO: Install LDOCE5 on Ubuntu 64-bit

    BTW: I have to manually mount the LDOCE5 DVD, it won't mount automatically like other CD/DVDs, not sure why.

    Code:
    mount -t iso9660 /dev/dvd /media/cdrom
    Anyway manual labor works. In case other Ubuntu dudes run into the same problem.

  10. #10
    Join Date
    May 2009
    Location
    Esfahan - Iran
    Beans
    15
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Install LDOCE5 on Ubuntu 64-bit

    HI
    I use Archlinux 64 Bit
    I want to execute it but I receive an Error like this

    Code:
    [eman@eMan-PC linux]$ linux32 ./setup.sh
    ./setup.sh: line 201: /home/eman/.setup15066: No such file or directory
    ./setup.sh: line 201: /home/eman/.setup15066: No such file or directory
    The setup program seems to have failed on x86/glibc-2.1
    
    Fatal error, no tech support email configured in this setup
    what can I do ?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •