Install socat on Mac OSX
2017-05-30 11:08
1521 查看
About the App
App name: socatApp description: netcat on steroids
App website: http://www.dest-unreach.org/socat/
Install the App
Press Command+Spaceand
type Terminal and press enter/return key.
Run in Terminal app:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
MikedeMacBook-Pro:~ mike_lee$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/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
/usr/local/Homebrew
Press RETURN to continue or any other key to abort
==> Downloading and installing Homebrew...
remote: Counting objects: 6205, done.
remote: Compressing objects: 100% (3795/3795), done.
remote: Total 6205 (delta 3540), reused 4107 (delta 2217), pack-reused 0
Receiving objects: 100% (6205/6205), 3.54 MiB | 9.00 KiB/s, done.
Resolving deltas: 100% (3540/3540), done.
From https://github.com/Homebrew/brew
* [new branch] master -> origin/master
* [new tag] 0.1 -> 0.1
* [new tag] 0.2 -> 0.2
* [new tag] 0.3 -> 0.3
* [new tag] 0.4 -> 0.4
* [new tag] 0.5 -> 0.5
* [new tag] 0.6 -> 0.6
* [new tag] 0.7 -> 0.7
* [new tag] 0.7.1 -> 0.7.1
* [new tag] 0.8 -> 0.8
* [new tag] 0.8.1 -> 0.8.1
* [new tag] 0.9 -> 0.9
* [new tag] 0.9.1 -> 0.9.1
* [new tag] 0.9.2 -> 0.9.2
* [new tag] 0.9.3 -> 0.9.3
* [new tag] 0.9.4 -> 0.9.4
* [new tag] 0.9.5 -> 0.9.5
* [new tag] 0.9.8 -> 0.9.8
* [new tag] 0.9.9 -> 0.9.9
* [new tag] 1.0.0 -> 1.0.0
* [new tag] 1.0.1 -> 1.0.1
* [new tag] 1.0.2 -> 1.0.2
* [new tag] 1.0.3 -> 1.0.3
* [new tag] 1.0.4 -> 1.0.4
* [new tag] 1.0.5 -> 1.0.5
* [new tag] 1.0.6 -> 1.0.6
* [new tag] 1.0.7 -> 1.0.7
* [new tag] 1.0.8 -> 1.0.8
* [new tag] 1.0.9 -> 1.0.9
* [new tag] 1.1.0 -> 1.1.0
* [new tag] 1.1.1 -> 1.1.1
* [new tag] 1.1.10 -> 1.1.10
* [new tag] 1.1.11 -> 1.1.11
* [new tag] 1.1.12 -> 1.1.12
* [new tag] 1.1.13 -> 1.1.13
* [new tag] 1.1.2 -> 1.1.2
* [new tag] 1.1.3 -> 1.1.3
* [new tag] 1.1.4 -> 1.1.4
* [new tag] 1.1.5 -> 1.1.5
* [new tag] 1.1.6 -> 1.1.6
* [new tag] 1.1.7 -> 1.1.7
* [new tag] 1.1.8 -> 1.1.8
* [new tag] 1.1.9 -> 1.1.9
* [new tag] 1.2.0 -> 1.2.0
* [new tag] 1.2.1 -> 1.2.1
HEAD is now at 744e7dd Merge pull request #2679 from MikeMcQuaid/parallel-rubocop
==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': SSLRead() return error -9806
Error: Failure while executing: git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
--depth=1
Error: Failure while executing: /usr/local/bin/brew tap homebrew/core
Failed during: /usr/local/bin/brew update --force
MikedeMacBook-Pro:~ mike_lee$
and press enter/return key. Wait for the command to finish.
Run:
brew install socat
Done! You can now use
socat.
Homebrew
===================================
brew 又叫Homebrew,是Mac OSX上的软件包管理工具,能在Mac中方便的安装软件或者卸载软件, 只需要一个命令, 非常方便brew类似ubuntu系统下的apt-get的功能
阅读目录
安装brew
使用brew安装软件
使用brew卸载软件
使用brew查询软件
其他brew命令
安装brew
brew 的官方网站: http://brew.sh/ 在官方网站对brew的用法进行了详细的描述安装方法: 在Mac中打开Termal: 输入命令:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"[/code]
不知道为什么, 在国内经常被屏蔽一个命令就搞定了, 比如安装git
使用brew安装软件brew install git
比如安装wgetbrew install wget
卸载更方便了
使用brew卸载软件brew uninstall wget
有时候,你不知道你安装的软件的名字, 那么你需要先搜索下, 查到包的名字。
使用brew查询软件
比如我要安装brew search /wge*/
/wge*/是个正则表达式, 需要包含在/中
brew list 列出已安装的软件
其他brew命令
brew update 更新brew
brew home 用浏览器打开brew的官方网站
brew info 显示软件信息
brew deps 显示包依赖
相关文章推荐
- How to Install mcrypt for php on Mac OSX Lion 10.8 & 10.7 Development Server
- Install mpv on Mac OSX
- Install liblinear on Mac OSX
- Install mcrypt for php on Mac OSX 10.10 Yosemite for a Development Server
- Install upx on Mac OSX
- How To Install Maven On Mac OSX
- Install Ansible on Mac OSX
- Install ideviceinstaller on Mac OSX
- Install ideviceinstaller on Mac OSX
- Install OpenCV 2 on Mac OSX
- ImageMagick and JMagick install on Mac OSX
- Install MongoDB driver for PHP on XAMPP for Mac OSX
- 在OSX狮子(Lion)上安装MYSQL(Install MySQL on Mac OSX)
- How to install YAWS on Mac OSX
- How to install Maven on Mac OSX
- Install JD-GUI on Mac OSX
- Install Redis Desktop Manager on Mac OSX
- 在OSX狮子(Lion)上安装MYSQL(Install MySQL on Mac OSX)
- Install nmap on Mac OSX
- Maven, JAVA_HOME is not defined correctly on Mac OSX