ubuntu安装微信 brew cask install electronic-wechat 出错

KingcinLee 2016-05-21 12:07:49
用这个项目https://github.com/geeeeeeeeek/electronic-wechat/blob/master/README_zh.md中的命令
brew cask install electronic-wechat

然后出现以下信息:

kingcinlee@kingcinlee-V5:~$ brew cask install electronic-wechat

========================================================================
You may want to update following environments after installed linuxbrew.

PATH, MANPATH, INFOPATH

(example: /usr/share/doc/linuxbrew-wrapper/examples/profile)
========================================================================
==> This script will install:
/home/kingcinlee/.linuxbrew/bin/brew
/home/kingcinlee/.linuxbrew/Library/...
/home/kingcinlee/.linuxbrew/share/man/man1/brew.1

Press RETURN to continue or any other key to abort
==> Downloading and installing Homebrew...
remote: Counting objects: 353405, done.
remote: Total 353405 (delta 0), reused 0 (delta 0), pack-reused 353404
接收对象中: 100% (353405/353405), 67.68 MiB | 31.00 KiB/s, 完成.
处理 delta 中: 100% (267226/267226), 完成.
来自 https://github.com/Homebrew/linuxbrew
* [新分支] master -> origin/master
HEAD 现在位于 eec5059 Merge branch homebrew/master into linuxbrew/master
Warning: /home/kingcinlee/.linuxbrew/bin is not in your PATH.
==> Installation successful!
==> Next steps
Install the Linuxbrew dependencies:

Debian, Ubuntu, etc.:
`sudo apt-get install build-essential`

Fedora, Red Hat, CentOS, etc.:
`sudo yum groupinstall 'Development Tools'`

See http://brew.sh/linuxbrew/#dependencies for more information.

Run `brew doctor` before you install anything
Run `brew help` to get started
==> Tapping caskroom/cask
正克隆到 '/home/kingcinlee/.linuxbrew/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3658, done.
remote: Compressing objects: 100% (3601/3601), done.
remote: Total 3658 (delta 61), reused 839 (delta 35), pack-reused 0
接收对象中: 100% (3658/3658), 5.96 MiB | 8.00 KiB/s, 完成.
处理 delta 中: 100% (61/61), 完成.
检查连接... 完成。
Tapped 1 formula (3,626 files, 14.0M)
Error: Permission denied @ dir_s_mkdir - /Library
Most likely, this means you have an outdated version of homebrew-cask. Please run:

brew uninstall --force brew-cask; brew untap phinze/cask; brew update; brew cleanup; brew cask cleanup

If this doesn’t fix the problem, please report this bug:

https://github.com/caskroom/homebrew-cask#reporting-bugs

/usr/lib/ruby/2.3.0/fileutils.rb:253:in `mkdir'
/usr/lib/ruby/2.3.0/fileutils.rb:253:in `fu_mkdir'
/usr/lib/ruby/2.3.0/fileutils.rb:227:in `block (2 levels) in mkdir_p'
/usr/lib/ruby/2.3.0/fileutils.rb:225:in `reverse_each'
/usr/lib/ruby/2.3.0/fileutils.rb:225:in `block in mkdir_p'
/usr/lib/ruby/2.3.0/fileutils.rb:211:in `each'
/usr/lib/ruby/2.3.0/fileutils.rb:211:in `mkdir_p'
/usr/lib/ruby/2.3.0/pathname.rb:576:in `mkpath'
/home/kingcinlee/.linuxbrew/Library/Taps/caskroom/homebrew-cask/lib/vendor/homebrew-fork/global.rb:18:in `mkpath'
/home/kingcinlee/.linuxbrew/Library/Taps/caskroom/homebrew-cask/lib/hbc.rb:54:in `init'
/home/kingcinlee/.linuxbrew/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli.rb:120:in `process'
/home/kingcinlee/.linuxbrew/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask.rb:26:in `<top (required)>'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/home/kingcinlee/.linuxbrew/Library/brew.rb:22:in `require?'
/home/kingcinlee/.linuxbrew/Library/brew.rb:90:in `<main>'


出错
Error: Permission denied @ dir_s_mkdir - /Library
不知道怎么解决了
...全文
708 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
KingcinLee 2016-05-25
  • 打赏
  • 举报
回复
依赖不完整。下载依赖并下淘宝CNMP之后就可以下了。

23,124

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧