liil'boo
liil'boo11mo ago

Impossible to install Deno on Linux Ubuntu LTS (22.04) x86_64

Hello Context & Tech : Trying to install Deno on Linux Ubuntu LTS v22.04 on x86_64 architecture Problem : when trying to run
deno --version
deno --version
it says : " command 'deno' not found but can be installed with : snap install deno" -> I do not want to install anything with snap I followed the instructions on the official documentation https://deno.land/manual@v1.36.1/getting_started/installation The part -> Using shell (macOs and Linux) the curl command seemed to work. ( The binary appears to be on my computer ) I was prompted by installer to run the following commands to have 'deno' in my PATH variable
export DENO_INSTALL="home/<my name here>/.deno
export PATH="$DENO_INSTALL/bin:$PATH"
export DENO_INSTALL="home/<my name here>/.deno
export PATH="$DENO_INSTALL/bin:$PATH"
I did restart : my shell, my terminal, my session and computer. deno is still not in my path Please tell me where it got wrong
Deno
Installation | Manual | Deno
Deno works on macOS, Linux, and Windows. Deno is a single binary executable. It has no external dependencies.
4 Replies
marvinh.
marvinh.11mo ago
That looks wrong. It should be export DENO_INSTALL="$HOME/.deno". which creates a .deno folder in your home directory
liil'boo
liil'boo11mo ago
I will try with your suggestion That was the solution, thank you Here's what I did with your suggestion:
export DENO_INSTALL="$HOME/.deno"
export DENO_INSTALL="$HOME/.deno"
then
export PATH="$DENO_INSTALL/bin:$PATH"
export PATH="$DENO_INSTALL/bin:$PATH"
And then
deno --version
deno --version
worked How do I mark as solved ?
marvinh.
marvinh.11mo ago
no need, I don't think we have something for that here. As an admin I don't see anything to mark this as resolved either
liil'boo
liil'boo11mo ago
Alright, have a nice day