Faça o download das dependências de origem e de compilação:
mkdir ~/.mc
cd !$
apt-get source mc
sudo apt-get build-dep mc
Abra o arquivo mc-4.8.3/debian/rules
e descomente esta linha --enable-vfs-smb=yes
. Não se esqueça de acrescentar um caractere de barra invertida no final da linha acima:
override_dh_auto_configure:
dh_auto_configure -- AWK="awk" \
--libexecdir='$${prefix}/lib' \
--with-x \
--with-screen=slang \
--disable-rpath \
--disable-static \
--enable-vfs-undelfs \
--enable-tests \
--enable-vfs-smb=yes
Compile o binário a partir da fonte:
cd mc-4.8.3/
sudo dpkg-buildpackage
, em seguida, instale executando:
cd ..
sudo dpkg -i mc_4.8.3-9_i386.deb
Verifique se você vê a smbfs
na linha Virtual File Systems
:
$ mc -V
GNU Midnight Commander 4.8.3
Built with GLib 2.34.0
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;
Fonte: link