🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 53 (from laksa175)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

📄
INDEXABLE
CRAWLED
8 days ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0.3 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found
Last Crawled2026-04-14 16:09:55 (8 days ago)
First Indexed2017-04-26 09:45:04 (8 years ago)
HTTP Status Code200
Content
Meta Titlebash - Variable path issue : conda command not found - Ask Ubuntu
Meta Descriptionnull
Meta Canonicalnull
Boilerpipe Text
After installing Anaconda correctly. I wanted after finishing the installation to do the following. I forget to do it while installing anaconda: export PATH= "/root/anaconda3/bin" conda --version conda command not found then I opened gedit /root/.bashrc I added at the end of file export PATH= "/root/anaconda3/bin" but I still get conda --version conda command not found EDIT1: gedit /root/.bashrc # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running interactively, don't do anything [ -z " $PS1 " ] && return # don't put duplicate lines in the history. See bash(1) for more options # ... or force ignoredups and ignorespace HISTCONTROL=ignoredups:ignorespace # append to the history file, don't overwrite it shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=1000 HISTFILESIZE=2000 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval " $(SHELL=/bin/sh lesspipe) " # set variable identifying the chroot you work in (used in the prompt below) if [ -z " $debian_chroot " ] && [ -r /etc/debian_chroot ]; then debian_chroot=$( cat /etc/debian_chroot) fi # set a fancy prompt (non-color, unless we know we "want" color) case " $TERM " in xterm-color) color_prompt= yes ;; esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt #force_color_prompt=yes if [ -n " $force_color_prompt " ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then # We have color support; assume it's compliant with Ecma-48 # (ISO/IEC-6429). (Lack of such support is extremely rare, and such # a case would tend to support setf rather than setaf.) color_prompt= yes else color_prompt= fi fi if [ " $color_prompt " = yes ]; then PS1= '${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else PS1= '${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi unset color_prompt force_color_prompt # If this is an xterm set the title to user@host:dir case " $TERM " in xterm*|rxvt*) PS1= "\[\e]0; ${debian_chroot:+($debian_chroot)} \u@\h: \w\a\] $PS1 " ;; *) ;; esac # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval " $(dircolors -b ~/.dircolors) " || eval " $(dircolors -b) " alias ls = 'ls --color=auto' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' alias grep= 'grep --color=auto' alias fgrep= 'fgrep --color=auto' alias egrep= 'egrep --color=auto' fi # some more ls aliases alias ll= 'ls -alF' alias la= 'ls -A' alias l= 'ls -CF' # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package. if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then # . /etc/bash_completion #fi l did also the following : echo $PATH /home/ahmed/anaconda3/bin:/home/ahmed/anaconda3/bin:/home/ahmed/anaconda3/bin:/home/ahmed/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games What's wrong with my code? There are lots path in this path!!
Markdown
# ![site logo](https://stackoverflow.com/Content/Img/SE-logo75.png) By clicking “Sign up”, you agree to our [terms of service](https://askubuntu.com/legal/terms-of-service/public) and acknowledge you have read our [privacy policy](https://askubuntu.com/legal/privacy-policy). # OR Already have an account? [Log in](https://askubuntu.com/users/login) - [Ubuntu](http://www.ubuntu.com/) - [Community](http://community.ubuntu.com/) - [Ask\!](http://askubuntu.com/) - [Developer](http://developer.ubuntu.com/) - [Design](http://design.ubuntu.com/) - [Hardware](http://www.ubuntu.com/certification) - [Insights](http://insights.ubuntu.com/) - [Juju](https://jujucharms.com/) - [Shop](http://shop.ubuntu.com/) - [More ›](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found) - [Apps](http://apps.ubuntu.com/) - [Help](https://help.ubuntu.com/) - [Forum](http://ubuntuforums.org/) - [Launchpad](http://www.launchpad.net/) - [MAAS](http://maas.ubuntu.com/) - [Canonical](http://www.canonical.com/) [Skip to main content](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found#content) #### Stack Exchange Network Stack Exchange network consists of 183 Q\&A communities including [Stack Overflow](https://stackoverflow.com/), the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. [Visit Stack Exchange](https://stackexchange.com/) 1. - [Tour Start here for a quick overview of the site](https://askubuntu.com/tour) - [Help Center Detailed answers to any questions you might have](https://askubuntu.com/help) - [Meta Discuss the workings and policies of this site](https://meta.askubuntu.com/) - [About Us Learn more about Stack Overflow the company, and our products](https://stackoverflow.co/) 2. ### [current community](https://askubuntu.com/) - [Ask Ubuntu](https://askubuntu.com/) [help](https://askubuntu.com/help) [chat](https://chat.stackexchange.com/?tab=site&host=askubuntu.com) - [Ask Ubuntu Meta](https://meta.askubuntu.com/) ### your communities [Sign up](https://askubuntu.com/users/signup?ssrc=site_switcher&returnurl=https%3A%2F%2Faskubuntu.com%2Fquestions%2F908827%2Fvariable-path-issue-conda-command-not-found) or [log in](https://askubuntu.com/users/login?ssrc=site_switcher&returnurl=https%3A%2F%2Faskubuntu.com%2Fquestions%2F908827%2Fvariable-path-issue-conda-command-not-found) to customize your list. ### [more stack exchange communities](https://stackexchange.com/sites) [company blog](https://stackoverflow.blog/) 3. [Log in](https://askubuntu.com/users/login?ssrc=head&returnurl=https%3A%2F%2Faskubuntu.com%2Fquestions%2F908827%2Fvariable-path-issue-conda-command-not-found) 4. [Sign up](https://askubuntu.com/users/signup?ssrc=head&returnurl=https%3A%2F%2Faskubuntu.com%2Fquestions%2F908827%2Fvariable-path-issue-conda-command-not-found) [![Ask Ubuntu](https://askubuntu.com/Content/Sites/askubuntu/Img/logo.svg?v=472cf2768bba)](https://askubuntu.com/) 1. 1. [Home](https://askubuntu.com/) 2. [Questions](https://askubuntu.com/questions) 3. [Unanswered](https://askubuntu.com/unanswered) 4. [AI Assist](https://stackoverflow.com/ai-assist) 5. [Tags](https://askubuntu.com/tags) 6. [Chat](https://chat.stackexchange.com/) 7. [Users](https://askubuntu.com/users) 8. [Companies](https://stackoverflow.com/jobs/companies?so_medium=askubuntu&so_source=SiteNav) 2. Stack Internal Stack Overflow for Teams is now called **Stack Internal**. Bring the best of human thought and AI automation together at your work. [Try for free](https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=askubuntu-community&utm_campaign=side-bar&utm_content=explore-teams) [Learn more](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=askubuntu-community&utm_campaign=side-bar&utm_content=explore-teams) 3. [Stack Internal]() 4. Bring the best of human thought and AI automation together at your work. [Learn more](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=askubuntu-community&utm_campaign=side-bar&utm_content=explore-teams-compact) **Stack Internal** Knowledge at work Bring the best of human thought and AI automation together at your work. [Explore Stack Internal](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=askubuntu-community&utm_campaign=side-bar&utm_content=explore-teams-compact-popover) # [Variable path issue : conda command not found](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found) [Ask Question](https://askubuntu.com/questions/ask) Asked 8 years, 11 months ago Modified [5 years, 10 months ago](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found?lastactivity "2020-05-09 20:00:24Z") Viewed 311k times This question shows research effort; it is useful and clear 37 Save this question. Show activity on this post. After installing Anaconda correctly. I wanted after finishing the installation to do the following. I forget to do it while installing anaconda: ``` export PATH="/root/anaconda3/bin" conda --version conda command not found ``` then I opened ``` gedit /root/.bashrc ``` I added at the end of file ``` export PATH="/root/anaconda3/bin" ``` but I still get ``` conda --version conda command not found ``` EDIT1: gedit /root/.bashrc ``` # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running interactively, don't do anything [ -z "$PS1" ] && return # don't put duplicate lines in the history. See bash(1) for more options # ... or force ignoredups and ignorespace HISTCONTROL=ignoredups:ignorespace # append to the history file, don't overwrite it shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=1000 HISTFILESIZE=2000 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" # set variable identifying the chroot you work in (used in the prompt below) if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) fi # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color) color_prompt=yes;; esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt #force_color_prompt=yes if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then # We have color support; assume it's compliant with Ecma-48 # (ISO/IEC-6429). (Lack of such support is extremely rare, and such # a case would tend to support setf rather than setaf.) color_prompt=yes else color_prompt= fi fi if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi unset color_prompt force_color_prompt # If this is an xterm set the title to user@host:dir case "$TERM" in xterm*|rxvt*) PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" ;; *) ;; esac # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' fi # some more ls aliases alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package. if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then # . /etc/bash_completion #fi ``` l did also the following : ``` echo $PATH /home/ahmed/anaconda3/bin:/home/ahmed/anaconda3/bin:/home/ahmed/anaconda3/bin:/home/ahmed/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games ``` What's wrong with my code? There are lots path in this path!\! - [bash](https://askubuntu.com/questions/tagged/bash "show questions tagged 'bash'") - [paths](https://askubuntu.com/questions/tagged/paths "show questions tagged 'paths'") - [anaconda](https://askubuntu.com/questions/tagged/anaconda "show questions tagged 'anaconda'") - [conda](https://askubuntu.com/questions/tagged/conda "show questions tagged 'conda'") [Share](https://askubuntu.com/q/908827 "Short permalink to this question") Share a link to this question Copy link [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/ "The current license for this post: CC BY-SA 4.0") [Improve this question](https://askubuntu.com/posts/908827/edit) Follow Follow this question to receive notifications [edited May 9, 2020 at 20:00](https://askubuntu.com/posts/908827/revisions "show all edits to this post") [![Joshua Schwartz's user avatar](https://lh6.googleusercontent.com/-zwRHXMJyDps/AAAAAAAAAAI/AAAAAAAAAaY/VU0LEWxlEEA/s64-rj/photo.jpg)](https://askubuntu.com/users/938693/joshua-schwartz) [Joshua Schwartz](https://askubuntu.com/users/938693/joshua-schwartz) 2377 bronze badges asked Apr 25, 2017 at 16:26 [![vincent 's user avatar](https://www.gravatar.com/avatar/b807fa91883d424f624e3bbfed7a3034?s=64&d=identicon&r=PG&f=y&so-version=2)](https://askubuntu.com/users/667606/vincent) [vincent](https://askubuntu.com/users/667606/vincent) 57133 gold badges99 silver badges1414 bronze badges 4 - Is conda installed in the home folder? What's the output of `ll ~/` M. Becerra – [M. Becerra](https://askubuntu.com/users/605093/m-becerra "3,558 reputation") 2017-04-25 16:29:10 +00:00 [Commented Apr 25, 2017 at 16:29](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found#comment1428467_908827) - ll ~/ Command 'ls' is available in '/bin/ls' The command could not be located because '/bin' is not included in the PATH environment variable. ls: command not found vincent – [vincent](https://askubuntu.com/users/667606/vincent "571 reputation") 2017-04-25 16:29:51 +00:00 [Commented Apr 25, 2017 at 16:29](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found#comment1428469_908827) - anaconda3 is installed in /root/anaconda3/ vincent – [vincent](https://askubuntu.com/users/667606/vincent "571 reputation") 2017-04-25 16:30:18 +00:00 [Commented Apr 25, 2017 at 16:30](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found#comment1428470_908827) - You installed it in `/root` instead of `/home/$USER/`. You must have been in the `root home` when you did so. please move it to `/home/$USER` George Udosen – [George Udosen](https://askubuntu.com/users/459561/george-udosen "37,784 reputation") 2017-04-25 16:33:15 +00:00 [Commented Apr 25, 2017 at 16:33](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found#comment1428476_908827) [Add a comment](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found "Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.") \| ## 4 Answers 4 Sorted by: [Reset to default](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found?answertab=scoredesc#tab-top) This answer is useful 55 Save this answer. Show activity on this post. Try adding below line to your `.bashrc` file ``` export PATH=~/anaconda3/bin:$PATH ``` then try: ``` conda --version ``` to see version [Share](https://askubuntu.com/a/1062621 "Short permalink to this answer") Share a link to this answer Copy link [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/ "The current license for this post: CC BY-SA 4.0") [Improve this answer](https://askubuntu.com/posts/1062621/edit) Follow Follow this answer to receive notifications [edited Aug 5, 2018 at 21:42](https://askubuntu.com/posts/1062621/revisions "show all edits to this post") [![Stephen Rauch's user avatar](https://i.sstatic.net/13Fpq.png?s=64)](https://askubuntu.com/users/681688/stephen-rauch) [Stephen Rauch](https://askubuntu.com/users/681688/stephen-rauch) 1,15666 gold badges1515 silver badges2121 bronze badges answered Aug 5, 2018 at 15:53 [![dgamer's user avatar](https://lh5.googleusercontent.com/-j5q9SDATsfI/AAAAAAAAAAI/AAAAAAAAAiw/hbbCdMDQYuk/s64-rj/photo.jpg)](https://askubuntu.com/users/786979/dgamer) [dgamer](https://askubuntu.com/users/786979/dgamer) 65155 silver badges55 bronze badges 1 - 1 but I shouldn't need to run 'export PATH=~/anaconda3/bin:\$PATH' every single time Pavlos – [Pavlos](https://askubuntu.com/users/392593/pavlos "121 reputation") 2020-01-23 12:37:06 +00:00 [Commented Jan 23, 2020 at 12:37](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found#comment2021962_1062621) [Add a comment](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found "Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.") \| This answer is useful 11 Save this answer. Show activity on this post. Lets fix it like this: 1. Move it out of `/root/` with: ``` sudo mv /root/anaconda3 /home/$USER ``` 2. Add this to `/home/ahmed/.bashrc`**please don't use 'sudo' here** simple do `nano /home/$USER/.bashrc`: ``` # Anaconda3 export PATH="/home/ahmed/anaconda2/bin:$PATH" ``` 3. Source the `.bashrc` file with: ``` source /home/ahmed/.bashrc ``` 4. Now delete the entry \[`export PATH="/root/anaconda3/bin"`\] in `/root/.bashrc` with `nano editor` or with the editor you used before 5. Open new terminal and check [Share](https://askubuntu.com/a/908838 "Short permalink to this answer") Share a link to this answer Copy link [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/ "The current license for this post: CC BY-SA 3.0") [Improve this answer](https://askubuntu.com/posts/908838/edit) Follow Follow this answer to receive notifications [edited Apr 25, 2017 at 17:01](https://askubuntu.com/posts/908838/revisions "show all edits to this post") answered Apr 25, 2017 at 16:48 [![George Udosen's user avatar](https://i.sstatic.net/XkMDo.jpg?s=64)](https://askubuntu.com/users/459561/george-udosen) [George Udosen](https://askubuntu.com/users/459561/george-udosen) 37\.8k1313 gold badges110110 silver badges126126 bronze badges 1 - 1 But... the documentation says *not* to put it in your home directory (like it warns you not to do that). -- And like... if the supported path doesn't even work right then going down the explicitly unsupported path seems even worse... BrainSlugs83 – [BrainSlugs83](https://askubuntu.com/users/127722/brainslugs83 "101 reputation") 2021-02-04 08:53:26 +00:00 [Commented Feb 4, 2021 at 8:53](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found#comment2235915_908838) [Add a comment](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found "Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.") \| This answer is useful 2 Save this answer. Show activity on this post. Do the following: 1. Add this path to your .bashrc file `export PATH=~/anaconda3/bin:$PATH` or the path to the bin of your Anaconda insatllation 2. Then reopen your terminal 3. Type `conda --version` [Share](https://askubuntu.com/a/1167525 "Short permalink to this answer") Share a link to this answer Copy link [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/ "The current license for this post: CC BY-SA 4.0") [Improve this answer](https://askubuntu.com/posts/1167525/edit) Follow Follow this answer to receive notifications answered Aug 22, 2019 at 4:34 [![Yash's user avatar](https://www.gravatar.com/avatar/2cc3b7a5e7f55a55419a357566cf6a12?s=64&d=identicon&r=PG&f=y&so-version=2)](https://askubuntu.com/users/711664/yash) [Yash](https://askubuntu.com/users/711664/yash) 23333 silver badges1313 bronze badges [Add a comment](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found "Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.") \| This answer is useful 1 Save this answer. Show activity on this post. Make sure that you are installing the Anaconda binary that is compatible with your kernel. I was in the same situation. Turned out I have an x64\_86 CPU and was trying to install a 64 bit Power 8 installer. You can find out the same for your CPU by using the following command. It gives you a basic information about a computer's software and hardware. ``` $ uname -a ``` <https://www.anaconda.com/download/#linux> The page in the link above, displays 2 different types of 64-Bit installers. - 64-Bit (x86) installer and - 64-Bit (Power 8) installer [Share](https://askubuntu.com/a/964859 "Short permalink to this answer") Share a link to this answer Copy link [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/ "The current license for this post: CC BY-SA 3.0") [Improve this answer](https://askubuntu.com/posts/964859/edit) Follow Follow this answer to receive notifications [edited Oct 14, 2017 at 13:58](https://askubuntu.com/posts/964859/revisions "show all edits to this post") [![Thomas's user avatar](https://www.gravatar.com/avatar/20528497d61480a6242bde2d682d6736?s=64&d=identicon&r=PG&f=y&so-version=2)](https://askubuntu.com/users/490838/thomas) [Thomas](https://askubuntu.com/users/490838/thomas) 6,4711313 gold badges3535 silver badges3838 bronze badges answered Oct 14, 2017 at 13:21 [![Taani's user avatar](https://www.gravatar.com/avatar/c9e0613bface5df39521ce66ce3bf626?s=64&d=identicon&r=PG&f=y&so-version=2)](https://askubuntu.com/users/747469/taani) [Taani](https://askubuntu.com/users/747469/taani) 1144 bronze badges [Add a comment](https://askubuntu.com/questions/908827/variable-path-issue-conda-command-not-found "Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.") \| ## You must [log in](https://askubuntu.com/users/login?ssrc=question_page&returnurl=https%3A%2F%2Faskubuntu.com%2Fquestions%2F908827) to answer this question. **[Protected question](https://askubuntu.com/help/privileges/protect-questions)**. To answer this question, you need to have at least 10 reputation on this site (not counting the [association bonus](https://meta.stackexchange.com/questions/141648/what-is-the-association-bonus-and-how-does-it-work)). The reputation requirement helps protect this question from spam and non-answer activity. Start asking to get answers Find the answer to your question by asking. [Ask question](https://askubuntu.com/questions/ask) Explore related questions - [bash](https://askubuntu.com/questions/tagged/bash "show questions tagged 'bash'") - [paths](https://askubuntu.com/questions/tagged/paths "show questions tagged 'paths'") - [anaconda](https://askubuntu.com/questions/tagged/anaconda "show questions tagged 'anaconda'") - [conda](https://askubuntu.com/questions/tagged/conda "show questions tagged 'conda'") See similar questions with these tags. - The Overflow Blog - [Prevent agentic identity theft](https://stackoverflow.blog/2026/03/27/prevent-agentic-identity-theft/?cb=1) - [Building shared coding guidelines for AI (and people too)](https://stackoverflow.blog/2026/03/26/coding-guidelines-for-ai-agents-and-people-too/?cb=1) - Featured on Meta - [Should the Community Bot stop bumping questions from EOL releases?](https://meta.askubuntu.com/questions/20776/should-the-community-bot-stop-bumping-questions-from-eol-releases?cb=1) #### Linked [10](https://askubuntu.com/questions/1001865/conda-command-not-found?lq=1 "Question score (upvotes - downvotes)") [conda command not found](https://askubuntu.com/questions/1001865/conda-command-not-found?noredirect=1&lq=1) #### Related [28](https://askubuntu.com/questions/588497/sudo-conda-command-not-found?rq=1 "Question score (upvotes - downvotes)") [sudo: conda: command not found](https://askubuntu.com/questions/588497/sudo-conda-command-not-found?rq=1) [2](https://askubuntu.com/questions/909043/path-variable-issue?rq=1 "Question score (upvotes - downvotes)") [PATH variable issue](https://askubuntu.com/questions/909043/path-variable-issue?rq=1) [10](https://askubuntu.com/questions/1001865/conda-command-not-found?rq=1 "Question score (upvotes - downvotes)") [conda command not found](https://askubuntu.com/questions/1001865/conda-command-not-found?rq=1) [1](https://askubuntu.com/questions/1190784/how-to-fix-conda-missing-path-to-environment-variable?rq=1 "Question score (upvotes - downvotes)") [How to fix Conda "missing path to environment variable"?](https://askubuntu.com/questions/1190784/how-to-fix-conda-missing-path-to-environment-variable?rq=1) [0](https://askubuntu.com/questions/1196316/command-python-not-found-after-creating-conda-environment?rq=1 "Question score (upvotes - downvotes)") [Command 'python' not found after creating conda environment](https://askubuntu.com/questions/1196316/command-python-not-found-after-creating-conda-environment?rq=1) [1](https://askubuntu.com/questions/1230966/conda-activate-newenv-returns-powerline-shell-command-not-found?rq=1 "Question score (upvotes - downvotes)") [conda activate newenv returns "powerline-shell: command not found"](https://askubuntu.com/questions/1230966/conda-activate-newenv-returns-powerline-shell-command-not-found?rq=1) [3](https://askubuntu.com/questions/1252439/not-able-to-activate-conda-environment-through-os-system-command-in-python?rq=1 "Question score (upvotes - downvotes)") [Not able to activate conda environment through os.system command in python](https://askubuntu.com/questions/1252439/not-able-to-activate-conda-environment-through-os-system-command-in-python?rq=1) [2](https://askubuntu.com/questions/1436362/conda-cammand-not-found-after-anaconda-install?rq=1 "Question score (upvotes - downvotes)") [conda cammand not found after Anaconda install](https://askubuntu.com/questions/1436362/conda-cammand-not-found-after-anaconda-install?rq=1) #### [Hot Network Questions](https://stackexchange.com/questions?tab=hot) - [Resource recommendation: The beginning of the path in neuroscience](https://biology.stackexchange.com/questions/119399/resource-recommendation-the-beginning-of-the-path-in-neuroscience) - [How to get Lumen medal in To Bubblize a Mocking Bird boss fight?](https://gaming.stackexchange.com/questions/418275/how-to-get-lumen-medal-in-to-bubblize-a-mocking-bird-boss-fight) - [Is it easy to change field of research when moving from PhD to postdoc?](https://academia.stackexchange.com/questions/226300/is-it-easy-to-change-field-of-research-when-moving-from-phd-to-postdoc) - [All curves after the first lose their transparency after export to PDF](https://mathematica.stackexchange.com/questions/319110/all-curves-after-the-first-lose-their-transparency-after-export-to-pdf) - [A political campaign texted me after I sent them a STOP message, does this violate the Telephone Consumer Protection Act?](https://law.stackexchange.com/questions/114473/a-political-campaign-texted-me-after-i-sent-them-a-stop-message-does-this-viola) - [Evaluating Battery Alternatives](https://electronics.stackexchange.com/questions/767508/evaluating-battery-alternatives) - [Conjecture about the decompositions of the powers of a matrix](https://mathoverflow.net/questions/509601/conjecture-about-the-decompositions-of-the-powers-of-a-matrix) - [How could a low-gravity world keep its atmosphere?](https://worldbuilding.stackexchange.com/questions/273021/how-could-a-low-gravity-world-keep-its-atmosphere) - [On non-increasing property of a norm-like function on matrices](https://mathoverflow.net/questions/509668/on-non-increasing-property-of-a-norm-like-function-on-matrices) - [Highest die in a standard dice pool after eliminating dice vs a rerolling, exploding, dice pool](https://rpg.stackexchange.com/questions/219029/highest-die-in-a-standard-dice-pool-after-eliminating-dice-vs-a-rerolling-explo) - [What is this usage of 以外の?](https://japanese.stackexchange.com/questions/111920/what-is-this-usage-of-%E4%BB%A5%E5%A4%96%E3%81%AE) - [Is there a paradigm to form the future imperative?](https://latin.stackexchange.com/questions/27149/is-there-a-paradigm-to-form-the-future-imperative) - [How is the “I” in “the Father is greater than I” understood as referring to Jesus’ human nature while the other I in John 8:58 to his divine nature?](https://hermeneutics.stackexchange.com/questions/115607/how-is-the-i-in-the-father-is-greater-than-i-understood-as-referring-to-jesu) - [Trying to get a creature Native to Astral Plane - D\&D 3.5](https://rpg.stackexchange.com/questions/219025/trying-to-get-a-creature-native-to-astral-plane-dd-3-5) - [How can I make Steam take better quality screenshots?](https://gaming.stackexchange.com/questions/418279/how-can-i-make-steam-take-better-quality-screenshots) - [Word order involving the adjective "principal"](https://french.stackexchange.com/questions/58830/word-order-involving-the-adjective-principal) - [How can I permanently disable a specific key on a laptop keyboard?](https://askubuntu.com/questions/1565261/how-can-i-permanently-disable-a-specific-key-on-a-laptop-keyboard) - [If Riri Williams is already in her Ironheart suit, then who is the "her" Okoye is referring to?](https://scifi.stackexchange.com/questions/303860/if-riri-williams-is-already-in-her-ironheart-suit-then-who-is-the-her-okoye-i) - [Why is "every \[shape\] node" applied after node options?](https://tex.stackexchange.com/questions/761378/why-is-every-shape-node-applied-after-node-options) - [What does "he got plucked" mean in "Jane Eyre"?](https://literature.stackexchange.com/questions/31837/what-does-he-got-plucked-mean-in-jane-eyre) - [Freewheel hub repair](https://bicycles.stackexchange.com/questions/100124/freewheel-hub-repair) - [Flower with leaves turning partially brown/yellow](https://gardening.stackexchange.com/questions/70669/flower-with-leaves-turning-partially-brown-yellow) - [Why is ngspice giving me extremely small voltages?](https://electronics.stackexchange.com/questions/767461/why-is-ngspice-giving-me-extremely-small-voltages) - [Why does referring to someone as "Dad" (rather than "my dad") imply shared parentage, but "work" does not?](https://english.stackexchange.com/questions/639331/why-does-referring-to-someone-as-dad-rather-than-my-dad-imply-shared-paren) [Question feed](https://askubuntu.com/feeds/question/908827 "Feed of this question and its answers") # Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. ![](https://askubuntu.com/posts/908827/ivc/432d?prg=5f3b571c-aeec-4a1d-a617-0207676c4812) lang-bash # Why are you flagging this comment? It contains harassment, bigotry or abuse. This comment attacks a person or group. Learn more in our [Abusive behavior policy](https://askubuntu.com/conduct/abusive-behavior). It's unfriendly or unkind. This comment is rude or condescending. Learn more in our [Code of Conduct](https://askubuntu.com/conduct/abusive-behavior). Not needed. This comment is not relevant to the post. ``` ``` Enter at least 6 characters Something else. A problem not listed above. Try to be as specific as possible. ``` ``` Enter at least 6 characters Flag comment Cancel You have 0 flags left today # ![Illustration of upvote icon after it is clicked](https://askubuntu.com/Content/Img/modal/img-upvote.png?v=fce73bd9724d) # Hang on, you can't upvote just yet. You'll need to complete a few actions and gain 15 reputation points before being able to upvote. **Upvoting** indicates when questions and answers are useful. [What's reputation and how do I get it?](https://stackoverflow.com/help/whats-reputation) Instead, you can save this post to reference later. Save this post for later Not now ##### [Ask Ubuntu](https://askubuntu.com/) - [Tour](https://askubuntu.com/tour) - [Help](https://askubuntu.com/help) - [Chat](https://chat.stackexchange.com/?tab=site&host=askubuntu.com) - [Contact](https://askubuntu.com/contact) - [Feedback](https://meta.askubuntu.com/) ##### [Company](https://stackoverflow.co/) - [Stack Overflow](https://stackoverflow.com/) - [Stack Internal](https://stackoverflow.co/internal/) - [Stack Data Licensing](https://stackoverflow.co/data-licensing/) - [Stack Ads](https://stackoverflow.co/advertising/) - [About](https://stackoverflow.co/) - [Press](https://stackoverflow.co/company/press/) - [Legal](https://stackoverflow.com/legal) - [Privacy Policy](https://stackoverflow.com/legal/privacy-policy) - [Terms of Service](https://stackoverflow.com/legal/terms-of-service/public) - Cookie Settings - [Cookie Policy](https://policies.stackoverflow.co/stack-overflow/cookie-policy) ##### [Stack Exchange Network](https://stackexchange.com/) - [Technology](https://stackexchange.com/sites#technology) - [Culture & recreation](https://stackexchange.com/sites#culturerecreation) - [Life & arts](https://stackexchange.com/sites#lifearts) - [Science](https://stackexchange.com/sites#science) - [Professional](https://stackexchange.com/sites#professional) - [Business](https://stackexchange.com/sites#business) - [API](https://api.stackexchange.com/) - [Data](https://data.stackexchange.com/) - [Blog](https://stackoverflow.blog/?blb=1) - [Facebook](https://www.facebook.com/officialstackoverflow/) - [Twitter](https://twitter.com/stackoverflow) - [LinkedIn](https://linkedin.com/company/stack-overflow) - [Instagram](https://www.instagram.com/thestackoverflow) Site design / logo © 2026 Stack Exchange Inc; user contributions licensed under [CC BY-SA](https://stackoverflow.com/help/licensing) . rev 2026.3.27.41560 Ubuntu and the circle of friends logo are trade marks of Canonical Limited and are used under licence.
Readable Markdown
After installing Anaconda correctly. I wanted after finishing the installation to do the following. I forget to do it while installing anaconda: ``` export PATH="/root/anaconda3/bin" conda --version conda command not found ``` then I opened ``` gedit /root/.bashrc ``` I added at the end of file ``` export PATH="/root/anaconda3/bin" ``` but I still get ``` conda --version conda command not found ``` EDIT1: gedit /root/.bashrc ``` # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running interactively, don't do anything [ -z "$PS1" ] && return # don't put duplicate lines in the history. See bash(1) for more options # ... or force ignoredups and ignorespace HISTCONTROL=ignoredups:ignorespace # append to the history file, don't overwrite it shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=1000 HISTFILESIZE=2000 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" # set variable identifying the chroot you work in (used in the prompt below) if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) fi # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color) color_prompt=yes;; esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt #force_color_prompt=yes if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then # We have color support; assume it's compliant with Ecma-48 # (ISO/IEC-6429). (Lack of such support is extremely rare, and such # a case would tend to support setf rather than setaf.) color_prompt=yes else color_prompt= fi fi if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi unset color_prompt force_color_prompt # If this is an xterm set the title to user@host:dir case "$TERM" in xterm*|rxvt*) PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" ;; *) ;; esac # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' fi # some more ls aliases alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package. if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then # . /etc/bash_completion #fi ``` l did also the following : ``` echo $PATH /home/ahmed/anaconda3/bin:/home/ahmed/anaconda3/bin:/home/ahmed/anaconda3/bin:/home/ahmed/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games ``` What's wrong with my code? There are lots path in this path!\!
ML Classification
ML Categories
/Computers_and_Electronics
99.2%
/Computers_and_Electronics/Software
84.3%
/Computers_and_Electronics/Software/Operating_Systems
39.5%
/Internet_and_Telecom
12.8%
/Internet_and_Telecom/Web_Services
10.0%
Raw JSON
{
    "/Computers_and_Electronics": 992,
    "/Computers_and_Electronics/Software": 843,
    "/Computers_and_Electronics/Software/Operating_Systems": 395,
    "/Internet_and_Telecom": 128,
    "/Internet_and_Telecom/Web_Services": 100
}
ML Page Types
/Article
93.0%
/Article/FAQ
52.6%
Raw JSON
{
    "/Article": 930,
    "/Article/FAQ": 526
}
ML Intent Types
Informational
99.4%
Raw JSON
{
    "Informational": 994
}
Content Metadata
Languageen
Authornull
Publish Time2017-04-25 16:26:32 (8 years ago)
Original Publish Time2017-04-25 16:26:32 (8 years ago)
RepublishedNo
Word Count (Total)2,306
Word Count (Content)555
Links
External Links106
Internal Links93
Technical SEO
Meta NofollowNo
Meta NoarchiveNo
JS RenderedYes
Redirect Targetnull
Performance
Download Time (ms)109
TTFB (ms)83
Download Size (bytes)44,326
Shard53 (laksa)
Root Hash9277990770814737653
Unparsed URLcom,askubuntu!/questions/908827/variable-path-issue-conda-command-not-found s443