Mac Port 根本用法总结超凡娱乐 - 超凡娱乐

Mac Port 根本用法总结超凡娱乐

2019年02月16日11时11分56秒 | 作者: 昆峰 | 标签: 装置,检查,软件 | 浏览: 13310

Mac Port 根本用法总结
guibin.beijing@gmail.com

1. Mac Port的下载地址


2. Mac Port的阐明文档


3. Mac Port中第三方软件下载包寄存的默许途径是:/opt/local/var/macports/distfiles/
为了进步装置速度,能够在装置新port时直接将此目录下的文件拷贝到新的Mac Port相同的目录中就能够防止Port去网上下载。

4. 运用Mac Port前应该首要更新Port的index
引证$ sudo port selfupdate
Password:
Warning: port definitions are more than two weeks old, consider using selfupdate
-   Updating the ports tree
-   Updating MacPorts base sources using rsync
MacPorts base version 1.9.2 installed,
MacPorts base version 1.9.2 downloaded.
-   MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated

5. 检查Mac Port中当时可用的软件包及其版别
引证$ port list
rabbitmq-server  @2.4.0  net/rabbitmq-server
AppHack  @1.1  aqua/AppHack
AppKiDo  @0.985  aqua/AppKiDo
AquaLess  @1.6  aqua/AquaLess
ArpSpyX  @1.1  aqua/ArpSpyX
AssignmentTrackerX  @2.0beta3.1  aqua/AssignmentTrackerX
BigSQL  @1.0  aqua/BigSQL
BiggerSQL  @1.3.9  aqua/BiggerSQL
Books  @3.2.5c  aqua/Books
......


4. 在Mac Port怎么查找需求装置的软件包?
引证$ port search maven
maven @1.0.2 (java, devel)
  A java-based build and project management environment.

maven-ant-tasks @2.0.10 (devel, java)
  Use many of Mavens artifact handling features from Ant.

maven2 @2.2.1 (java, devel)
  A java-based build and project management environment.

maven3 @3.0.3 (java, devel)
  A java-based build and project management environment.

maven_select @0.3 (sysutils)
  Switch the default Maven java build tool

Found 5 ports.

5. 查找到需求装置的软件包之后,怎么检查详细的软件包的内容和阐明?
引证$ port info maven2
maven2 @2.2.1, Revision 3 (java, devel)

Description:  Maven is a Java project management and project comprehension tool. Maven is based on the concept of a
  project object model (POM) in that all the artifacts produced by Maven are a result of consulting a
  well defined model for your project.Builds, documentation, source metrics, and source cross-references
  are all controlled by your POM. Maven 2.0 is a complete rewrite of Maven 1.0 and as such is better
  organized, faster and easier to use.
Homepage:  http://maven.apache.org/

Build Dependencies:  kaffe
Library Dependencies: maven_select
Platforms:  darwin
License:  unknown
Maintainers:  blair@macports.org, gk5885@kickstyle.net

6. 检查行将装置的或许现已装置的软件包的依靠联系
引证$ port deps maven2
Full Name: maven2 @2.2.1_3
Build Dependencies:  kaffe
Library Dependencies: maven_select

7. 检查装置时答应客户定制的参数
引证$ port variants maven2
maven2 has no variants


8. 检查了软件包的内容和阐明,并承认的确要装置,则
引证$ sudo port install maven2

9. 装置结束之后,铲除装置时发生的临时文件
引证$ sudo port clean all maven2
-   Cleaning maven2

10. 卸载现已用Mac Port装置的软件
引证sudo port uninstall maven2

版权声明
本文来源于网络,版权归原作者所有,其内容与观点不代表超凡娱乐立场。转载文章仅为传播更有价值的信息,如采编人员采编有误或者版权原因,请与我们联系,我们核实后立即修改或删除。

猜您喜欢的文章

阅读排行

  • 1

    Linux hosts 主机名ITeye

    主机名,文件,运用
  • 2
  • 3
  • 4

    OS Crossover Settings快报

    装置,渠道,方位
  • 5

    win7 快捷键tengxun

    程序,任务栏,数字
  • 6

    shell完成的俄罗斯方块sohu

    方块,方位,游戏
  • 7

    bsd授权sina

    软件,版权,方式
  • 8
  • 9
  • 10