我确实下载了
RubyStack 2.0.3 for VMWare (Ubuntu 9.10),但我无法下载任何内容!似乎所有基本实用程序都丢失/搞砸了:
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,但是,方法应该是相同的
原文链接:https://www.f2er.com/ubuntu/348884.html第一次尝试:
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 show中的文件名部分. scp文件到你的机器,
dpkg -i wget_whatever.deb
如果未正确设置/etc/apt/sources.list,请尝试tekhammer的建议,然后重新运行apt-get update.