运行Ubuntu 14.04 64bit。 我从项目网站下载了68MB的.sh文件。 当我用sudo运行文件时,我得到以下输出:
ben@tardis:~$ sudo ./teampostgresql_ubuntu.sh Unpacking JRE ... Preparing JRE ... ./teampostgresql_ubuntu.sh: 256: ./teampostgresql_ubuntu.sh: bin/unpack200: not found Error unpacking jar files. Aborting. You might need administrative priviledges for this operation.
我试过安装openjdk-7-jre-headless但这没有帮助。 项目页面没有列出任何依赖关系,所以我不确定在这里做什么。 我也尝试在root shell中运行,没有区别。
这是32位系统的软件包
如果你使用64位系统,然后安装32位库
在Ubuntu 13.10之前
sudo apt-get install ia32-libs
在Ubuntu 14.04之后
sudo dpkg –add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc ++ 6:i386
用于控制台模式
teampostgresql_ubuntu.sh -c