I just setup Metasploitable 2 on VMware Fusion. I downloaded the image from here. I've booted it up and everything and can navigate around but would like to run a apt-get install update and possible be able to install additional packages through using the apt-get function later on if I need too. However, it's not letting me run the command. Here are a few examples of what i'm talking about.
Here i'm running..
apt-get install git
Here i'm trying to do a simple update. Maybe there isn't anything to update but I would think there would be something..
apt-get update
Here i'm just trying to install a simple command called tree...
apt-get install tree
Don't understand what is going on. I do have a connection because i can ping google.com for instance. I've looked up documentation on installing Metasploitable 2 but everything seems outdated and as a result several steps pertaining to those documents just don't work since their outdated. Is there any documentation out there that someone could point me too to finish setting up this image. All i want to do is use it as a target so probably don't need to do much else. However, i'm new to VMware and especially Metasploitable 2 so if anyone has any suggestions on additional steps I need to complete in configuring any settings please let me know.
apt-cache search <package>
first? Considering its intentionally left vulnerable, I'd guess they don't really expect you to update or install new software. In short. I suspect this is entirely by design. Use a real distro for actual work ;p