I can not install on the virtual machine. Ubuntu tree package

enter image description here

  • and if you try sudo apt update ? - Alex Chermenin
  • What repositories do you have connected to? apt-get update; apt-cache search tree apt-get update; apt-cache search tree . On a pinch - get a package from here - packages.ubuntu.com/xenial/tree - MANKK
  • If you are given an exhaustive answer, mark it as correct (a daw opposite the selected answer). - Nicolas Chabanovsky

1 answer 1

By default, the repository in which the package is located tree disabled. To enable it, you need to go to the settings and connect the universe repository:

enter image description here

After that execute:

 sudo apt update sudo apt install tree