Is there some way to install a lightweighted midnigh commander in syspool?

Status
Not open for further replies.

boris_lee

Dabbler
Joined
Aug 27, 2014
Messages
18
I use 2 mirrored 16GB usb stick as FreeNAS boot device ,so system volume space is somwhat limited
Now for management convinience I want to install mc in system(not jail),so I can manage files in ssh
but when i use pkg install mc or pkg install mc-light
it says

Code:
Installed packages to be REMOVED:
        gnutls-3.2.16_6
        samba41-4.1.21_1
        git-2.1.0
        nginx-1.6.2,2

New packages to be INSTALLED:
        gawk: 4.1.3_2 [FreeBSD]
        gettext-runtime: 0.19.6 [FreeBSD]
        libXft: 2.3.2_1 [FreeBSD]
        libXrender: 0.9.9 [FreeBSD]
        renderproto: 0.11.1 [FreeBSD]
        libGL: 11.0.8 [FreeBSD]
        libXfixes: 5.0.1_3 [FreeBSD]
        fixesproto: 5.0 [FreeBSD]
        dri2proto: 2.8 [FreeBSD]
        libXdamage: 1.1.4_3 [FreeBSD]
        damageproto: 1.2.1 [FreeBSD]
        libdevq: 0.0.2_1 [FreeBSD]
        libXxf86vm: 1.1.4_1 [FreeBSD]
        xf86vidmodeproto: 2.3.1 [FreeBSD]
        gcc: 4.8.5_2 [FreeBSD]
        gcc-ecj: 4.5 [FreeBSD]
        libdrm: 2.4.65_1,1 [FreeBSD]
        libpciaccess: 0.13.4 [FreeBSD]
        libxshmfence: 1.2 [FreeBSD]
        libglapi: 11.0.8 [FreeBSD]
        libXvMC: 1.0.9 [FreeBSD]
        libXv: 1.0.10_3,1 [FreeBSD]
        videoproto: 2.3.2 [FreeBSD]
        glproto: 1.4.17 [FreeBSD]
        libEGL: 11.0.8 [FreeBSD]
        gbm: 11.0.8 [FreeBSD]
        llvm36: 3.6.2_2 [FreeBSD]
        libedit: 3.1.20150325_1 [FreeBSD]
        xcb-util-renderutil: 0.3.9_1 [FreeBSD]
        xcb-util: 0.4.0_1,1 [FreeBSD]
        libSM: 1.2.2_3,1 [FreeBSD]
        libICE: 1.0.9_1,1 [FreeBSD]
        openldap-client: 2.4.43 [FreeBSD]
        avahi-app: 0.6.31_5 [FreeBSD]
        c-ares: 1.10.0_2 [FreeBSD]
        json-c: 0.12_2 [FreeBSD]
        gettext-tools: 0.19.6 [FreeBSD]
        libsigsegv: 2.10_1 [FreeBSD]

Installed packages to be UPGRADED:
        gettext: 0.18.3.1_1 -> 0.19.6 [FreeBSD]
        libiconv: 1.14_4 -> 1.14_9 [FreeBSD]
        libxml2: 2.9.2_2 -> 2.9.3 [FreeBSD]
        libxslt: 1.1.28_4 -> 1.1.28_8 [FreeBSD]
        libgpg-error: 1.15 -> 1.21 [FreeBSD]
        apache24: 2.4.10_2 -> 2.4.18 [FreeBSD]
        expat: 2.1.0_1 -> 2.1.0_3 [FreeBSD]
        fontconfig: 2.11.0_3,1 -> 2.11.1_1,1 [FreeBSD]
        harfbuzz: 0.9.28 -> 1.1.3 [FreeBSD]
        cairo: 1.12.16_1,2 -> 1.14.6,2 [FreeBSD]
        pcre: 8.35 -> 8.37_4 [FreeBSD]
        pango: 1.34.1_7 -> 1.36.8_2 [FreeBSD]
        rrdtool: 1.4.8_4 -> 1.4.8_9 [FreeBSD]
        png: 1.5.21 -> 1.6.21 [FreeBSD]
        glib: 2.36.3_4 -> 2.44.1_3 [FreeBSD]
        perl5: 5.16.3_11 -> 5.20.3_8 [FreeBSD]
        collectd5: 5.4.1_12 -> 5.5.0_4 [FreeBSD]
        icu: 53.1 -> 55.1 [FreeBSD]
        graphite2: 1.2.4 -> 1.3.3 [FreeBSD]
        binutils: 2.24_1 -> 2.25.1 [FreeBSD]
        gobject-introspection: 1.36.0_3 -> 1.44.0 [FreeBSD]
        sssd: 1.11.7 -> 1.11.7_3 [FreeBSD]
        netatalk3: 3.1.7,1 -> 3.1.8,1 [FreeBSD]
        py27-dbus: 1.1.1_1 -> 1.2.0_1 [FreeBSD]
        dbus-glib: 0.100.2_1 -> 0.104 [FreeBSD]
        dbus: 1.8.10 -> 1.8.20 [FreeBSD]
        py27-lxml: 3.4.0 -> 3.5.0 [FreeBSD]
        apr: 1.5.1.1.5.4 -> 1.5.2.1.5.4 [FreeBSD]
        sudo: 1.8.11.p1 -> 1.8.15 [FreeBSD]
        krb5: 1.12.2 -> 1.14 [FreeBSD]
        libunistring: 0.9.4 -> 0.9.6 [FreeBSD]
        ding-libs: 0.1.3_1 -> 0.4.0_1 [FreeBSD]
        libidn: 1.29 -> 1.31 [FreeBSD]
        wget: 1.16 -> 1.16.3 [FreeBSD]
        open-vm-tools-nox11: 1280544_7,1 -> 1280544_12,1 [FreeBSD]
        syslog-ng: 3.5.6_5 -> 3.6.4 [FreeBSD]
        proftpd: 1.3.5_3 -> 1.3.5a [FreeBSD]
        grub2-pcbsd: 2.02p_27 -> 2.02q_7 [FreeBSD]
        ap24-mod_mpm_itk: 2.4.7 -> 2.4.7_1 [FreeBSD]
        fusefs-libs: 2.9.3_3 -> 2.9.4_1 [FreeBSD]
        zsh: 5.0.6_2 -> 5.2_1 [FreeBSD]
        rsync: 3.1.1_4 -> 3.1.2_1 [FreeBSD]
        e2fsprogs: 1.42.10 -> 1.42.13 [FreeBSD]
        nano: 2.2.6 -> 2.4.3 [FreeBSD]

Installed packages to be REINSTALLED:
        popt-1.16_1 [FreeBSD]
        gdbm-1.11_2 [FreeBSD] (direct dependency changed: gettext-runtime)
        gamin-0.1.10_8 [FreeBSD] (direct dependency changed: glib)
        mtools-4.0.10_4 [FreeBSD] (options changed)
        lrzsz-0.12.20_4 [FreeBSD] (direct dependency changed: gettext-runtime)

The process will require 384 MiB more space.
164 MiB to be downloaded.



and I'm not brave enough to continue

Is there some way to install a mc without cost too much space?
 

jde

Explorer
Joined
Aug 1, 2015
Messages
93
I want to install mc in system(not jail)

Don't do do it. Freenas is an appliance and not meant to have random software packages installed on the OS. Why don't you want to install in a jail? Are you wanting to manage the system files with MC or your data pool?
 

boris_lee

Dabbler
Joined
Aug 27, 2014
Messages
18
Don't do do it. Freenas is an appliance and not meant to have random software packages installed on the OS. Why don't you want to install in a jail? Are you wanting to manage the system files with MC or your data pool?
Yes, I want to copy/move some files in data pool with mc.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Install in jail. Add path to the binary in your shell environment.

See how it says it will remove NGINX?
Guess what the web gui runs on?
 

boris_lee

Dabbler
Joined
Aug 27, 2014
Messages
18
Install in jail. Add path to the binary in your shell environment.

See how it says it will remove NGINX?
Guess what the web gui runs on?
Just one path for mc is ok ?any other dependencies?
Yes I know that ,and choose not to continue...:(:eek:
 

jde

Explorer
Joined
Aug 1, 2015
Messages
93
I'm not sure. I've had a similar problem in the past trying to run mprime in a jail. The executable was looking for an outdated version of a library (libcurl.so.6?) that wasn't installed. I ended up creating a symlink pointing to the updated version of the library. I think it was it was something like
Code:
ln -s ./libcurl.so.6 ./libcurl.so.7


You might search for an updated version of libslang in your jail and create a libslang.so.2 link pointing to it.
 
Status
Not open for further replies.
Top