From owner-freebsd-questions@freebsd.org Sun Jun 4 19:55:31 2017 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 1AB2FBD35DB for ; Sun, 4 Jun 2017 19:55:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82AA381B44 for ; Sun, 4 Jun 2017 19:55:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Sun, 04 Jun 2017 21:54:20 +0200 Received: from r56.edvax.de (port-92-195-63-139.dynamic.qsc.de [92.195.63.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 7FDC43CBF9; Sun, 4 Jun 2017 21:54:19 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v54JsIj7002100; Sun, 4 Jun 2017 21:54:18 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 4 Jun 2017 21:54:18 +0200 From: Polytropon To: rr rrt Cc: freebsd-questions@freebsd.org Subject: Re: help please Message-Id: <20170604215418.9d0d8e22.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay13.qsc.de with C57766834A6 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1292 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: Sun, 04 Jun 2017 19:55:31 -0000 On Sun, 4 Jun 2017 18:20:28 +0100, rr rrt wrote: > I want to install a program with extention tgz with pkg_add on freebsd 10.3 > It does not work, I have a pkg_add not found error, The original pkg_ tools (pkg_add, pkg_delete, etc.) are not part of the OS anymore since version 9 when the whole ports subsystem got a _big_ upgrade and the initial tools became obsoleted. Sidenote: The extension tgz indicates an archive file, not a program. ;-) > I also try with pkg add, it does not work too That is correct - the new pkg tool is not compatible anymore with the intitial binary package format. > Help me on this subject. If the only program package you have is this txz archive, you could manually extract it and then manually put the parts into place, checking for required dependencies as you try to run the program. But that's not a clean approach and will surely cause other problems later on. However, this idea implies that the tgz archive in question is a FreeBSD binary software package (intended for installation). In case it's a _source_ archive, you need to extract it, and then follow the steps in its documentation (usually README or INSTALL); you often do things like "./configure && make install" to deal with this kind of software, but keep in mind that this approach interferes with what pkg is intended for. Check if there is an entry in the ports collection for the program you're intending to install. In best case, you'll be able to remotely install a binary package ("pkg install "), and in worst case, you have to compile it yourself using the ports collection. Related resources: https://www.freebsd.org/doc/handbook/pkgng-intro.html https://www.freebsd.org/doc/handbook/ports-using.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...