Saturday, January 29, 2011

How to install wget on this?

I did download RubyStack 2.0.3 for VMWare (Ubuntu 9.10) but I cannot download anything on it! It appears that all basic utilities are missing/screwed:

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

Any ideas how can I download anything on this machine? (I don't have physical access to it)

UPDATE

You gotta be kidding me...

bitnami@linux:~$ ftp
-bash: ftp: command not found

bitnami@linux:~$ smbclient
-bash: smbclient: command not found
  • Are your apt repos set up correctly? It's configured in /etc/apt/sources.list.

    More details are here: https://help.ubuntu.com/community/Repositories/CommandLine

    From tekhammer
  • I use debian, not ubuntu, but, the method should be the same

    First, try:

    sudo bash
    apt-get update
    apt-get -f install
    apt-get install wget
    

    Barring that,

    cat /etc/apt/sources.list
    

    Make note of the url prefix after deb

    apt-cache show wget
    

    look for:

    Filename: pool/main/w/wget/wget_1.12-1.1_i386.deb
    

    grab that in your local browser assembling the url portion from /etc/apt/sources.list and the filename portion from apt-cache show. scp the file to your machine,

    dpkg -i wget_whatever.deb
    

    If /etc/apt/sources.list is not set up correctly, try tekhammer's suggestion and then rerun apt-get update.

  • As cd34 mentioned, you need to use the package manager to install those utilities. It is a 'feature' as we try to make the appliances as lightweight as possible. We probably should document it better. Hope you enjoy Bitnami!

0 comments:

Post a Comment