Elecraft K* Software in Linux

If you are running Linux (in this case Ubuntu) - and want to use the Elecraft official update software this is how to get going.

Ubuntu 14 64 Bit install

This is starting from an Ubuntu 14 Workstation with only Python Dev installed on it.

    mkdir kx3
    cd kx3
    wget http://www.elecraft.com/software/KX3/KX3UtilityLINUX_1_14_4_11.tgz
    tar -zxvf KX3UtilityLINUX_1_14_4_11.tgz
    cd kx3util_1_14_4_11

You can try and run it - but as I am on a 64 Bit linux this will fail (Yours will fail also)

./kx3util  .... ./bash not found

32 Bit needed

So we need some 32bit libs...

sudo apt-get install  lib32z1

Now try again

./kx3util

I see this

./kx3util
./kx3util: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Ok - so we need that lib

sudo apt-get install lib32stdc++6

Try Again

We try again

./kx3util

Now I get

Failed to find/load Framework library
/home/tim/kx3/kx3util_1_14_4_11/./RBGUIFramework.so: cannot open shared object file: No such file or directory

I need to check what other libs are needed

ldd kx3util\ Libs/RBGUIFramework.so

    linux-gate.so.1 =>  (0xf773e000)
    libgtk-x11-2.0.so.0 => not found
    libgdk-x11-2.0.so.0 => not found
    libatk-1.0.so.0 => not found
    libgdk_pixbuf-2.0.so.0 => not found
    libpangocairo-1.0.so.0 => not found
    libfontconfig.so.1 => not found
    libXext.so.6 => not found
    libXrender.so.1 => not found
    libXinerama.so.1 => not found
    libXi.so.6 => not found
    libXrandr.so.2 => not found
    libXcursor.so.1 => not found
    libXfixes.so.3 => not found
    libpango-1.0.so.0 => not found
    libcairo.so.2 => not found
    libX11.so.6 => not found
    libgobject-2.0.so.0 => not found
    libgmodule-2.0.so.0 => not found
    libdl.so.2 => /lib32/libdl.so.2 (0xf746d000)
    libglib-2.0.so.0 => not found
    libgthread-2.0.so.0 => not found
    libpthread.so.0 => /lib32/libpthread.so.0 (0xf7450000)
    libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7368000)
    libm.so.6 => /lib32/libm.so.6 (0xf7322000)
    libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7305000)
    libc.so.6 => /lib32/libc.so.6 (0xf7159000)
    /lib/ld-linux.so.2 (0x5659b000)

Yikes lots of NOT Found ....

So more packages needed

sudo apt-get install libgtk:386

Now make a symbolic link (or Two)

ln -s  kx3util\ Libs/RBGUIFramework.so RBGUIFramework.so

Cold Beer Time ?

Final try

./kx3util

And - cheers :)