Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 21:33:21 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Markus =?ISO-8859-1?Q?K=FCnkler?= <markus@amobos.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Deinstall software
Message-ID:  <20090530213321.5a86ed4c.freebsd@edvax.de>
In-Reply-To: <C3DDA6CB-4E31-46E4-856C-0020C47A6351@amobos.org>
References:  <C3DDA6CB-4E31-46E4-856C-0020C47A6351@amobos.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 30 May 2009 20:54:10 +0200, Markus K=FCnkler <markus@amobos.org> wr=
ote:
> Hi!
> I installed my software using csup and make install. Now there are new =20
> versions available. How can i deinstall the old software with =20
> depencies or upgrade the complete stuff? I want to use make for that =20
> and it should ignore if an old version is already installed or =20
> deinstall the old version automiticaly.

If you're talking about the OS itself, you can simply follow
the instractions in the handbook, where it explains the
upgrading of the system (including steps like make update,
make buildworld and buildkernel, mergemaster, and make
installkernel and installworld, maybe KERNCONF).

For the ports, you enter the port's directory, run

	# make deinstall

and then

	# make
	# make install
	# make clean

(you can of course combine it to "make install clean").

If you want to automate it, you can use tools from the portmgmt/
category, such as portupgrade or portmaster. <--- I think that
is what you're searching for.

But you're talking about software that is not supported through
the FreeBSD ports system, you need to rely on what the source
creator gave to you (install / update / deinstall scripts).




--=20
Polytropon
>From 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?20090530213321.5a86ed4c.freebsd>