Skip to content

Instantly share code, notes, and snippets.

@ryanmaclean
Created January 10, 2022 03:06
Show Gist options
  • Save ryanmaclean/290d1ede7e21bfb32d9173c63287ff47 to your computer and use it in GitHub Desktop.
Save ryanmaclean/290d1ede7e21bfb32d9173c63287ff47 to your computer and use it in GitHub Desktop.
Install Midnight Commander on Asus Lockerstor ADM 4.0
#!/usr/bin/env sh
# Version of rpm shipped with ADM 4 doesn't do `rpm -ivh`
# Hacky, but working for now
# All packages from RPM find, el7 x86-64 versions, latest
# e.g.: https://www.rpmfind.net/linux/rpm2html/search.php?query=mc&submit=Search+...
# `wget https://www.rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/mc-4.8.7-11.el7.x86_64.rpm`
rpm -i gpm-libs-1.20.7-6.el7.x86_64.rpm
rpm -i libssh2-1.8.0-4.el7.x86_64.rpm
rpm -i openssl-libs-1.0.2k-19.el7.x86_64.rpm
rpm -i slang-2.2.4-11.el7.x86_64.rpm
rpm -i unrar-5.4.0-1.el7.x86_64.rpm
rpm -i mc-4.8.7-11.el7.x86_64.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment