본문 바로가기

프로그래밍

20.04.07) tree 설치하는 법

1. 개요

tree 프로그램 설치하는 방법

brew를 설치한다.

설치 방법

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

이후 아래 추천대로 명령어를 입력한다.

==> Next steps:
- Run `brew help` to get started
- Further documentation: 
    https://docs.brew.sh
- Install the Homebrew dependencies if you have sudo access:
  Debian, Ubuntu, etc.
    sudo apt-get install build-essential
  Fedora, Red Hat, CentOS, etc.
    sudo yum groupinstall 'Development Tools'
  See https://docs.brew.sh/linux for more information.
- Configure Homebrew in your /home/hyunjun/.zprofile by running
    echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >> /home/hyunjun/.zprofile
- Add Homebrew to your PATH
    eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
- We recommend that you install GCC by running:
    brew install gcc
  • brew 설치한 뒤 tree 설치한다.

    brew install tree
  • 사용할 땐 tree라고 쓴다.

에러

  • brew 설치하는 아래 명령어 입력하니 press RETURN ~~이 뜨는데 아무리 엔터를 쳐도 반응을 안함.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  • 대신 아래 명령어를 입력
ruby \
  -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" \
  </dev/null

'프로그래밍' 카테고리의 다른 글

20.04.20) JWT  (0) 2020.04.20
20.02.19) IntelliJ 단축키 및 사용법  (0) 2020.02.19
19.11.03) 컴퓨터의 구성요소와 이진법  (0) 2019.12.13