当前位置: 首页 > news >正文

刷赞业务推广网站8免费网站建站

刷赞业务推广网站,8免费网站建站,建设网站需要提供什么资料,120平办公室装修设计0 Homebrew是啥#xff1f; “Homebrew installs the stuff you need that Apple didn’t.——Homebrew 使 OS X 更完整”。 Homebrew的官网[1]#xff08;多语言版本#xff09;简单明了地介绍了如何安装和使用这个工具#xff0c;并提供了自己的Wiki。 1 安装Homebrew b…0 Homebrew是啥 “Homebrew installs the stuff you need that Apple didn’t.——Homebrew 使 OS X 更完整”。 Homebrew的官网[1]多语言版本简单明了地介绍了如何安装和使用这个工具并提供了自己的Wiki。     1 安装Homebrew  brew的安装很简单使用一条ruby命令即可Mac系统上已经默认安装了ruby。gerryyangmba:bin$ruby --versionruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]关于安装brew的详细说明可以参考其github上的wiki说明[2] Installation   The suggested and easiest way to install Homebrew is on the homepage. We don’t duplicate it here because it is asecurity risk to list it on a user-editable wiki. The standard script installs Homebrew to /usr/local so that you don’t need sudo when youbrew install. It is acareful script, it can be run even if you have stuff installed to/usr/local already. It tells you exactly what it will do before itdoes it too. And you have to confirm everything it will do before itstarts. There are other ways to install Homebrew which provide you with moreflexibility. They are listed below the requirements. gerryyangmba:~$ruby -e $(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)  It appears Homebrew is already installed. If your intent is to reinstall you  should do the following before running this installer again:        rm -rf /usr/local/Cellar /usr/local/.git  brew cleanup     由于我的系统上已经安装过brew因此再次执行安装命令会提示我brew已经存在。     2 Homebrew的用法  查看brew的具体用法 gerryyangmba:~$brew  Example usage:    brew [info | home | options ] [FORMULA...]    brew install FORMULA...    brew uninstall FORMULA...    brew search [foo]    brew list [FORMULA...]    brew update    brew upgrade [FORMULA...]    brew pin/unpin [FORMULA...]    Troubleshooting:    brew doctor    brew install -vd FORMULA    brew [--env | --config]    Brewing:    brew create [URL [--no-fetch]]    brew edit [FORMULA...]    open https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook    Further help:    man brew    brew home    gerryyangmba:~$       3 Homebrew的有趣问题 下面关于Homebrew的一些常见问题[3] (1) 在OS X中找不到想要的软件可以使用brew安装   gerryyangmba:~$brew install wget   Downloading http://ftpmirror.gnu.org/wget/wget-1.14.tar.gz  ######################################################################## 100.0%   ./configure --prefix/usr/local/Cellar/wget/1.14 --sysconfdir/usr/local/etc   make install  Warning: Could not link wget. Unlinking...  Error: The brew link step did not complete successfully  The formula built, but is not symlinked into /usr/local  You can try again using brew link wget    Possible conflicting files are:  /usr/local/bin/wget  /usr/local/share/man/man1/wget.1   Summary  span stylefont: 13.0px Monaco/usr/local/Cellar/wget/1.14: 8 files, 688K, built in 2.3 minutes/span    由于之前使用源码方式安装过wget因此再用brew安装时会提示冲突的错误因为/usr/locat/bin/wget已经存在。实际上Homebrew 将软件包分装到单独的目录/usr/local/Cellar然后 symlink 到 /usr/local 中。 (2) 如何更新本地已安装的package呢第一步先更新brew brew update gerryyangmba:bin$brew update  Already up-to-date.   第二步更新所有packagebrew upgarde   gerryyangmba:bin$brew upgrade   Upgrading 1 outdated package, with result:  wget 1.15   Upgrading wget   Installing wget dependency: openssl   Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0  ######################################################################## 100.0%   Pouring openssl-1.0.1f.mavericks.bottle.tar.gz   Caveats  This formula is keg-only, so it was not symlinked into /usr/local.    Mac OS X already provides this software and installing another version in  parallel can cause all kinds of trouble.    The OpenSSL provided by OS X is too old for some software.    Generally there are no consequences of this for you. If you build your  own software and it requires this formula, youll need to add to your  build variables:        LDFLAGS:  -L/usr/local/opt/openssl/lib      CPPFLAGS: -I/usr/local/opt/openssl/include     security find-certificate -a -p /Library/Keychains/System.keychain  /usr/l   security find-certificate -a -p /System/Library/Keychains/SystemRootCertific   mv -f /usr/local/etc/openssl/osx_cert.pem.tmp /usr/local/etc/openssl/osx_cer   Summary  /usr/local/Cellar/openssl/1.0.1f: 429 files, 15M   Installing wget   Downloading http://ftpmirror.gnu.org/wget/wget-1.15.tar.gz  ######################################################################## 100.0%   ./configure --prefix/usr/local/Cellar/wget/1.15 --sysconfdir/usr/local/etc --with-sslopenssl --with-libssl-prefix/usr/local/opt/openssl --disable-iri   make install  Warning: Could not link wget. Unlinking...  Error: The brew link step did not complete successfully  The formula built, but is not symlinked into /usr/local  You can try again using brew link wget    Possible conflicting files are:  /usr/local/bin/wget  /usr/local/share/man/man1/wget.1   Summary  /usr/local/Cellar/wget/1.15: 8 files, 700K, built in 73 seconds  gerryyangmba:bin$     (3) 如何删除Homebrew   If you installed to /usr/local then you can use the script in thisgist to uninstall — it will onlyremove Homebrew and the stuff Homebrew installed leaving anything elsein/usr/local alone. Provided you haven’t put anything else in Homebrew’s prefix(brew --prefix), you can generally justrm -rf that directory. Thisis because Homebrew won’t touch files outside its prefix. (4) Homebrew下载的package存放的路径在哪里   gerryyangmba:bin$brew --cache  /Library/Caches/Homebrew  gerryyangmba:bin$ls /Library/Caches/Homebrew/  Formula/                                wget-1.14.tar.gz  coreutils-8.22.tar.xz                  wget-1.15.tar.gz  openssl-1.0.1f.mavericks.bottle.tar.gz  xz-5.0.5.mavericks.bottle.2.tar.gz  gerryyangmba:bin$ls /Library/Caches/Homebrew/Formula/  coreutils.brewing  openssl.brewing  wget.brewing  xz.brewing    gerryyangmba:bin$     (5) 我可以安装自己的stuff在/usr/local吗 Yes, brew is designed to not get in your way so you can use it how youlike. Install your own stuff, but be aware that if you install commonlibraries, like libexpat yourself, it may cause trouble when trying tobuild certain Homebrew formula. As a resultbrew doctor will warn youabout this. Thus it’s probably better to install your own stuff to the Cellar andthen brew link it. Like so:   $ cd foo-0.1 $ brew diy ./configure —prefix/usr/local/Cellar/foo/0.1 $ ./configure —prefix/usr/local/Cellar/foo/0.1 [snip] $ make make install $ brew link foo Linking /usr/local/Cellar/foo/0.1… 17 symlinks created 在我的环境上检测是这样的   gerryyangmba:bin$brew doctor  Warning: Unbrewed dylibs were found in /usr/local/lib.  If you didnt put them there on purpose they could cause problems when  building Homebrew formulae, and may need to be deleted.    Unexpected dylibs:      /usr/local/lib/libboost_atomic.dylib      /usr/local/lib/libboost_chrono.dylib      /usr/local/lib/libboost_context.dylib      /usr/local/lib/libboost_date_time.dylib      /usr/local/lib/libboost_filesystem.dylib      /usr/local/lib/libboost_graph.dylib      /usr/local/lib/libboost_iostreams.dylib      /usr/local/lib/libboost_locale.dylib      /usr/local/lib/libboost_log.dylib      /usr/local/lib/libboost_math_c99.dylib      /usr/local/lib/libboost_math_c99f.dylib      /usr/local/lib/libboost_math_c99l.dylib      /usr/local/lib/libboost_math_tr1.dylib      /usr/local/lib/libboost_math_tr1f.dylib      /usr/local/lib/libboost_math_tr1l.dylib      /usr/local/lib/libboost_prg_exec_monitor.dylib      /usr/local/lib/libboost_program_options.dylib      /usr/local/lib/libboost_python.dylib      /usr/local/lib/libboost_random.dylib      /usr/local/lib/libboost_regex.dylib      /usr/local/lib/libboost_serialization.dylib      /usr/local/lib/libboost_signals.dylib      /usr/local/lib/libboost_system.dylib      /usr/local/lib/libboost_thread.dylib      /usr/local/lib/libboost_timer.dylib      /usr/local/lib/libboost_unit_test_framework.dylib      /usr/local/lib/libboost_wave.dylib      /usr/local/lib/libboost_wserialization.dylib    Warning: Unbrewed static libraries were found in /usr/local/lib.  If you didnt put them there on purpose they could cause problems when  building Homebrew formulae, and may need to be deleted.    Unexpected static libraries:      /usr/local/lib/libboost_atomic.a      /usr/local/lib/libboost_chrono.a      /usr/local/lib/libboost_context.a      /usr/local/lib/libboost_coroutine.a      /usr/local/lib/libboost_date_time.a      /usr/local/lib/libboost_exception.a      /usr/local/lib/libboost_filesystem.a      /usr/local/lib/libboost_graph.a      /usr/local/lib/libboost_iostreams.a      /usr/local/lib/libboost_locale.a      /usr/local/lib/libboost_log.a      /usr/local/lib/libboost_math_c99.a      /usr/local/lib/libboost_math_c99f.a      /usr/local/lib/libboost_math_c99l.a      /usr/local/lib/libboost_math_tr1.a      /usr/local/lib/libboost_math_tr1f.a      /usr/local/lib/libboost_math_tr1l.a      /usr/local/lib/libboost_prg_exec_monitor.a      /usr/local/lib/libboost_program_options.a      /usr/local/lib/libboost_python.a      /usr/local/lib/libboost_random.a      /usr/local/lib/libboost_regex.a      /usr/local/lib/libboost_serialization.a      /usr/local/lib/libboost_signals.a      /usr/local/lib/libboost_system.a      /usr/local/lib/libboost_test_exec_monitor.a      /usr/local/lib/libboost_thread.a      /usr/local/lib/libboost_timer.a      /usr/local/lib/libboost_unit_test_framework.a      /usr/local/lib/libboost_wave.a      /usr/local/lib/libboost_wserialization.a    Warning: You have unlinked kegs in your Cellar  Leaving kegs unlinked can lead to build-trouble and cause brews that depend on  those kegs to fail to run properly once built. Run brew link on these:        wget  gerryyangmba:bin$         (6) 为什么选择Homebrew这个名字mxcl was too concerned with the beer theme and didn’t consider that the project may actually prove popular. By the time he realized it was too late. However, today, the first google hit for “homebrew” is not beer related ;-) 看来作者是个酒鬼(7) 关于更多地QA可以参考Homebrew的Wiki[4]   (8) 一些常用安装推荐   gerryyangmba:bin$brew list  coreutils  openssl  wget  xz   Introduction to Coreutils  The GNU Core Utilities are the basic file, shell and text manipulationutilities of the GNU operating system.These are the core utilitieswhich are expected to exist on every operating system. http://www.gnu.org/software/coreutils/     4 参考 [1] http://brew.sh/index_zh-cn.html[2] https://github.com/Homebrew/homebrew/wiki/Installation[3] https://github.com/Homebrew/homebrew/wiki/FAQ[4] https://github.com/Homebrew/homebrew/wiki转载于:https://www.cnblogs.com/walter371/p/4036343.html
http://www.yutouwan.com/news/183448/

相关文章:

  • 微站直播平台游戏系统网站开发说明书
  • 网络营销推广网站软件著作权和专利的区别
  • 网站建设拟采用的技术路线怎么卖wordpress主题
  • 建立公司网站时什么是重要的wordpress关闭自动保存插件
  • dnf网站上怎么做商人网站开发属于什么部门
  • 迅速网站企业网站开发用什么好
  • 公司支付的网站建设如何入账销售怎样找精准客户
  • 新站整站排名优化火速公司给手机做网站的公司有哪些
  • 建设网站个人简介范文建设监理工程师网站
  • 沧州商城网站开发设计浏览器搜索引擎大全
  • 建设网站的总结免费 wordpress
  • 狼窝网站更新升级通知手机网站怎么设计
  • 网站改版怎么做301电子商务网站建设哪本教材比较适合中等专业学校用
  • 惠州网站制作网站建设和关键词优化技巧
  • 建设足球网站的心得和意义公司网站代码模板下载
  • 电商网站建设需求分析 实例题wordpress ftp帐号
  • 关于网站建设的建议的征集简单网页制作代码html
  • 介绍自己的家乡遵义网站建设泉州网站制作设计
  • 弹幕网站开发代码网站正在建设中永久
  • 做网站去哪里下载素材山东省住房和城乡建设厅网站首页
  • 重庆商城网站开发有关大学生做兼职的网站
  • 做类似淘宝网站多少钱营销型网站设计方针
  • 在线crm网站国际新闻大事
  • 定制网站建设公司电话vitality 中文原创wordpress主题
  • 深圳网站建设外贸公司排名u盘搭建网站开发环境方法
  • sql网站模板一对一视频直播app开发
  • 收录好的博客网站吗企业网站建设定制开发
  • 做个手机网站有必要吗中小学网站建设建议
  • 任房保障和城乡建设局网站深圳网站制作企业邮箱
  • 网站开发学习什么最好看的2018中文在线观看