git clone https://github.com/singularityware/singularity.git
cd singularity
git fetch --all
git checkout 2.6.0
./autogen.sh
./configure --prefix=/usr/local
make
sudo make install
Can't install singularity using these steps mentioned in the documentation.
Heya @ghltshubh , sorry for the inconvenient, those steps are for 2.X releases
Here the Updated INSTALL document for the 3.0 version, which is currently on ALPHA, so is very unstable.
if you want a specific release you can do
$ git checkout tags/${version} -b ${version}
let me know if this was helpful.
cheers
But its mentioned in the documentation of singularity v2.5.x? I guess it wasn't updated.
could you point me to the documentation you are reading so we can rise an issue for a fix update.
thanks
Umm I just ran those lines and worked, could you show me your command line output?
I am hitting this error: https://github.com/singularityware/singularity/issues/1401
But when I try the workaround I get
Package libarchive was not found in the pkg-config search path.
Perhaps you should add the directory containing `libarchive.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libarchive' found
Package libarchive was not found in the pkg-config search path.
Perhaps you should add the directory containing `libarchive.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libarchive' found
I'll PING someone that will probably came out with a fix for this.
PING -> @jmstover
I think I messed up with the requirements. Do you need python 2 or 3 for building from source?
Heya @ghltshubh. Sorry, it doesn't look like the quick start version of the documentation is covering the dependancies that must be installed. Try these instructions instead and see if they are more useful.
I think there must be a warning in the quick start section that you need to have these tools installed before going for a quick start. Also documentation for both v2.5 and v2.6 point to the same documentation.
@devprincess ^^
Hey @ghltshubh you can find documentation for v2.5 here https://www.sylabs.io/guides/2.5/user-guide/ and for v2.6 here -> https://www.sylabs.io/guides/2.6/user-guide/ of course both versions differ, as on 2.6 you can see new added sections on the left side bar (e.g. Frequently Asked questions and Contributing on v.2.6) Also, I highly suggest reading the warning on "Before you begin" which states you need to install some dependencies before installing a specific version (that is why the libarchive warning there) Check it here: https://www.sylabs.io/guides/2.6/user-guide/installation.html#before-you-begin , Thank you!
Most helpful comment
Hey @ghltshubh you can find documentation for v2.5 here https://www.sylabs.io/guides/2.5/user-guide/ and for v2.6 here -> https://www.sylabs.io/guides/2.6/user-guide/ of course both versions differ, as on 2.6 you can see new added sections on the left side bar (e.g. Frequently Asked questions and Contributing on v.2.6) Also, I highly suggest reading the warning on "Before you begin" which states you need to install some dependencies before installing a specific version (that is why the libarchive warning there) Check it here: https://www.sylabs.io/guides/2.6/user-guide/installation.html#before-you-begin , Thank you!