标签:成功 from ble sea node cal The home not
在终端输入
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安装成功后会提示
==> Next steps: - Run `brew help` to get started - Further documentation: https://docs.brew.sh
brew install unrar
出错,原因不明。。。
==> Downloading https://homebrew.bintray.com/bottles/unrar-5.7.5.high_sierra.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/3d/3d5b170619917ee01c311696c457eb1b75310cc13cbe5cc7fc57c37e17c31a44?__gda__=exp=1558401851 curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to akamai.bintray.com:443 Error: Failed to download resource "unrar" Download failed: https://homebrew.bintray.com/bottles/unrar-5.7.5.high_sierra.bottle.tar.gz Warning: Bottle installation failed: building from source. ==> Downloading https://www.rarlab.com/rar/unrarsrc-5.7.5.tar.gz ###### 8.8% curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60 Error: An exception occurred within a child process: DownloadError: Failed to download resource "unrar" Download failed: https://www.rarlab.com/rar/unrarsrc-5.7.5.tar.gz
cd /Users/lisiyi/Documents chmod -R 777 ./
再解压一次,报错unrar not found,说明unrar没安装上。
unrar x Node.rar
-bash: unrar: command not found
查看了一下brew,么得问题。
$ brew Example usage: brew search [TEXT|/REGEX/] brew info [FORMULA...] brew install FORMULA... brew update brew upgrade [FORMULA...] brew uninstall FORMULA... brew list [FORMULA...] Troubleshooting: brew config brew doctor brew install --verbose --debug FORMULA Contributing: brew create [URL [--no-fetch]] brew edit [FORMULA...] Further help: brew commands brew help [COMMAND] man brew https://docs.brew.sh
brew install unrar Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> New Formulae dbmate ==> Downloading https://homebrew.bintray.com/bottles/unrar-5.7.5.high_sierra.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/3d/3d5b170619917ee01c311696c457eb1b75310cc13cbe5cc7fc57c37e17c31a44?__gda__=exp=1558404088 ######################################################################## 100.0% ==> Pouring unrar-5.7.5.high_sierra.bottle.tar.gz ?? /usr/local/Cellar/unrar/5.7.5: 6 files, 520.4KB ==> `brew cleanup` has not been run in 30 days, running now... Pruned 2 symbolic links and 3 directories from /usr/local
就莫名成功了???(Updating Homebrew...的时候要等超级无敌久...)
解压试试
unrar x Node.rar UNRAR 5.71 freeware Copyright (c) 1993-2019 Alexander Roshal Extracting from Node.rar Creating Node OK Creating Node/01-网络基础.assets OK Extracting Node01-网络基础.assets/10.png OK Extracting Node/01-网络基础.assets/11.png OK All OK
虽然现在还不知道为什么。。。
标签:成功 from ble sea node cal The home not
原文地址:https://www.cnblogs.com/cnlisiyiii-stu/p/11627141.html