From owner-freebsd-questions@freebsd.org Sat Sep 24 04:59:20 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C9D5BE5EC4 for ; Sat, 24 Sep 2016 04:59:20 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 3DDCC3BA for ; Sat, 24 Sep 2016 04:59:19 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-104-60.lns20.adl2.internode.on.net (HELO leader.local) ([118.210.104.60]) by ipmail07.adl2.internode.on.net with ESMTP; 24 Sep 2016 14:24:10 +0930 Subject: Re: How to find port name to use with the pkg install command To: Ernie Luzar , Freebsd Questions References: <57E51A69.9030602@gmail.com> From: Shane Ambler Message-ID: <858b0aa8-555b-4ade-b9c4-4e3c661ad8fc@ShaneWare.Biz> Date: Sat, 24 Sep 2016 14:24:07 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <57E51A69.9030602@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2016 04:59:20 -0000 On 23/09/2016 21:34, Ernie Luzar wrote: > Hello list, > > I am having trouble finding the port name to use with the "pkg install" > command. I used to use the ports web site > > https://www.freebsd.org/cgi/ports.cgi > > It used to show the svn port names and now it shows the port version > names. How is a person to find the svn port name? pkg install accepts pkg-origin, pkg-name or pkg-name-version There is also a -x option to treat the pkg-name as regex So if you wanted to install firefox you could use pkg install www/firefox pkg install firefox-47.0.1_2,1 pkg install firefox To search for ports you can try http://www.freshports.org The category and portname can be seen in lists and the pkg origin can be seen in the url of port details page which shows the commands to build or pkg install the port. -- FreeBSD - the place to B...Software Developing Shane Ambler