6

My ubuntu is running on windows 7 using VMWARE player. I was try to install tree command . but it failed. could you help me why?

I am using "sudo app-get install tree" command and it is failing with

E: unable to locate package tree

Ubuntu version is 14.04 LTS (GNU/Linux 3.13.0-24 generic x86_64)

Regards, Koushik

Tim
  • 33,500
user165062
  • 2,253
  • 3
  • 15
  • 6

1 Answers1

8

Package tree is available in Universe. Check that you have it enabled:

enter image description here

Then just do the usual

$ sudo apt-get update
$ sudo apt-get install tree

All Ubuntu repositories (main, universe, restricted, multiverse) can be enabled by following command:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
Pandya
  • 37,289
Salem
  • 19,864
  • 6
  • 65
  • 90