How To Install mc.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mc.x86_64 in Amazon Linux 2. mc.x86_64 is User-friendly text console file manager and visual shell

Introduction

In this tutorial we learn how to install mc.x86_64 on Amazon Linux 2.

What is mc.x86_64

Midnight Commander is a visual shell much like a file manager, only with many more features. It is a text mode application, but it also includes mouse support. Midnight Commander’s best features are its ability to FTP, view tar and zip files, and to poke into RPMs for specific files.

We can use yum to install mc.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mc.x86_64.

Install mc.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mc.x86_64 using yum by running the following command:

sudo yum -y install mc.x86_64

How To Uninstall mc.x86_64 on Amazon Linux 2

To uninstall only the mc.x86_64 package we can use the following command:

sudo yum remove mc.x86_64

mc.x86_64 Package Contents on Amazon Linux 2

/etc/mc
/etc/mc/edit.indent.rc
/etc/mc/filehighlight.ini
/etc/mc/mc.ext
/etc/mc/mc.keymap
/etc/mc/mc.keymap.default
/etc/mc/mc.keymap.emacs
/etc/mc/mc.menu
/etc/mc/mc.menu.sr
/etc/mc/mcedit.menu
/etc/mc/sfs.ini
/etc/profile.d/mc.csh
/etc/profile.d/mc.sh
/usr/bin/mc
/usr/bin/mcdiff
/usr/bin/mcedit
/usr/bin/mcview
/usr/libexec/mc
/usr/libexec/mc/cons.saver
/usr/libexec/mc/ext.d
/usr/libexec/mc/ext.d/archive.sh
/usr/libexec/mc/ext.d/doc.sh
/usr/libexec/mc/ext.d/image.sh
/usr/libexec/mc/ext.d/misc.sh
/usr/libexec/mc/ext.d/package.sh
/usr/libexec/mc/ext.d/sound.sh
/usr/libexec/mc/ext.d/text.sh
/usr/libexec/mc/ext.d/video.sh
/usr/libexec/mc/ext.d/web.sh
/usr/libexec/mc/extfs.d
/usr/libexec/mc/extfs.d/README
/usr/libexec/mc/extfs.d/README.extfs
/usr/libexec/mc/extfs.d/a+
/usr/libexec/mc/extfs.d/apt+
/usr/libexec/mc/extfs.d/audio
/usr/libexec/mc/extfs.d/bpp
/usr/libexec/mc/extfs.d/changesetfs
/usr/libexec/mc/extfs.d/deb
/usr/libexec/mc/extfs.d/deba
/usr/libexec/mc/extfs.d/debd
/usr/libexec/mc/extfs.d/dpkg+
/usr/libexec/mc/extfs.d/gitfs+
/usr/libexec/mc/extfs.d/hp48+
/usr/libexec/mc/extfs.d/iso9660
/usr/libexec/mc/extfs.d/lslR
/usr/libexec/mc/extfs.d/mailfs
/usr/libexec/mc/extfs.d/patchfs
/usr/libexec/mc/extfs.d/patchsetfs
/usr/libexec/mc/extfs.d/rpm
/usr/libexec/mc/extfs.d/rpms+
/usr/libexec/mc/extfs.d/s3+
/usr/libexec/mc/extfs.d/trpm
/usr/libexec/mc/extfs.d/u7z
/usr/libexec/mc/extfs.d/uace
/usr/libexec/mc/extfs.d/ualz
/usr/libexec/mc/extfs.d/uar
/usr/libexec/mc/extfs.d/uarc
/usr/libexec/mc/extfs.d/uarj
/usr/libexec/mc/extfs.d/uc1541
/usr/libexec/mc/extfs.d/ucab
/usr/libexec/mc/extfs.d/uha
/usr/libexec/mc/extfs.d/ulha
/usr/libexec/mc/extfs.d/ulib
/usr/libexec/mc/extfs.d/urar
/usr/libexec/mc/extfs.d/uzip
/usr/libexec/mc/extfs.d/uzoo
/usr/libexec/mc/fish
/usr/libexec/mc/fish/README.fish
/usr/libexec/mc/fish/append
/usr/libexec/mc/fish/chmod
/usr/libexec/mc/fish/chown
/usr/libexec/mc/fish/fexists
/usr/libexec/mc/fish/get
/usr/libexec/mc/fish/hardlink
/usr/libexec/mc/fish/info
/usr/libexec/mc/fish/ln
/usr/libexec/mc/fish/ls
/usr/libexec/mc/fish/mkdir
/usr/libexec/mc/fish/mv
/usr/libexec/mc/fish/rmdir
/usr/libexec/mc/fish/send
/usr/libexec/mc/fish/unlink
/usr/libexec/mc/fish/utime
/usr/libexec/mc/mc-wrapper.csh
/usr/libexec/mc/mc-wrapper.sh
/usr/libexec/mc/mc.csh
/usr/libexec/mc/mc.sh
/usr/share/doc/mc-4.8.7
/usr/share/doc/mc-4.8.7/COPYING
/usr/share/doc/mc-4.8.7/FAQ
/usr/share/doc/mc-4.8.7/NEWS
/usr/share/doc/mc-4.8.7/README
/usr/share/locale/az/LC_MESSAGES/mc.mo
/usr/share/locale/be/LC_MESSAGES/mc.mo
/usr/share/locale/bg/LC_MESSAGES/mc.mo
/usr/share/locale/ca/LC_MESSAGES/mc.mo
/usr/share/locale/cs/LC_MESSAGES/mc.mo
/usr/share/locale/da/LC_MESSAGES/mc.mo
/usr/share/locale/de/LC_MESSAGES/mc.mo
/usr/share/locale/de_CH/LC_MESSAGES/mc.mo
/usr/share/locale/el/LC_MESSAGES/mc.mo
/usr/share/locale/eo/LC_MESSAGES/mc.mo
/usr/share/locale/es/LC_MESSAGES/mc.mo
/usr/share/locale/et/LC_MESSAGES/mc.mo
/usr/share/locale/eu/LC_MESSAGES/mc.mo
/usr/share/locale/fa/LC_MESSAGES/mc.mo
/usr/share/locale/fi/LC_MESSAGES/mc.mo
/usr/share/locale/fi_FI/LC_MESSAGES/mc.mo
/usr/share/locale/fr/LC_MESSAGES/mc.mo
/usr/share/locale/gl/LC_MESSAGES/mc.mo
/usr/share/locale/hr/LC_MESSAGES/mc.mo
/usr/share/locale/hu/LC_MESSAGES/mc.mo
/usr/share/locale/ia/LC_MESSAGES/mc.mo
/usr/share/locale/id/LC_MESSAGES/mc.mo
/usr/share/locale/it/LC_MESSAGES/mc.mo
/usr/share/locale/it_IT/LC_MESSAGES/mc.mo
/usr/share/locale/ja/LC_MESSAGES/mc.mo
/usr/share/locale/ka/LC_MESSAGES/mc.mo
/usr/share/locale/ko/LC_MESSAGES/mc.mo
/usr/share/locale/lt/LC_MESSAGES/mc.mo
/usr/share/locale/lv/LC_MESSAGES/mc.mo
/usr/share/locale/mn/LC_MESSAGES/mc.mo
/usr/share/locale/nb/LC_MESSAGES/mc.mo
/usr/share/locale/nl/LC_MESSAGES/mc.mo
/usr/share/locale/pl/LC_MESSAGES/mc.mo
/usr/share/locale/pt/LC_MESSAGES/mc.mo
/usr/share/locale/pt_BR/LC_MESSAGES/mc.mo
/usr/share/locale/ro/LC_MESSAGES/mc.mo
/usr/share/locale/ru/LC_MESSAGES/mc.mo
/usr/share/locale/sk/LC_MESSAGES/mc.mo
/usr/share/locale/sl/LC_MESSAGES/mc.mo
/usr/share/locale/sr/LC_MESSAGES/mc.mo
/usr/share/locale/sv/LC_MESSAGES/mc.mo
/usr/share/locale/sv_SE/LC_MESSAGES/mc.mo
/usr/share/locale/ta/LC_MESSAGES/mc.mo
/usr/share/locale/tr/LC_MESSAGES/mc.mo
/usr/share/locale/uk/LC_MESSAGES/mc.mo
/usr/share/locale/vi/LC_MESSAGES/mc.mo
/usr/share/locale/wa/LC_MESSAGES/mc.mo
/usr/share/locale/zh_CN/LC_MESSAGES/mc.mo
/usr/share/locale/zh_TW/LC_MESSAGES/mc.mo
/usr/share/man/es/man1/mc.1.gz
/usr/share/man/hu/man1/mc.1.gz
/usr/share/man/it/man1/mc.1.gz
/usr/share/man/man1/mc.1.gz
/usr/share/man/man1/mcdiff.1.gz
/usr/share/man/man1/mcedit.1.gz
/usr/share/man/man1/mcview.1.gz
/usr/share/man/pl/man1/mc.1.gz
/usr/share/man/ru/man1/mc.1.gz
/usr/share/man/sr/man1/mc.1.gz
/usr/share/mc
/usr/share/mc/examples
/usr/share/mc/examples/macros.d
/usr/share/mc/examples/macros.d/macro.0.sh
/usr/share/mc/examples/macros.d/macro.1.sh
/usr/share/mc/examples/macros.d/macro.3.sh
/usr/share/mc/examples/macros.d/macro.4.sh
/usr/share/mc/examples/macros.d/macro.5.sh
/usr/share/mc/examples/macros.d/macro.6.sh
/usr/share/mc/examples/macros.d/macro.7.sh
/usr/share/mc/help
/usr/share/mc/help/mc.hlp
/usr/share/mc/help/mc.hlp.es
/usr/share/mc/help/mc.hlp.hu
/usr/share/mc/help/mc.hlp.it
/usr/share/mc/help/mc.hlp.pl
/usr/share/mc/help/mc.hlp.ru
/usr/share/mc/help/mc.hlp.sr
/usr/share/mc/hints
/usr/share/mc/hints/mc.hint
/usr/share/mc/hints/mc.hint.cs
/usr/share/mc/hints/mc.hint.es
/usr/share/mc/hints/mc.hint.hu
/usr/share/mc/hints/mc.hint.it
/usr/share/mc/hints/mc.hint.nl
/usr/share/mc/hints/mc.hint.pl
/usr/share/mc/hints/mc.hint.ru
/usr/share/mc/hints/mc.hint.sr
/usr/share/mc/hints/mc.hint.uk
/usr/share/mc/hints/mc.hint.zh
/usr/share/mc/mc.charsets
/usr/share/mc/mc.lib
/usr/share/mc/skins
/usr/share/mc/skins/dark.ini
/usr/share/mc/skins/darkfar.ini
/usr/share/mc/skins/default.ini
/usr/share/mc/skins/double-lines.ini
/usr/share/mc/skins/featured.ini
/usr/share/mc/skins/gotar.ini
/usr/share/mc/skins/mc46.ini
/usr/share/mc/skins/nicedark.ini
/usr/share/mc/skins/sand256.ini
/usr/share/mc/skins/xoria256.ini
/usr/share/mc/syntax
/usr/share/mc/syntax/PKGBUILD.syntax
/usr/share/mc/syntax/Syntax
/usr/share/mc/syntax/ada95.syntax
/usr/share/mc/syntax/as.syntax
/usr/share/mc/syntax/aspx.syntax
/usr/share/mc/syntax/assembler.syntax
/usr/share/mc/syntax/awk.syntax
/usr/share/mc/syntax/c.syntax
/usr/share/mc/syntax/cabal.syntax
/usr/share/mc/syntax/changelog.syntax
/usr/share/mc/syntax/cmake.syntax
/usr/share/mc/syntax/cs.syntax
/usr/share/mc/syntax/css.syntax
/usr/share/mc/syntax/cxx.syntax
/usr/share/mc/syntax/cython.syntax
/usr/share/mc/syntax/d.syntax
/usr/share/mc/syntax/debian-changelog.syntax
/usr/share/mc/syntax/debian-control.syntax
/usr/share/mc/syntax/debian-description.syntax
/usr/share/mc/syntax/debian-sources-list.syntax
/usr/share/mc/syntax/diff.syntax
/usr/share/mc/syntax/dlink.syntax
/usr/share/mc/syntax/dos.syntax
/usr/share/mc/syntax/ebuild.syntax
/usr/share/mc/syntax/eiffel.syntax
/usr/share/mc/syntax/erlang.syntax
/usr/share/mc/syntax/f90.syntax
/usr/share/mc/syntax/filehighlight.syntax
/usr/share/mc/syntax/fortran.syntax
/usr/share/mc/syntax/haskell.syntax
/usr/share/mc/syntax/html.syntax
/usr/share/mc/syntax/idl.syntax
/usr/share/mc/syntax/ini.syntax
/usr/share/mc/syntax/j.syntax
/usr/share/mc/syntax/java.syntax
/usr/share/mc/syntax/js.syntax
/usr/share/mc/syntax/latex.syntax
/usr/share/mc/syntax/lisp.syntax
/usr/share/mc/syntax/lsm.syntax
/usr/share/mc/syntax/lua.syntax
/usr/share/mc/syntax/m4.syntax
/usr/share/mc/syntax/mail.syntax
/usr/share/mc/syntax/makefile.syntax
/usr/share/mc/syntax/ml.syntax
/usr/share/mc/syntax/named.syntax
/usr/share/mc/syntax/nemerle.syntax
/usr/share/mc/syntax/nroff.syntax
/usr/share/mc/syntax/octave.syntax
/usr/share/mc/syntax/pascal.syntax
/usr/share/mc/syntax/perl.syntax
/usr/share/mc/syntax/php.syntax
/usr/share/mc/syntax/po.syntax
/usr/share/mc/syntax/povray.syntax
/usr/share/mc/syntax/procmail.syntax
/usr/share/mc/syntax/properties.syntax
/usr/share/mc/syntax/python.syntax
/usr/share/mc/syntax/ruby.syntax
/usr/share/mc/syntax/sh.syntax
/usr/share/mc/syntax/slang.syntax
/usr/share/mc/syntax/smalltalk.syntax
/usr/share/mc/syntax/spec.syntax
/usr/share/mc/syntax/sql.syntax
/usr/share/mc/syntax/strace.syntax
/usr/share/mc/syntax/swig.syntax
/usr/share/mc/syntax/syntax.syntax
/usr/share/mc/syntax/tcl.syntax
/usr/share/mc/syntax/texinfo.syntax
/usr/share/mc/syntax/tt.syntax
/usr/share/mc/syntax/unknown.syntax
/usr/share/mc/syntax/verilog.syntax
/usr/share/mc/syntax/vhdl.syntax
/usr/share/mc/syntax/xml.syntax
/usr/share/mc/syntax/yum-repo.syntax
/usr/share/mc/syntax/yxx.syntax

References

Summary

In this tutorial we learn how to install mc.x86_64 on Amazon Linux 2 using yum.