homebrew

react native安装

倾然丶 夕夏残阳落幕 提交于 2019-12-10 08:05:18
Last login: Wed May 11 21:38:13 on console zcldeMacBook-Air:~ zcl$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ;==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew.1 /usr/local/share/zsh/site-functions/_brew /usr/local/etc/bash_completion.d/brew ==> The following directories will be made group writable: /usr/local/. /usr/local/bin ==> The following directories will have their owner set to zcl: /usr/local/. /usr/local/bin ==> The following directories will

Homebrew install package with a particular version

孤街浪徒 提交于 2019-12-10 05:45:08
问题 Unfortunately on my MAC I am unable to get the gem "rmagick" to install. I've tried pretty much a all the options. I had gotten it to install when I used "imagemagick 6.3.9.7". Therefore, I want to know is there a way to install a particular version of the software using brew ? Something like brew install imagemagick -v 6.3.9.7 回答1: Search for available versions with: brew search imagemagick To install a specific version use this forumla: brew install package@<version> , in your case it's:

在mac上配置Jenkins自动化打包

耗尽温柔 提交于 2019-12-10 05:06:46
之前使用jenkins安装包配置过Jenkins,但是配置好之后因为使用安装包安装的jenkins是在机器上新建的账户,所以在配置证书时比较麻烦,会有权限问题,必须把证书和描述性文件拷贝到jenkins账户下才可以,最近使用brewinstall安装jenkins感觉比较方便,可以共用系统的证书和描述性文件 1.安装之前先检查是否装有Jenkins依赖的java环境, Jenkins依赖的是JDK1.8.xx java -version 如果出现以下信息,则说明已经安装了java,直接进行第3步,若没出现则进行第2步 java version "1.8.0_102" Java(TM) SE Runtime Environment (build 1.8.0_102-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode) 2.安装JDK1.8 JDK1.8下载地址: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 下载后进行安装,安装后进行第1步进行检查是否安装成功 3.检查是否有安装HomeBrew brew -v 若出现以下信息则说明已安装HomBrew

Install older version of Pandoc (<2) using homebrew

拈花ヽ惹草 提交于 2019-12-10 04:19:16
问题 I just re-installed my macOS. Using brew install pandoc I installed Pandoc, and it installed v2, which caused some of my regression tests of a web app to fail. As I'm running an older version on my server (1.16.0.2), I want to install this version on my computer. But sadly, I don't seem to be able to do it with homebrew, as there doesn't seem to be a legacy version available, only the most current one? The brew search command doesn't show any versions: $ brew search pandoc ==> Searching local

How to compile PHP with OpenSSL on OS X 10.9?

自作多情 提交于 2019-12-10 04:10:02
问题 I'm trying to compile PHP 5.6.10 from the source, and I encountered the following problem: Undefined symbols for architecture x86_64: "_PKCS5_PBKDF2_HMAC", referenced from: _zif_openssl_pbkdf2 in openssl.o "_TLSv1_1_client_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o "_TLSv1_1_server_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o "_TLSv1_2_client_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o "_TLSv1_2_server_method", referenced from: _php

MacOS Docker 安装

断了今生、忘了曾经 提交于 2019-12-10 03:49:17
使用 Homebrew 安装 macOS 我们可以使用 Homebrew 来安装 Docker。 Homebrew 的 Cask 已经支持 Docker for Mac,因此可以很方便的使用 Homebrew Cask 来进行安装: $ brew cask install docker ==> Creating Caskroom at /usr/local/Caskroom ==> We'll set permissions properly so we won't need sudo in the future Password: # 输入 macOS 密码 ==> Satisfying dependencies ==> Downloading https://download.docker.com/mac/stable/21090/Docker.dmg ######################################################################## 100.0% ==> Verifying checksum for Cask docker ==> Installing Cask docker ==> Moving App 'Docker.app' to '/Applications/Docker.app'. 🍺 docker

Everytime I upgrade R using homebrew I need to install most packages again

流过昼夜 提交于 2019-12-10 03:41:45
问题 R Packages are installed to /usr/local/Cellar/r/3.1.2_1/R.framework/Versions/3.1/Resources/library Whenever I run brew upgrade r and the version of R changes I need to install most of the libraries again as the path of installation changes. How do I upgrade without having to install everything back again? Edit: I think this answers my question http://stackoverflow.com/questions/1401904/painless-way-to-install-a-new-version-of-r-on-windows 回答1: I put .libPaths("/Users/tim/.R/packages") in my ~

Adding IMAP to PHP 7.2 on OSX

谁说我不能喝 提交于 2019-12-10 03:24:19
问题 I'm using PHP 7.2 on OS X El Capitan, installed using Homebrew (of course). Now I'd like to use some IMAP functions from PHP's IMAP extension, but no matter what I search for, I can't find a way to add the extension on OSX. Some things I've tried... I have, of course, tried the most commonly recommended approach: $ brew reinstall php --with-imap Yet this fails, returning: Warning: php: this formula has no --with-imap option so it will be ignored! Another method, which I found mentioned in

openssl/ssl.h not found but installed with homebrew

半世苍凉 提交于 2019-12-10 02:56:15
问题 I am working on a C++ project on my Mac running El Capitan and I get this error even after installing openssl with Homebrew: g++ -Wall -g -std=c++11 -I../libSocket/src -I../libData/src -c src/fsslhandler.cpp -o obj/fsslhandler.o In file included from src/fsslhandler.cpp:1: In file included from src/fsslhandler.h:8: ../libSocket/src/sslsocket.h:6:10: fatal error: 'openssl/ssl.h' file not found #include <openssl/ssl.h> ^ 1 error generated. make: *** [obj/fsslhandler.o] Error 1 After searching

macbook 上HomeBrew安装与简单使用

风格不统一 提交于 2019-12-10 01:40:55
. 前言 作为从window系统转到linux系统刚开始很多东西一知半解,直到两年后今天拥有自己了Macbook Pro一些存在的迷惑一一解开。大家都很喜欢 (Debian/Ubuntu)系列的apt包管理系统和(Redhat/Fedora)系列的yum包管理系统,包括Windows系统下有多种方便的软件管理工具,如:360软件、QQ管家等多种。 Mac OS X系统下有Macports、Fink包管理系统、包括apple的官方Mac App Store。所以我们在苹果下找到一款比较新的、方便的包管理系统工具,它就是Homebrew。 Homebrew 什么是Homebrew呢?Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with OS X. 官方的解释非常明了,Homebrew是一个包管理器,用于在Mac上安装一些OS X没有的UNIX工具(比如著名的wget)。 Homebrew将这些工具统统安装到了 /usr/local/Cellar 目录中,并在 /usr/local/bin 中创建符号链接。 1:关于homebrew下载地址网上版本很多,我用了好几个都显示 The requested URL returned error :404