mac tree工具安装 总结
2017-05-02 11:58
357 查看
tree工具的安装主要参照下面的链接
OS X equivalent of the Ubuntu “tree” command
方法有两种:
一、直接源码编译
首先从tree中下载源码,修改Makefile,将下列注释打开
# Uncomment for OS X:
CC=cc
CFLAGS=-O2 -Wall -fomit-frame-pointer -no-cpp-precomp
LDFLAGS=
MANDIR=/usr/share/man/man1
OBJS+=strverscmp.o然后make编译,就能生成tree工具,将tree移到~/bin/下面
export PATH=~/bin:$PATHtree就可以使用了
二、工具下载
可以使用mac中的管理工具,如下三个
$brew install tree
$sudo port install tree
$fink install tree
OS X equivalent of the Ubuntu “tree” command
方法有两种:
一、直接源码编译
首先从tree中下载源码,修改Makefile,将下列注释打开
# Uncomment for OS X:
CC=cc
CFLAGS=-O2 -Wall -fomit-frame-pointer -no-cpp-precomp
LDFLAGS=
MANDIR=/usr/share/man/man1
OBJS+=strverscmp.o然后make编译,就能生成tree工具,将tree移到~/bin/下面
$mv tree ~/bin/在.bash_profile中加入下列代码
export PATH=~/bin:$PATHtree就可以使用了
二、工具下载
可以使用mac中的管理工具,如下三个
$brew install tree
$sudo port install tree
$fink install tree
相关文章推荐
- grunt-mac上安装运行构建工具的总结(一)
- Mac下安装配置Git和Git UI工具SourceTree
- 【Android测试工具】03. ApkTool在Mac上的安装和使用
- [总结贴]虚拟机安装MAC OS X 10.10
- mac系统下安装tomcat,并启动。ideaIU工具的使用
- Mac OS X 安装 brew 工具!
- 网站扫描工具paros proxy(v3.2.13)安装与使用总结
- mac下使用brew安装maven并使用mvn dependency:tree,mvn spring-boot:run --debug命令运行spring boot
- mac下使用brew安装maven并使用mvn dependency:tree,mvn spring-boot:run --debug命令运行spring boot
- mac下使用brew安装maven并使用mvn dependency:tree,mvn spring-boot:run --debug命令运行spring boot
- Mac os X 里安装pear安装包管理工具
- Mac上使用命令行安装brew,并通过brew安装Ant等工具
- 苹果系统 Mac OS X Yosemite 正式版安装程序镜像下载 (10.10 新功能特性总结)
- 【总结】在VirtualBox上面安装Mac的注意事项
- 安装MAC系统必备工具
- vmware9安装centos和Mac经验总结
- Mac下PHP依赖管理工具Composer下载与安装
- Mac下PHP依赖管理工具Composer下载与安装
- Oracle安装不完全后使用自带工具调整(Net Manager,Net Configuration Assistant)的相关总结