Problems installing Anaconda3-2020.07-Linux-x86_64

0 views
Skip to first unread message

Jeffrey Layton

unread,
Nov 13, 2020, 10:06:27 AM11/13/20
to Anaconda - Public
Hello

I just installed Ubuntu 20.04 on a system and downloaded the latest community build of Anaconda (2020.07). I got a permission error while installing.

...
Anaconda3 will now be installed into this location:
/home/laytonjb/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/laytonjb/anaconda3] >>>
PREFIX=/home/laytonjb/anaconda3
Unpacking payload ...
Anaconda3-2020.07-Linux-x86_64.sh: 409: /home/laytonjb/anaconda3/conda.exe: Permission denied
Anaconda3-2020.07-Linux-x86_64.sh: 411: /home/laytonjb/anaconda3/conda.exe: Permission denied


I checked the permissions on the directory anaconda3

$ ls -asltar
total 112
...
 4 drwxrwxr-x  2 laytonjb laytonjb  4096 Nov 12 11:12 anaconda3


I also check the permissions on conda.exe:


$ ls -lstar anaconda3/
total 14464
    4 drwxr-xr-x 17 laytonjb laytonjb     4096 Nov 12 11:12 ..
    4 drwxrwxr-x  2 laytonjb laytonjb     4096 Nov 12 11:12 .
14456 -rwxrwxr-x  1 laytonjb laytonjb 14802312 Nov 12 11:12 conda.exe



I've never had a problem installing Anaconda so I'm surprised this happened. Any suggestions?

Thanks!

Jeff


Ray Donnelly

unread,
Nov 13, 2020, 10:57:29 AM11/13/20
to Anaconda - Public
Is your home directory on a mount of some type?

--
Community Discussion Forum for Anaconda
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/anaconda/6f1ba408-13b6-4069-bba7-a7ac18918627n%40continuum.io.

Jeffrey Layton

unread,
Nov 15, 2020, 8:44:32 AM11/15/20
to Anaconda - Public, rdon...@anaconda.com
No - it's a local drive.

Jeff

Jeffrey Layton

unread,
Nov 17, 2020, 7:27:59 AM11/17/20
to anaconda, rdon...@anaconda.com
For posterity, I thought I would post the answer. I didn't know that by default Xubuntu mounts drives with "noexec". This prevents executables from being run on that drive. For me /home was a separate drive and was being mounted with noexec so the Anaconda installed could not run. I had to explicitly mount the drive with "exec" so I could run executables.

I didn't find any documentation on this but found it accidentally by looking at the mount options and noticing "noexec".

Jeff


Reply all
Reply to author
Forward
0 new messages