From owner-freebsd-questions@FreeBSD.ORG Fri Jun 18 08:47:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 050EE1065672 for ; Fri, 18 Jun 2010 08:47:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id B83518FC20 for ; Fri, 18 Jun 2010 08:47:34 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id 3005C1E3FD; Fri, 18 Jun 2010 10:47:32 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o5I8lVRT003562; Fri, 18 Jun 2010 10:47:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 18 Jun 2010 10:47:31 +0200 From: Polytropon To: "Alexandre L." Message-Id: <20100618104731.67d8556a.freebsd@edvax.de> In-Reply-To: <390427.63490.qm@web24811.mail.ird.yahoo.com> References: <390427.63490.qm@web24811.mail.ird.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Giorgos Tsiapaliokas , freebsd-questions@freebsd.org Subject: Re: Re : change kde4 (pkg) to kde4 (ports) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2010 08:47:35 -0000 On Fri, 18 Jun 2010 08:21:53 +0000 (GMT), "Alexandre L." wrote: > Why do you want to do that ? > Packages are in this directory by default : /usr/ports/distfiles/ >=20 > --- En date de=A0: Jeu 17.6.10, Giorgos Tsiapaliokas = a =E9crit=A0: >=20 > > De: Giorgos Tsiapaliokas > > Objet: change kde4 (pkg) to kde4 (ports) > > =C0: freebsd-questions@freebsd.org > > Date: Jeudi 17 juin 2010, 18h46 > > hello, > >=20 > > i have installed=A0 kde4 via the package system. > > how can i install the kde4 via ports system without > > deleting the packages > > and then compiling them? > >=20 > > thank you for answering :) Not fully correct. The directory /usr/ports/distfiles/ does not contain packages. It contains distribution files, those are usually archives full of source code and other resources that a port needs to be processed. To the OP: If you've already installed KDE4 from packages, the step "make" in the KDE4 ports directory will first generate KDE, and the step "make install" will install it. You have to deinstall ("make deinstall") your KDE (from packages) first. To the system, it doesn't matter if a program has been installed from ports or packages; packages can be seen as precompiled and compressed ports, while ports "per se" are the material to create the programs (sources, resources, images, and so on). If you want to create packages from a port (or maybe package) you already have installed, use "make package". This will generate a compressed archive in /usr/ports/packages/ subtree. You can install those packages on other systems, for example, without the need for compiling or fetching (a good solution for off-line operations). If this wasn't the answer you were searchig for, try to ask in a more precise way. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...