Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Installing a BSD package (from source?) - JQ
« previous
next »
Print
Pages: [
1
]
Author
Topic: Installing a BSD package (from source?) - JQ (Read 2653 times)
cpw
Jr. Member
Posts: 71
Karma: 4
Installing a BSD package (from source?) - JQ
«
on:
July 12, 2020, 05:40:25 am »
Hi, I would like to install jq - the json parsing utility - onto my opnsense box, as it would allow me to process various JSON data sources found therein. It seems it's not in the package repositories provided by OPN sense, so I guess I have to somehow build it manually. How would I go about that? Could I request that this tool be added to a future version of opnsense repositories?
JQ is here:
https://stedolan.github.io/jq/download/
and is common in linux distributions. There seem to be some FreeBSD sources for it and a contemporary port as well.
Thanks
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Installing a BSD package (from source?) - JQ
«
Reply #1 on:
July 12, 2020, 07:12:04 am »
You go to github tools repo, open an issue for adding textproc/jq
If it doesn't get accepted install a FreeBSD 11.2 with amd64 (if you use 64 bit) and fetch the build tools:
https://github.com/opnsense/tools
Then you can build your own compatible pkg.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Installing a BSD package (from source?) - JQ
«
Reply #2 on:
July 12, 2020, 05:50:45 pm »
You can also build it directly on OPNsense as it is shipping all the required tools or has them in the repository.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Installing a BSD package (from source?) - JQ