# Install Anaconda when using custom toolchain location

**URL:** <https://forum.anaconda.com/t/install-anaconda-when-using-custom-toolchain-location/54329>\
**Category:** Anaconda & Miniconda\
**Created:** [April 19, 2023, 7:28pm UTC](https://forum.anaconda.com/t/install-anaconda-when-using-custom-toolchain-location/54329 "2023-04-19T19:28:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicholasXYZ](https://avatars.discourse-cdn.com/v4/letter/n/0075a9/32.png) [@nicholasXYZ](https://forum.anaconda.com/u/nicholasXYZ)\
**Post date:** [April 19, 2023, 7:28pm UTC](https://forum.anaconda.com/t/install-anaconda-when-using-custom-toolchain-location/54329/1 "2023-04-19T19:28:00Z")

</div>

How do I install Anaconda from source like every other package in the word? I am unable to find a standard source tar with a standard ./configure script.

I have tried editing the .sh file to point to my non-root linker in /nfs/xyz/lib/ld-linux-x86-64.so.2 and using LD\_LIBRARY\_PATH by removing the “unset LD\_LIBRARY\_PATH” line with no luck.

I can install most linux packages like cmake and python on my toolchain and they work just fine. But, when I try to install Anaconda it defaults to the root /lib/ linker and complains about the GLIBC version (the whole reason I have my own toolchain).

Is there an easy way to override the .sh file’s linker path without corrupting the silly appended tar file?

---

<div class="post-metadata">

**Author:** ![nicholasXYZ](https://avatars.discourse-cdn.com/v4/letter/n/0075a9/32.png) [@nicholasXYZ](https://forum.anaconda.com/u/nicholasXYZ)\
**Post date:** [April 19, 2023, 7:29pm UTC](https://forum.anaconda.com/t/install-anaconda-when-using-custom-toolchain-location/54329/2 "2023-04-19T19:29:19Z")

</div>

lol I can only edit but can’t delete this comment. I made the edit to my post which this comment referenced.

---

<div class="post-metadata">

**Author:** ![nicholasXYZ](https://avatars.discourse-cdn.com/v4/letter/n/0075a9/32.png) [@nicholasXYZ](https://forum.anaconda.com/u/nicholasXYZ)\
**Post date:** [April 19, 2023, 7:51pm UTC](https://forum.anaconda.com/t/install-anaconda-when-using-custom-toolchain-location/54329/3 "2023-04-19T19:51:41Z")

</div>

Miniconda3-py310\_23.1.0-1-Linux-x86\_64.sh: line 354: /nfs/xyz/usr/anaconda3/conda.exe: cannot execute binary file: Exec format error

conda.exe looks like: ^?ELF^B^A^A^@etc…/nfs/xyz/lib/ld-linux-x86-64.so.2^@etc…

cat /etc/os-release  
NAME=“SLES”  
VERSION=“11.4”

(you can see why I need a custom toolchain with a newer GLIBC version)
