This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Trouble when installing arb

Hi!

I am struggling trying to to install arb to my linux server.

I downloaded the recent arb install files and performed

bash arb_install.sh

Then, I faced an error message that calls;

#arb.tgz uncompressed and untared
Error in arb_install.sh:
  bin/arb_ntree not found
Please fix and then rerun script!

I have no clue where to start with this error.. I tried searching for the answer but couldn't find a suitable solution.

Thank you in advance for your helps!

arb

Hi! The error says that arb_ntree is missing in bin/ folder. How have you installed the tool? Have you followed README instructions?

thank you for your comment! yes, i am aware that it means that "arb_ntree" is missing in the bin/ folder. I followed the readme instructions and was unsuccessful in installing the "arb_ntree" program. most of all, i was unable to locate where to find the arb_ntree source for me to download and install manually.

I've got the same error when installing from arb-6.0.6-source.tgz and arb-7.0-source.tgz. Anyone has any solution?

Are you referring to software found here --> http://download.arb-home.de/release/latest/ ? If so why are you installing the source. Authors recommend that you use pre-compiled binaries.

Also of note is this from authors:

Do not uncompress and untar arb.tgz directly, instead, use the install script (arb_install.sh)!

1 answer

You have downloaded the ARB source code distribution instead of a pre-compiled binary distribution. The source code distribution requires compilation to generate the executable files, including bin/arb_ntree. The arb_install.sh script does not perform compilation; it expects a binary distribution that already contains the executable bin/arb_ntree.

To resolve this issue, download a pre-compiled binary distribution suitable for your Linux system. The authors recommend using binary distributions rather than compiling from source.

Follow these steps:

  1. Navigate to the ARB download page at http://download.arb-home.de/release/latest/.

  2. Download the file named arb_install.sh.

  3. Select and download the binary distribution that matches your Linux distribution and architecture. For example:

    • If your system is Ubuntu 20.04, download arb-7.0.ubuntu2004-amd64.tgz.
    • If your system is Debian 10, download arb-7.0.debian10-amd64.tgz.
    • Choose the closest match if your exact version is not listed.
  4. Place arb_install.sh and the downloaded .tgz file in the same directory.

  5. Execute the installation script:

    bash arb_install.sh
    

The script will decompress the archive and install ARB. If prompted, confirm the location of the .tgz file.

If your Linux distribution has a package manager that includes ARB (such as apt on Debian or Ubuntu), you can install it directly with:

sudo apt update
sudo apt install arb

This method avoids manual installation.

Kevin

Log in to answer this question.