Sign in

Install xhprof, tar - zxvf xhprof-0.9.4.tgz xhprof error

Elena2020 edited in Sat, 06 Aug 2022

When installing xhprof extension on laravel project installed in docker and executing tar - zxvf xhprof-0.9.4.tgz xhprof, the following error is reported:

tar: xhprof: Not found in archive
tar: Exiting with failure status due to previous errors

As shown in the screenshot:


2 Replies
commented on Sat, 06 Aug 2022

Tar - zxvf xhprof-0.9.4.tgz xhprof will only unzip xhprof file in xhprof-0.9.4.tgz package. If you want to unzip this package to xhprof directory, please use tar - zxvf xhprof-0.9.4.tgz -- directory. / xhprof

commented on Sun, 07 Aug 2022

tar -zxvf xhprof-0.9.4.tgz -C xhprof

lock This question has been locked and the reply function has been disabled.