If Citrix provides a 64-bit client at its linux clients download page (currently here) download and install that. Unfortunately, at the moment (6 Aug 2010) it does not, so you will need to also install 32-bit libraries and make them work with your 64-bit system.
1. Install the 32-bit Citrix client.
1.Install ia32 libraries which are needed during installation
sudo apt-get install ia32-libs
2.Download the linux client tarball (currently here) to some temp dir, e.g. /tmp/citrix
3.Extract the tarball, e.g. (change parameters as necessary)
DOWNLOAD_DIR="/tmp/citrix"
TARBALL_FN="linuxx86-11.0.140395.tar.gz"
pushd ${DOWNLOAD_DIR}
tar xfz ${TARBALL_FN} # add '> /dev/null' for quiet
4.From the download directory, run the text-mode script
sudo ./setupwfc
Take the option to "Install Citrix Receiver", then install to the default directory
/usr/lib/ICAClient
and exit.
Check to see that it created the executable /usr/lib/ICAClient/wfcmgr (and also Applications>Internet>Citrix Receiver, though that's just a link).
Check that /usr/lib/ICAClient/wfcmgr has needed libraries, e.g.
CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
ldd ${CLIENT_EXEC}
You will probably get results like
linux-gate.so.1 => (0xf77a3000)
libXm.so.4 => not found
libXp.so.6 => /usr/lib32/libXp.so.6 (0xf777f000)
libXpm.so.4 => /usr/lib32/libXpm.so.4 (0xf776c000)
libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7763000)
libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7748000)
libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf772f000)
libdl.so.2 => /lib32/libdl.so.2 (0xf772b000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7712000)
libc.so.6 => /lib32/libc.so.6 (0xf75cd000)
libXt.so.6 => /usr/lib32/libXt.so.6 (0xf757a000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf744b000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf743b000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7437000)
libuuid.so.1 => /lib32/libuuid.so.1 (0xf7431000)
/lib/ld-linux.so.2 (0xf77a4000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7413000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf740e000)
Note the not found above. If you don't get one of those, try just running /usr/lib/ICAClient/wfcmgr: if that launches the Citrix Receiver, you're done, and you can probably exit these instructions. If not, proceed to next step.
2. Download and setup needed 32-bit libraries.
1.Download 32-bit libraries (changing parameters in the following as necessary):
SOURCE_DIR="/tmp/motif"
TARGET_DIR="/usr/lib32"
DEB_URI="http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-2_i386.deb"
DEB_FN="$(basename ${DEB_URI})"
DEB_FP="${SOURCE_DIR}/${DEB_FN}"
mkdir -p ${SOURCE_DIR}
mkdir -p ${TARGET_DIR} # should be there already
pushd ${SOURCE_DIR}
wget -O ${DEB_FN} ${DEB_URI}
dpkg -x ${DEB_FN} ${SOURCE_DIR}
sudo cp -r ${SOURCE_DIR}/usr/lib/* ${TARGET_DIR}/
2.Link to 32-bit libraries as needed. E.g., for the error
libXm.so.4 => not found
above, check to see that a similarly-named library exists among your 32-bit libraries, and link to that. E.g.
MISSING_LIB_NAME="libXm.so.4"
MISSING_LIB_BASE="libXm.so"
TARGET_DIR="/usr/lib32"
SOURCE_DIR="/usr/lib"
find ${TARGET_DIR} -name "${MISSING_LIB_BASE}*" | xargs ls -al
sudo ln -s ${TARGET_DIR}/libXm.so.3.0.2 ${TARGET_DIR}/${MISSING_LIB_NAME}
3.Rerun ldd and loop the previous steps until
CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
ERROR_STRING='not found'
ldd ${CLIENT_EXEC} | fgrep -e "${ERROR_STRING}"
produces no output.
3. Run the client from a terminal, e.g.
${CLIENT_EXEC}
If Citrix provides a 64-bit client at its linux clients download page (currently here) download and install that. Unfortunately, at the moment (6 Aug 2010) it does not, so you will need to also install 32-bit libraries and make them work with your 64-bit system.
1. Install the 32-bit Citrix client.
1.Install ia32 libraries which are needed during installation