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
































