How to install custom packages on FreeNAS

Status
Not open for further replies.
Joined
Nov 24, 2013
Messages
214
Hi,

I have a question, this is possible to install custom package on FreeNAS?

When I try I got an error saying:

Failed to open '/usr/ports/packages/All/...

Why this happen?

Thanks in advance for your help!

Guillaume
 

zambanini

Patron
Joined
Sep 11, 2013
Messages
479
let me search for a stone.. FN is an appliance. do not annoy it. you can use jails for other software packages.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
As mentioned in the documentation and about a thousand times in the forums. Do not install anything on the freenas OS. Use jails for any packages you need.
 
Joined
Nov 24, 2013
Messages
214
I have created a jail, how I can install for example, curlftpfs on it?
 
Last edited:

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633

pcloadetter

Explorer
Joined
Aug 15, 2015
Messages
65
I'm gonna piggy back to ask a question related - If I need curl to be used by a script run by the Task Scheduler, I should install curl in it's own jail? How do I call it then? Do I create a separate jail for every package? I may run out of IPs.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
I'm gonna piggy back to ask a question related - If I need curl to be used by a script run by the Task Scheduler, I should install curl in it's own jail? How do I call it then? Do I create a separate jail for every package? I may run out of IPs.
You don't need to create a jail for every package you want installed. Create a jail for a purpose. Use a jail for more than one thing
 

pcloadetter

Explorer
Joined
Aug 15, 2015
Messages
65
So I tried to run curl from a jail where I already installed it.

[root@ ~]# /mnt/xxxx/jails/sabnzbd_1/usr/local/bin/curl
Shared object "libcurl.so.4" not found, required by "curl"

So how can I run it from a jail?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
I don't know what you've done differently, but curl is installed in freenas and I just logged into a jail and its already installed there too....
 

pcloadetter

Explorer
Joined
Aug 15, 2015
Messages
65
Just ran curl from your csh shell?

It's funny you say that, I could have sworn I had it, but other jails weren't working right, so I thought I needed to install it. I wonder if I somehow damaged it. But it should still "reinstall" fine.
 

RegularJoe

Patron
Joined
Aug 19, 2013
Messages
330
let me search for a stone.. FN is an appliance. do not annoy it. you can use jails for other software packages.

there are times that one command is needed and we do not have access to hardware via a jail or a VM. I need to use vmdktool to convert a raw disk to a disk image or vmdk file.
 
Status
Not open for further replies.
Top