Searching for Application in FreeBSD’s Ports Collection搜寻的应用在FreeBSD上的港口收集
The FreeBSD Ports and Packages Collection offers a simple way for users and administrators to install applications.该FreeBSD的港口和包裹收集提供了一个简单的方式为用户和管理员安装应用程序。 The number of applications in FreeBSD Ports and Packages Collection is growing with the time, which now exceeding ten thousands ports.申请的数目在FreeBSD的港口和包裹收集是伴我成长的时间,现在超过10万端口。
All Ports Collection is stored at /usr/ports directory, according to their respective category-based directory.所有港口收集是存放在在/ usr /港口目录,根据各自的类别为基础的目录。 If you know the name of the port that you need, but don’t know which category it’s located, whereis command will be helpful:如果您知道的名称,该港口您所需要的,但不知道哪一类,它的位置, whereis命令,将有助于:
whereis file_name whereis FILE_NAME的
For example,举例来说,
# whereis phpMyAdmin # whereis phpmyadmin
phpMyAdmin: /usr/ports/databases/phpMyAdmin phpmyadmin :在/ usr /港口/数据库/ phpmyadmin
The whereis command returns the exact location of the port specified.该whereis命令返回的确切位置,港口指定。
FreeBSD Ports Collection also has built-in search function. FreeBSD的港口收集也有内置的搜索功能。 In /usr/ports directory (you need to be in /usr/ports directory to use the search mechanism), run make search name=program-name or make search key=keyword to search for a particular port.在/ usr /港口目录(你需要在/ usr /港口目录使用搜索机制) ,运行make搜索名称=节目名称或搜索的关键=关键字搜寻特定的端口。
For example,举例来说,
# make search name=”phpMyAdmin” #使搜索名称= “ phpmyadmin ”
# make search key=”phpMyAdmin” #使搜索的关键= “ phpmyadmin ”
Note: Without the ” and ” will work too.注:没有“及”将太的工作。
Both will return details of the ports matched, if any.双方将返回的详情,港口相匹配,如果有的话。 One of the result if “Path”, which will tell you where is the port located.其中一个结果,如果“路径” ,这将告诉你哪里是港口的位置。
The keyword search is a more in-depth searching that searches port names, comments, descriptions and dependencies.关键字搜索是一个更深入的搜索,搜索的港口名称,评论,说明和相依性的问题。 It can be used to find ports which relate to a particular subject if you do not know the name of the program you are looking for.它可以用来寻找港口,其中涉及到某一特定主题如果您不知道该程序的名称您正在寻找。
Alternatively,另外, FreeBSD FreeBSD的 also maintains an up-to-date searchable list of all the available applications, arranged by category.也保持了一个切合时宜的搜索清单,所有可用的应用程序,所安排的类别。 You can search for your application by name and browse all applications that are within the category.您可以搜索您的应用程序的名称和浏览所有申请属于一类。
FreshPorts freshports also allowed users to search for FreeBSD’s ports by keywords.还允许用户搜索和FreeBSD的港口由关键字。 FreshPorts tracks and lists the change made to the ports tree, and allows users to watch one or more ports, and can email you when your selected port has been updated. freshports路轨,并列出了变化作出港口树,并允许用户观看一个或多个端口,并可以以电子邮件通知您,当您选定的港口已更新。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article原来的英语文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 . 。
Related Articles相关文章
- Easy Way to Upgrade FreeBSD’s Ports简单的方法来升级的FreeBSD的港口
- Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit更新FreeBSD的港口收集到最新版本,与安全性更新与portmanager和portaudit
- Using Portsnap to Update FreeBSD Ports Tree Collection使用portsnap更新FreeBSD的港口树收集
- Update FreeBSD Ports Collection Up to Date and Latest更新FreeBSD的港口收集到的日期和最新
- Nokia Cellphones To Feature Magnetized Ports诺基亚手机功能磁化港口
- Portdowngrade - Downgrade to Previous Version of FreeBSD’s Ports portdowngrade -降级为以前版本的F reeBSD上的港口
- Network Ports Used by Windows Product Activation (WPA) for Communication使用的网络端口Windows产品激活( WPA )的沟通
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4安装Web服务器在FreeBSD的6.0与2.2的Apache , MySQL 5.0的和PHP 5 -第4部分
- How to Open and View or Extract CHM (Compiled HTML) Files in Linux如何打开并查看或提取资料交换所机制(已编译的HTML )文件在Linux
- List, View, Save and Close Opened TCP/IP Ports or Connections with CurrPorts名单,查看,保存并关闭打开的TCP / IP端口或连接与currports
































