我已经在我的 Ubuntu 14.04.1 LTS 上免费下载了 CAESES 程序,并将其解压到文件夹中/home/xyz/Programy/CAESES-FFW_3.1.2_Linux.x86_64
。程序开发人员建议使用 bash 来启动该程序。我是 Ubuntu 的新手,从 bash 中我了解到该程序以
file home/xyz/Programy/CAESES-FFW_3.1.2_Linux.x86_64/bin/Linux.x86_64/CAESES-FFW
Type:Program (application/x-executable)
但它不起作用。我很乐意听到任何关于如何启动此程序的分步建议。这是 bash 的内容:
#!/bin/bash
# arch: Linux.x86_64
##### If you want to use a FLOAT LICENSE
##### FLOAT ACCOUNT DATA required only durring first startup!!
##### After first startup, email and password is saved in user cfg file.
#ARGS="-float" #enable, if you want to start in (offline) float mode
#export FS_FLOAT_USER="[email protected]"
#export FS_FLOAT_PASSWORD=yourpassword
# optinal to set the LICID or NotesString
#export FS_FLOAT_LICID=1000
#export FS_FLOAT_LICID=MYFLOATLICENSE
#####
##### LOCAL FLOAT LICENSE
# export FS_LIC_SRV=IPofYOURlicenseSERVER:PORT
##### valid examples
# export FS_LIC_SRV=192.168.25.102
# export FS_LIC_SRV=192.168.25.102:8443
#####
# You can setup the proxy access data via environment,
# this will override the saved settings.
#export FS_PROXY_SERVER=proxy
#export FS_PROXY_PORT=8080
#export FS_PROXY_USER=user
#export FS_PROXY_PASSWORD=passwd
# if you want to try to load the GTK style
#ARGS="$ARGS -gtk"
abspath=$(cd ${0%/*} && echo $PWD/${0##*/})
# to get the path only - not the script name
HERE=`dirname "$abspath"`
export FWORK=${HERE}
if [ -z $FSBASE ] ; then
export FSBASE=${HERE}
fi
export FS_FRAMEWORK_LIB_DIR=${HERE}/lib/Linux.x86_64/
if [ -z $LD_LIBRARY_PATH ] ; then
export LD_LIBRARY_PATH=$FS_FRAMEWORK_LIB_DIR
else
export LD_LIBRARY_PATH=$FS_FRAMEWORK_LIB_DIR:$LD_LIBRARY_PATH
fi
# if you have "missing library" problems, uncomment the next line
# export LD_LIBRARY_PATH=${HERE}/lib/Linux.x86_64/missing_libs/:$LD_LIBRARY_PATH
# please edit THIS line to define your system bus socket used by DBUS
export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket
if [ -z ${FS_FRAMEWORK_LICENSE} ]; then
export HOST=`hostname -s`
[ ! -d ~/.friendship/lic ] && mkdir -p ~/.friendship/lic/
# setup the license location:
# export FS_FRAMEWORK_LICENSE=~/.friendship/lic/${HOST}_fslicense.dat
#
fi
#####
# start the FRIENDSHIP-Framework with the given (script) arguments
${HERE}/bin/Linux.x86_64/CAESES-FFW $ARGS "$@"
#####
exit $?
答案1
进入文件夹
cd /home/.../CAESES-FFW_3.1.2_Linux.x86_64
然后运行二进制文件
./CAESES-FFW
如需更多信息,我建议浏览 CAESES 论坛,该论坛之前曾回答过此问题: http://www.friendship-systems.com/forum/index.php?/topic/103-ubuntu-1204-installation/