OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • How to sideload FreeBSD packages
« previous next »
  • Print
Pages: [1]

Author Topic: How to sideload FreeBSD packages  (Read 1042 times)

NorbertK

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
How to sideload FreeBSD packages
« on: June 07, 2024, 10:13:36 am »
To install packages  from the FreeBSD universe to your opnsense box the script from this quite verbous medium article works.
https://medium.com/@mihakralj/the-direct-route-installing-freebsd-packages-on-opnsense-d002ac0c56b8

It can be used like this:
Code: [Select]
./opnsense_sideload.sh  <packagename>

I attached the script for convenience, make shure it has LF as Linfeed.

HTH
Norbert
Logged
Kind regards and thanks !

Norbert

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17712
  • Karma: 1618
    • View Profile
Re: How to sideload FreeBSD packages
« Reply #1 on: June 07, 2024, 10:23:51 am »
Thanks for sharing.

The process is still prone to the same issues. If you must just edit

/usr/local/etc/pkg/repos/FreeBSD.conf

And set "enabled: yes"

Do your pkg install and then change it back.

And to repeat, the same problems will exist with pulling in bad dependencies, newer versions, incompatible package managers, etc. This is unavoidable.


Cheers,
Franco
Logged

NorbertK

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
Re: How to sideload FreeBSD packages
« Reply #2 on: June 07, 2024, 11:35:57 am »
Much simpler indeed. And of course you are right about the possible consequences.
Logged
Kind regards and thanks !

Norbert

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • How to sideload FreeBSD packages
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2