I am trying to install Boost on an unix cluster machine following the Boost instructions
I downloaded boost_1_43_0.tar.bz2 and was then instructed to execute the following command:
tar –bzip2 -xf /path/to/boost_1_43_0.tar.bz2
However it didn’t work and this is the output I get:
tar –bzip2 -xf
/path/to/boost_1_43_0.tar.bz2tar: /path/to/boost_1_43_0.tar.bz2:
Cannot open: No such file or directorytar: Error is not recoverable: exiting
nowtar: Child returned status 2
tar: Error exit delayed from previous
errors
You don’t literally write
/path/to/boost_1_43_0.tar.bz2.If the archive is in the current directory, you write
./boost_1_43_0.tar.bz2, for instance. Or if you saved it in the/tmpdirectory, the command would betar --bzip2 -xf /tmp/boost_1_43_0.tar.bz2.Instructions that use
/path/to/some/fileto indicate that you need to use your own path are pretty common. You’ll need to be careful about reading the commands before you execute them in the future, too.