From nobody Tue Jul 12 23:02:53 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 785D91D20ED8 for ; Tue, 12 Jul 2022 23:03:02 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "prime.gushi.org", Issuer "RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LjGW93vG7z3TLf for ; Tue, 12 Jul 2022 23:03:01 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from smtpclient.apple ([149.20.66.196]) (authenticated bits=0) by prime.gushi.org (8.16.1/8.16.1) with ESMTPSA id 26CN2tpt049371 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 12 Jul 2022 16:02:56 -0700 (PDT) (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 26CN2tpt049371 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1657666977; bh=iEaZD6gU10rTijAtqW1FJWcH4GEiNTF5KHxCtKA5wLo=; h=Subject:From:In-Reply-To:Date:Cc:References:To; z=Subject:=20Re:=20offline=20install=20of=20perl|From:=20"Dan=20Mah oney=20(Ports)"=20|In-Reply-To:=20<202207122006 06.GE13596@2solnu.net>|Date:=20Tue,=2012=20Jul=202022=2016:02:53=2 0-0700|Cc:=20freebsd-questions@freebsd.org|References:=20<20220712 200606.GE13596@2solnu.net>|To:=20Ryan=20Richter=20; b=NEcaHRBh6FfFbPpsNSloKjfVgE0s7EQY5u8tSxBz+pEOyJaZUKGiYqy3/qzRbQQVL q9j5kEUePZhXOs3loclCLaQ86yIUlyvPCJQpMc634tZjSrGQh2rrdhZDd8clDPRJuV EbJJV4s0u3ZJuF+D/xs+lShH2itE6xA4dy08PbuHQJkDf3aS7tyGHumVM+EZw6jYE8 kkRS3phL5E0lbvaaFoXimpk1kOs57mFUYki8BaOJkUwx/vrBXk1XsY6bLzVl1A2dTx d+xbCf3x71ibK/SR+MzXk8KHPdiZ60KTrcZjbtw9yTDkELJTkC2QS9WWP1oNtIzCzv cb9b6oMUJFT3w== X-Authentication-Warning: prime.gushi.org: Host [149.20.66.196] claimed to be smtpclient.apple Content-Type: text/plain; charset=utf-8 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Re: offline install of perl From: "Dan Mahoney (Ports)" In-Reply-To: <20220712200606.GE13596@2solnu.net> Date: Tue, 12 Jul 2022 16:02:53 -0700 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <71781684-7053-4F2D-A36A-8238E917150D@gushi.org> References: <20220712200606.GE13596@2solnu.net> To: Ryan Richter X-Mailer: Apple Mail (2.3696.100.31) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (prime.gushi.org [149.20.68.142]); Tue, 12 Jul 2022 23:02:57 +0000 (UTC) X-Rspamd-Queue-Id: 4LjGW93vG7z3TLf X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gushi.org header.s=prime2014 header.b=NEcaHRBh; dmarc=pass (policy=none) header.from=gushi.org; spf=pass (mx1.freebsd.org: domain of freebsd@gushi.org designates 2620:137:6000:10::142 as permitted sender) smtp.mailfrom=freebsd@gushi.org X-Spamd-Result: default: False [-6.20 / 15.00]; DWL_DNSWL_MED(-2.00)[gushi.org:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gushi.org,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[gushi.org:s=prime2014]; RCVD_IN_DNSWL_MED(-0.20)[2620:137:6000:10::142:from]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US]; HAS_XAW(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gushi.org:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > On Jul 12, 2022, at 1:06 PM, Ryan Richter wrote: >=20 > I have a machine with a fresh install of freebsd 13.1 which will never > be conected to the internet. I need to install perl on it (nothing > else), but I can only transfer files by usb drive from linux machines. >=20 > This seems like a simple thing, but I've been looking at documentation > for a long time now and I can't find anything. pkg looks relevant, = but > it is not actually installed, and anyway I can't find the url of any > perl 5 package for 13.1 (the pkg servers seems to have directory > listings disabled). >=20 > If anyone could direct me toward a simple way to do this I would > appreciate it very much. Some sort of pkg-web machine would sure be useful, especially because = you have the issue of dependency resolution. What I=E2=80=99d do, personally, is spin up a quickie FreeBSD vm = somewhere, run =E2=80=9Cpkg install perl5=E2=80=9D and then grab = everything that pkg drops into the /var/cache/pkg, as that would cover = all the dependencies as well. Note that that should also get you a copy of the pkg installable itself, = with which to bootstrap pkg. In the =E2=80=9Cold days=E2=80=9D of FreeBSD cdroms disc2 was what had = all this stuff, but I see no disc2 images in the FTP site. That said, = DVD1 may still have some of that, though, and should be *fairly* = install-complete for a common language like perl. (That said, it=E2=80=99s= up to the user to figure out how to use those on an already-installed = system, the old sysinstall tool was better for doing post-install = configuration than BSDinstall is). -Dan=