How to install locate & midnight commander in NethSecurity

Hi all,

I installed the latest NethSecurity.

How can I install locate & mc => Midnight Commander?

Thank you,

Michel-André

Thanks for trying!

Since these packages are not part of NethSecurity, you should search if the package is available, I usually do this research on Google “openwrt <package_name>”.

In your case packages should be both available:

Then follow this doc to add upstream repositories.

Than you should be able to install them:

opkg update
opkg install mc findutils-locate

Please note that such packages are not preserved across image upgrades.

Hi @giacomo

I already tried that and I tried it again:

root@nethsec-1:~# opkg install mc findutils-locate
Unknown package 'mc'.
Unknown package 'findutils-locate'.
Collected errors:
 * opkg_install_cmd: Cannot install package mc.
 * opkg_install_cmd: Cannot install package findutils-locate.
root@nethsec-1:~#

Michel-André

Edit:
package: mc => [OpenWrt Wiki] package: mc
package: findutils-locate => [OpenWrt Wiki] package: findutils-locate

Me too and it works.

Did you execute this step?

Hi @giacomo

source /etc/os-release
VERSION=$(echo $VERSION | cut -d- -f2)

The first time I didn’t put the 2nd line: VERSION=$(echo $VERSION | cut -d- -f2)

Now it is working.

root@nethsec-1:~# opkg install mc
Installing mc (4.8.27-3) to root...
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/packages/mc_4.8.27-3_x86_64.ipk
Installing libssh2-1 (1.10.0-1) to root...
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/packages/libssh2-1_1.10.0-1_x86_64.ipk
Configuring libssh2-1.
Configuring mc.
root@nethsec-1:~#

Thank you,

Michel-André

1 Like