Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2018 11:10:19 +0100
From:      Polytropon <freebsd@edvax.de>
To:        gahn <ipfreak@yahoo.com>
Cc:        gahn via freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: install binary packages without pkg
Message-ID:  <20181129111019.0d95ebe1.freebsd@edvax.de>
In-Reply-To: <2108350937.8699050.1543459720257@mail.yahoo.com>
References:  <2108350937.8699050.1543459720257.ref@mail.yahoo.com> <2108350937.8699050.1543459720257@mail.yahoo.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, 29 Nov 2018 02:48:40 +0000 (UTC), gahn via freebsd-questions wrote:
> i have a freebsd 7.1 station. how could i install binary packages
> from freebsd sites without pkg?

You probably can't.

FreeBSD 7 is long time EOL. It doesn't even have pkg. If I remember
correctly, the new pkg system appeared along FreeBSD 8, and became
standard around FreeBSD 9. Packages for FreeBSD 7 are no longer
being generated for current software.

The older pkg_ format and the new pkg format for precompiled packages
are not compatible. On a FreeBSD 7 system, you'd have to use the
program pkg_install to install packages. As long as they are in the
old format, this will still work.

It might be possible that you examine the package content, and then
manually extract them, so its content gets written to the correct
location. This however does _not_ deal with keeping the system's
records about installed packages (the package database) consistent
with the actually installed software! Again, note that those are
in different formats.

Is there a reason you cannot upgrade the system to a currently
supported version of FreeBSD, and use pkg as intended?


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20181129111019.0d95ebe1.freebsd>