Installing ports such as rmlint / fdupes

Status
Not open for further replies.

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
Hi, I'm trying to trim some files on my server and wanted to install the various tools such as rmlint or fdupes. They are on the freebsd ports list, but I'm having trouble installing the basic ports utility.

Is there a walk-through on installing ports on our FreeNAS systems?

Thanks for any help in advance!
 

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
Ahh.... that was it. I was trying to do it outside of the jail:

Code:
[nakamura@bethel] /% pkg
The package management tool is not yet installed on your system.
The mechanism for doing this is not secure on FreeBSD 9.2. To securely install
pkg(8), use ports from a portsnap checkout:
  # portsnap fetch extract
  # make -C /usr/ports/ports-mgmt/pkg install clean
Do you still want to fetch and install it now? [y/N]:



Once I switched into a jail, it worked:

Code:
                                                                               
For more information on the different commands see 'pkg help <command>'.       
root@denyhosts:/ # pkg search fdupes                                           
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configura
tion file                                                                      
                                                                               
fdupes-1.51                                                                    
fdupes-1.51        


Thanks very much. I'm very old school (learned UNIX in the 1980s) and am used to unitary filesystems, none of this vm and jail nonesuch. Just glad to find out the proper way to do this.
 
D

dlavigne

Guest
Looks like it was removed as it's not showing at freshports.org either.
 
Status
Not open for further replies.
Top