`

install MacPorts

    博客分类:
  • mac
阅读更多

http://www.macports.org/install.php
Mac OS X Package (.pkg) Installer

The easiest way to install MacPorts on a Mac OS X system is by downloading the dmg for Snow Leopard, Leopard or Tiger and running the system's Installer by double-clicking on the pkg contained therein,
    following the on-screen instructions until completion.

This procedure will place a fully-functional and default MacPorts installation on your host system, ready for usage.
    If needed your shell configuration files will be adapted by
    the installer to include the necessary settings to run MacPorts and the programs it installs, but you may need to
    open a new shell for these changes to take effect.

The MacPorts “selfupdate” command will also be run for you by the installer to ensure you have our
    latest available release and the latest revisions to the “Portfiles” that contain the instructions employed
    in the building and installation of ports. After installation is done, it is recommended that you run this step manually
    on a regular basis to to keep your MacPorts system always current:

sudo port -v selfupdate
sudo port -d selfupdate

At this point you should be ready to enjoy MacPorts!

Type “man port” at the command line prompt and/or browse over to our Guide to find out more information about using MacPorts. Help is also available.
    

http://guide.macports.org/#installing.macports

2.3. Install MacPorts

If you are using Mac OS X, you should install MacPorts using the Mac OS X package installer unless you do not wish to install it to  /opt/local/ , the default MacPorts location, or if you wish to install a pre-release version of MacPorts base. However, if you wish to  install multiple copies of MacPorts   or install MacPorts on another OS platform, you must  install MacPorts from the source code .

Note

Though a distinction is made between pre-release and release versions of MacPorts base, the ports collection supports no such distinction or versioning. The  selfupdate   command installs the latest port revisions from subversion (at a slight delay), and updates MacPorts base to the latest released version.

The Mac OS X package installer automatically installs MacPorts,  sets the shell environment , and runs a  selfupdate   operation to update the ports tree and MacPorts base with the latest release.

  1. Download the latest  MacPorts-1.x.x.dmg   disk image (whose name does not contain -beta or -rc) from the  MacPorts download directory .

  2. Double-click the  MacPorts-1.x.x.pkg   package installer on the disk image.

  3. Perform the default  easy   install.





http://distfiles.macports.org/MacPorts/

MacPorts-1.9.2-10.6-SnowLeopard.dmg

ubuntu与mac下实现同一功能的软件包名称有所差异 
sudo apt-get install libncurses5-dev libreadline5-dev               correct
sudo port install libncurses5-dev libreadline5-dev
Error: Port libncurses5-dev not found

分享到:
评论

相关推荐

    MacPorts-2.3.3-10.10-Yosemite.pkg

    官网地址是:https://www.macports.org/install.php,该MacPorts是2.3.3版本的,适用于OS X 10.10系统

    concurrentlua 1.0.5 for macports 安装包

    concurrentlua 1.0.5 支持lua 5.1,针对macports配置好了的,直接执行下面命令安装即可 make make install

    macports-ports:MacPorts端口树

    在终端中,输入sudo port install 诊断问题 尝试sudo port diagnose 查看“和“以查看是否提到了您的问题,然后以查看是否有未解决的故障单。 在我们的邮件列表或通过IRC上获得更多帮助: : 文献资料 见man ...

    macports-gsoc2018-webapp:MacPorts GSoC 2018年

    欢迎使用MacPorts Webapp。 这个想法是创建一个最终的Web应用程序,以显示有关特定端口的这些信息(例如: : ): 港口信息 所有端口信息将存储在端口表中。 构建历史/摘要 尽可能存储所有历史记录。 安装统计 ...

    reproducible-macports:使MacPorts具有可复制性,并适合在基于git的构建过程中使用

    可复制的macports 这个简单的包装程序使复制性,并适合用作更广泛的git树的一部分,因此...# Install reproducible-macports git submodule add https://github.com/raphaelcohn/reproducible-macports.git ./reproduc

    my-macports

    我的MacPorts存储库 设置 1.获取 git clone https://github.com/rsky/my-macports.git 2.编制索引 cd my-macports/ports && portindex 3.激活 要激活此端口存储库,请在/opt/local/etc/... sudo port -s install peg

    macports.github.io:MacPorts网站的新闻发布

    macports.github.io 该存储库包含可从获得的新闻文章。在本地测试更改在推送之前,您应该在本地测试对网站的任何更改。 在终端中, cd到克隆的根目录。安装Ruby,bundler和GitHub Pages gem 确保您拥有Ruby 2.2.2或...

    mac ports OSX10.9

    mac ports as a tools like apt-get install

    node-odbc:节点的 ODBC 绑定

    使用 macports.org sudo port unixODBC 使用 brew brew install unixODBC 在 FreeBSD 上从端口cd /usr/ports/databases/unixODBC; make install cd /usr/ports/databases/unixODBC; make install 在 IBM i yum ...

    node-makensis:用于makensis的Node包装器,NSIS编译器

    马克西斯 用于makensis的Node包装器,用于NSIS安装程序的编译器。 同时支持native和 。 先决条件 ...# MacPorts $ port install nsis 葡萄酒 您可以在Wine环境中设置NSIS,但请记住,Wine在执行mak

    oh-my-vim:我的vim配置

    使用MacPorts port install ctags Linux 要安装ctags,请使用您的软件包管理器。 对于基于Debian的系统(Ubuntu,Mint等): sudo apt-get install exuberant-ctags 对于基于Red Hat的系统(Red Hat,Fedora,...

    cloudlet-api

    入门使用以下命令安装模块: npm install git+ssh://git@gitlab.peat-platform.org:cloudlet_api.git 您将需要通过macports或aptitude安装以下软件。 sudo port install JsCoveragesudo port install phantomjs 或者...

    linphone-iphone:这是我的 linphone-iphone 的副本。 使用 https

    brew install imagemagick 使用 MacPorts: sudo port install ImageMagick optipng 系统链接 对于这部分,我们假设LOCAL_BIN_DIR设置如下,具体取决于您使用的工具: 对于 MacPorts: LOCAL_BIN_DIR=/opt/local...

    cloudlet-api:用于 Cloudlets 的 Openi API

    您将需要通过 macports 或 aptitude 安装以下内容。 sudo port install JsCoverage sudo port install phantomjs 或者 sudo apt-get install JsCoverage sudo apt-get install phantomjs 要构建项目,请输入以下...

    opencloudrender:流行渲染引擎的云渲染接口

    先决条件: ... 安装 macports 并执行: sudo port install py-pyside 视窗: pip install -U PySide 博托 Windows(也可能适用于 Linux/MacOs): pip install -U boto Linux/Mac - 来源: git c

    crud-api:通用保护访问 API

    dao、mongrel2 和 swagger-def - 'genericIO' 此外,需要一个 'dbkeys' 存储桶,形式为 'dbname={"key":""}' 安装模块: npm install git+ssh://git@github.com:OPENi-ict/crud_api.git 您将需要通过 macports 或 ...

    spdlog:快速C ++日志记录库

    日志 ... MacPorts: sudo port install spdlog FreeBSD: cd /usr/ports/devel/spdlog/ && make install clean Fedora: dnf install spdlog Gentoo: emerge dev-libs/spdlog Arch Linux: pa

    c#+毕业设计+源码-spdlog:快速的C++日志记录库

    c#+毕业设计+源码spdlog ...MacPorts: sudo port install spdlog FreeBSD: cd /usr/ports/devel/spdlog/ && make install clean Fedora: dnf install spdlog Gentoo: emerge dev-libs/spdlog Arch Linux: p

    i18n:icu nif

    ; -模式:降价; -; vim:filetype = markdown tw = 76 ... 在OSX上使用MacPorts进行port install icu ; 在Ubuntu 10.10上apt-get install libicu42 libicu-dev ; 在Ubuntu 11.10上apt-get install libicu44 libicu-de

Global site tag (gtag.js) - Google Analytics