달력

12

« 2019/12 »

  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  •  
  •  
  •  
  •  



 

 

tree command 설치하기

설치가 되어 있지 않은 경우 아래와 같은 메시지가 오픈됩니다.

osboxes@osboxes:~/testnet$ tree .

Command ; not found, but can be installed with:

sudo snap install tree  # version 3.5, or
sudo apt  install tree

See 'snap info tree' for additional versions.

osboxes@osboxes:~/testnet$

 

 

 

해결방법

osboxes@osboxes:~$ sudo apt-get update
Hit:1
http://ppa.launchpad.net/ethereum/ethereum/ubuntu cosmic InRelease     
Hit:2
http://us.archive.ubuntu.com/ubuntu cosmic InRelease                   
Hit:3
http://us.archive.ubuntu.com/ubuntu cosmic-updates InRelease      
Hit:4
http://us.archive.ubuntu.com/ubuntu cosmic-backports InRelease    
Hit:5
http://security.ubuntu.com/ubuntu cosmic-security InRelease       
Reading package lists... Done
osboxes@osboxes:~$

 

 

osboxes@osboxes:~/testnet$ sudo apt-get install tree
[sudo] password for osboxes:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libncursesw5 libtinfo5
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  tree
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 40.7 kB of archives.
After this operation, 105 kB of additional disk space will be used.
Get:1
http://us.archive.ubuntu.com/ubuntu cosmic/universe amd64 tree amd64 1.7.0-5 [40.7 kB]
Fetched 40.7 kB in 1s (36.0 kB/s)                     
Selecting previously unselected package tree.
(Reading database ... 170539 files and directories currently installed.)
Preparing to unpack .../tree_1.7.0-5_amd64.deb ...
Unpacking tree (1.7.0-5) ...
Setting up tree (1.7.0-5) ...
Processing triggers for man-db (2.8.4-2) ...
osboxes@osboxes:~/testnet$

 

 


Posted by codedragon codedragon

댓글을 달아 주세요