-bash: unrar: command not found


1、问题

-bash: unrar: command not found

 

 

2、系统

root@ubuntu01:/home/test# hostnamectl
   Static hostname: ubuntu01
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 5bf1e11dc02047718a7a7146b52f9b07
           Boot ID: 6e92c587f51e49118fc99d79d86d8a5c
    Virtualization: vmware
  Operating System: Ubuntu 20.04.4 LTS
            Kernel: Linux 5.13.0-37-generic
      Architecture: x86-64

 

3、安装:

apt install rar
apt install unrar

 

 

4、测试

root@ubuntu01:/home/test# ls
sheeptest.rar
root@ubuntu01:/home/test# unrar e sheeptest.rar

UNRAR 5.61 beta 1 freeware      Copyright (c) 1993-2018 Alexander Roshal


Extracting from sheeptest.rar

Extracting  outcome.map                                               OK
Extracting  outcome.ped                                               OK
All OK
root@ubuntu01:/home/test# ls
outcome.map  outcome.ped  sheeptest.rar

 

???

root@ubuntu01:/home/test# rar e sheeptest.rar

RAR 5.50   Copyright (c) 1993-2017 Alexander Roshal   11 Aug 2017
Trial version             Type 'rar -?' for help


Extracting from sheeptest.rar

Extracting  outcome.map                                               OK
Extracting  outcome.ped                                               OK
All OK

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM