tar (child): bzip2: Cannot exec: No such file or directory
[root@zabbix01 src]# tar jxf php-5.6.13.tar.bz2
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[root@zabbix01 src]# ll
total 66892
drwxr-xr-x.  2 root root         6 Apr 11  2018 debug
drwxr-xr-x.  2 root root         6 Apr 11  2018 kernels
drwxrwxrwx   9  500 adm       4096 Nov 17 15:39 libmcrypt-2.5.8
-rw-r--r--   1 root root   1335178 Jun  5  2018 libmcrypt-2.5.8.tar.gz
drwxr-xr-x  35 7161 wheel     4096 Nov 17 15:03 mysql-5.6.26
-rw-r--r--   1 root root  33278710 Jun  5  2018 mysql-5.6.26.tar.gz
drwxr-xr-x   9 1001  1001      186 Nov 17 14:22 nginx-1.10.2
-rw-r--r--   1 root root    910812 Jun  5  2018 nginx-1.10.2.tar.gz
-rw-r--r--   1 root root  14077633 Jun  5  2018 php-5.6.13.tar.bz2
-rw-r--r--   1 root root   1752585 Sep 28 15:53 unixODBC-2.3.11.tar.gz
-rw-r--r--   1 root root  17125633 Mar 15  2021 zabbix-4.0.8.tar.gz
[root@zabbix01 src]# yum install -y bzip2
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirrors.bfsu.edu.cn
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================================================================================================
 Package                                                      Arch                                                          Version                                                             Repository                                                   Size
==================================================================================================================================================================================================================================================================
Installing:
 bzip2                                                        x86_64                                                        1.0.6-13.el7                                                        base                                                         52 k
Transaction Summary
==================================================================================================================================================================================================================================================================
Install  1 Package
Total download size: 52 k
Installed size: 82 k
Downloading packages:
bzip2-1.0.6-13.el7.x86_64.rpm                                                                                                                                                                                                              |  52 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : bzip2-1.0.6-13.el7.x86_64                                                                                                                                                                                                                      1/1 
  Verifying  : bzip2-1.0.6-13.el7.x86_64                                                                                                                                                                                                                      1/1 
Installed:
  bzip2.x86_64 0:1.0.6-13.el7                                                                                                                                                                                                                                     
Complete!
[root@zabbix01 src]# tar jxf php-5.6.13.tar.bz2
 
                    
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号