Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 11:35:50 +0000
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-doc@freebsd.org
Subject:   Re: About installing software on FreeBSD
Message-ID:  <52724096.3020509@freebsd.org>
In-Reply-To: <CACMhkcOqXQm6SAec94XitStwsSPCsFEE8=TK78QiabxooWKWaw@mail.gmail.com>
References:  <CACMhkcOqXQm6SAec94XitStwsSPCsFEE8=TK78QiabxooWKWaw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ewEqd3MTHh9SHAmCcBaXemN4BsdfXMiD4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/31/13 11:24, Hung Son Nguyen wrote:
> Can I install software on Jail without entering the Jail?
> Because I plan to write a shell script that can automatically create ja=
il
> with java and sql installed. Through documentation on the internet, I s=
ee
> some instructions about installing software on FreeBSD Jail but I have =
to
> enter Jail.
>=20
> I expected to listen your supports as soon as possible.
>=20

This is a question more for the freebsd-questions@.... list ratherthan
freebsd-doc@..., but never mind.

Yes, it is possible to install software in a jail from the host system.
It's easiest to do with pkg(8) -- see the description of the '-j' flag
in pkg(8).

You can do this in various other ways, but it is rather more fiddly and
involves setting a bunch of environment variables and so forth.

	Cheers,

	Matthew



--ewEqd3MTHh9SHAmCcBaXemN4BsdfXMiD4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJSckCdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnyK8P+wXOWRoSb0EZ1W3QdOjnXv7y
BrOhtk3HXIc/LX7gUv465P+4YDelcOP2I4CFamF0aNIiTFqdzZQMU3T6Ut7n03X0
RaDuYMA13Uj44PJCd1yAH2WnWVWQIGm5DkYUQAcm20c6Z47uk2V18GkptVh8xKl0
4k/KqVsS49/Vr2fs8sCgTEZ/72sQhVgNNN0n0uzKIx/TiN6B5ICH2UmcmJD4z1r/
+DxLiFcnJg6U3akmTJEyu3VeY9OyelWOXMwYXlziffHxZ8VFxAdb/YZtY8YwpDm/
S43WQO3tQWqvaQmhzjmaUdkT/BiIOx4M4w8LyDis3S68qpXq9gYAmBbGnBeHd+Dh
4qzMAFdnDxxRHHHfP478KcGOU+E+NrSNnjZzH2jLj7LDKmn8aNyDzmHAh1BjFqf9
3t7hYIg0IoyvvUzMXM4Ne+0EmYHLeK6XlYguAKoEOPlBG7agT3bf5uDIqlG+dOEQ
sq7b9AmMsa94lhg9ZXXM1T1Q3JyKJW3ugTltqVnbHaghOnQLE6x3tNXrEayZbokl
UQt7aQ+zKzpGF6oS8rhagn4pIcVJ1D11Vr78zMQkVVzMJ5A09CG7ZDPImAQU8AnY
rCmh/jAIKXzTW/GmJ0aF7u8lvoYTDbwEPwpzTue49AGDKoJYEg7KrAYukdgjhWsk
ne/g6vrFAgN7iqfeL2J7
=ZACL
-----END PGP SIGNATURE-----

--ewEqd3MTHh9SHAmCcBaXemN4BsdfXMiD4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52724096.3020509>