官网地址:https://ranger.github.io/
GitHub地址:https://github.com/ranger/ranger
1.介绍
Ranger是具有VI 键绑定的控制台文件管理器。
它提供了一个简约而美观的 curses 界面,并具有目录层次结构的视图,它附带了 rifle,这是一个文件启动器,擅长自动找出针对哪种文件类型使用哪个程序。
2.安装
Centos 7:
[root@node1 ~]# pip install ranger-fm
Collecting ranger-fm
Downloading https://files.pythonhosted.org/packages/7e/19/a7d9bb8646f87df5a3126fc385e45c04e55639c0576d31351083cb02f248/ranger-fm-1.9.3.tar.gz (226kB)
100% |████████████████████████████████| 235kB 37kB/s
Installing collected packages: ranger-fm
Running setup.py install for ranger-fm ... done
Successfully installed ranger-fm-1.9.3
You are using pip version 8.1.2, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Centos 6:
[root@node1 ~]# pip install ranger-fm
[root@node1 ~ 16:22:02]# cd /usr/local/python27/bin/
[root@node1 /usr/local/python27/bin 16:26:22]# ln /usr/local/python27/bin/ranger /usr/bin/ranger
[root@node1 ~ 16:29:13]# ranger
3.使用
[root@node1 tmp]# ranger