Repository navigation
Question: how to install SmartOS binary packages on non-Illumos operating system with pkgin #265
Copy link
Copy link
Closed
Description
Activity
You might want to use pkg_add directly without going to pkgin, you should be able to specify most stuff via env variables like PKG_PATH and such.
TBH I'd go even more directly and just unpack the packages directly into wherever you want. The
.tgzfiles we ship are wrapped inar(1)for the signing bits, but contain an unsigned package tarball that you can just unpack wherever.Using
pkginorpkg_installis likely technically possible, but would end up just as ugly to work around the variousMACHINE_ARCHchecks etc as just doing it the tarball way.Thank you, I will try that approach. Is there an index page where binary packages are listed?
- added a commit that references this issue
on Sep 21, 2020 - added a commit that references this issue
on Oct 12, 2020 - added a commit that references this issue
on Oct 30, 2020 - added a commit that references this issue
on Jan 30, 2021 - added a commit that references this issue
on Jun 15, 2021 - added a commit that references this issue
on Jan 27, 2022 - added a commit that references this issue
on Nov 23, 2022 69 remaining items
- added 6 commits that reference this issue
on May 14, 2026 - added a commit that references this issue
on May 20, 2026 - added 2 commits that reference this issue
on Jun 1, 2026 - added 2 commits that reference this issue
on Sep 13, 2026
Metadata
Metadata
Assignees
Labels
No labels
On Debian/Linux system, in the path where illumos/sysroot release tarball is restored, we want to install SmartOS binary packages. We have built pkgsrc tools (including pkgin) on Debian/Linux using pkgsrc (2020Q1) sources.
Now using this pkgin (Linux executable running on Debian/Linux system), is it possible to make it:
by, for example, modifying some config file or some command line switch? If so, how? :)
As an example, we compile FreeBSD's pkg tool (https://github.com/freebsd/pkg) on Debian/Linux, then modify its
pkg.conffile to make it install FreeBSD packages on Debian/Linux inside the sysroot directory:here
$__RootfsDiris the root of where the sysroot files are restored. Complete working examples for various package managers and operating systems are available in this bash script: https://github.com/dotnet/arcade/blob/master/eng/common/cross/build-rootfs.sh.