Date: Fri, 18 Jun 2010 10:47:31 +0200 From: Polytropon <freebsd@edvax.de> To: "Alexandre L." <axelbsd@ymail.com> Cc: Giorgos Tsiapaliokas <terietor@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Re : change kde4 (pkg) to kde4 (ports) Message-ID: <20100618104731.67d8556a.freebsd@edvax.de> In-Reply-To: <390427.63490.qm@web24811.mail.ird.yahoo.com> References: <AANLkTil823TTIPgBqehT-NBQH_6SySZK6S3oj8iaOSNl@mail.gmail.com> <390427.63490.qm@web24811.mail.ird.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Jun 2010 08:21:53 +0000 (GMT), "Alexandre L." <axelbsd@ymail.com= > 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 <terietor@gmail.com>= a =E9crit=A0: >=20 > > De: Giorgos Tsiapaliokas <terietor@gmail.com> > > 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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100618104731.67d8556a.freebsd>