我没有下载用于VMWare(Ubuntu 9.10)的RubyStack 2.0.3,但我无法下载任何东西! 看来,所有基本的公用事业缺失/拧紧:
bitnami@linux:/var/tmp$ wget -bash: wget: command not found bitnami@linux:/var/tmp$ curl curl: error while loading shared libraries: libcurl.so.4: cannot open shared obj ect file: No such file or directory bitnami@linux:/var/tmp$ man wget -bash: man: command not found bitnami@linux:/var/tmp$ sudo apt-get install wget [sudo] password for bitnami: Reading package lists… Done Building dependency tree Reading state information… Done E: Couldn't find package wget
任何想法如何在这台机器上下载任何东西? (我没有物理访问它)
UPDATE
你得开玩笑吧
bitnami@linux:~$ ftp -bash: ftp: command not found bitnami@linux:~$ smbclient -bash: smbclient: command not found
我使用debian,而不是Ubuntu,但方法应该是一样的
第一次尝试:
sudo bash apt-get update apt-get -f install apt-get install wget
除此之外,
cat /etc/apt/sources.list
在deb之后记下url前缀
apt-cache show wget
寻找:
Filename: pool/main/w/wget/wget_1.12-1.1_i386.deb
抓住你的本地浏览器从/etc/apt/sources.list中的url部分和apt-cache显示的文件名部分。 scp文件到你的机器上,
dpkg -i wget_whatever.deb
如果/etc/apt/sources.list设置不正确,请尝试tekhammer的build议,然后重新运行apt-get更新。
正如cd34提到的,你需要使用包pipe理器来安装这些工具。 这是一个“function”,因为我们试图使设备尽可能轻量级。 我们可能应该更好地logging它。 希望你喜欢Bitnami!
我正在使用Ubuntu 12.04和我刚才有同样的问题,其中显示命令wget找不到的sh和bash脚本。 对我来说,解决scheme只是把wget的完整path如下所示:
/usr/bin/wget "http://my-url-here"
代替
wget "http://my-url-here"