Re: Bootstrap pkg on a disconnected system
- Reply: Carl Johnson : "Re: Bootstrap pkg on a disconnected system"
- In reply to: Pat : "Bootstrap pkg on a disconnected system"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Aug 2025 19:50:25 UTC
Le dimanche 3 août 2025 à 20:57, Pat <cli_junkie@protonmail.com> a écrit : > > > I have an older laptop that I was playing around with, and installed > FreeBSD 13.2 from a previously burned DVD. I can't use `pkg add` to add > a package because `pkg` has not been bootstrapped. But the bootstrap > process insists on connecting to a remote repo. > > I see the `pkg` package available on the DVD at > /packages/FreeBSD:13:amd64/All/pkg-1.19.1_1.pkg. If that can be used, > how do I bootstrap the pkg system first? > > I can connect a USB interface, but am curious to know if this can be > done. > > Thanks and regards, > Pat Hi, The process is described in the Handbook https://docs.freebsd.org/en/books/handbook/ports/#pkgng-initial-setup As written in the Handbook, an Internet connection must be set to succeed the pkg bootstrap process. The command used to install a package is: # pkg install <packagename> HTH, Alexandre