Answer the question
In order to leave comments, you need to log in
[[+content_image]]
Why can't tar see the file?
I install PhantomJS according to this manual https://www.bonusbits.com/wiki/HowTo:Install_Phant...
I downloaded the archive to the current folder
[[email protected] ~]# pwd
/root
2018-02-12 14:51:30 (497 KB/s) - ‘phantomjs-1.9.8-linux-x86_64.tar.bz2’ saved [13163325/13163325]
mkdir -p /opt/phantomjs
- folder created [[email protected] ~]# ls -lh phantomjs-1.9.8-linux-x86_64.tar.bz2
-rw-r--r-- 1 root root 13M Oct 25 2014 phantomjs-1.9.8-linux-x86_64.tar.bz2
[[email protected] ~]# tar -xjvf ./phantomjs-1.9.8-linux-x86_64.tar.bz2 --strip-components 1 /opt/phantomjs/
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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question