D
Deno

help

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

LBLiil' Boo8/11/2023
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.
Mmarvinh.8/11/2023
That looks wrong. It should be export DENO_INSTALL="$HOME/.deno". which creates a .deno folder in your home directory
LBLiil' Boo8/11/2023
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 ?
Mmarvinh.8/11/2023
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
LBLiil' Boo8/11/2023
Alright, have a nice day

Looking for more? Join the community!

Recommended Posts
Get length of video (stream. m3u8)In deno/typescript, how can i get the length of a specific video stream (m3u8)?github account blocked errori changed email my old account to another account and when i login to deno deploy with that account npm:axios not returning anythingI'm trying to troubleshoot a problem with axios (the same snippet works fine on node). I'm callingextension method returning undefined for `text/plain`Given the following: ```ts console.log( "text/plain", extension("text/plain"), extensioServing multiple static files to an HTTP requestIf a client sends a request for an array of static files names like so. ```["component01.js", "compoKv encodes integer as doubleAnyone know why Deno.kv encodes an integer in a mutli-part key as a double? ``` const key = ["int",Looking for caching API ResponsesHello there, I'm looking for a package/or examples to cache API responses for a fresh project whicUsing ZeroMQ from NPMAnyone got fixed the same error as this issue? https://github.com/denoland/deno/issues/18345Trying to pass parameters to runtime from rustHi, I'm launching a deno runtime from my project's code. I'm trying to pass some dynamic json variconsole.log in a worker - capture or hide output?Running under `deno repl` with no permissions, this prints 'yee'. In a browser's dev tools it would Deno debugging configuration is missing?```json "deno.enable": true, "deno.unstable": true, "deno.enablePaths": ["./api"], "deno.docIs there a way to show permissions used on start up during runtime?For example: If I was to run an App with `permissions: --allow-net=${hostname}:${port}` is there a wrestrict path applied for import mapshi, is it possible to restrict importmap application to only specific path? the rationale is: - vscoBest way to pass backend data to SSR rendered view?Looking for the "proper" way to pass data to an SSR rendered view. My first idea is setting custom p