Want to start off by saying I’m very much a Qubes noob and linux in general so apologies if I’m just making a very silly mistake. I tried installing Zed on a debian 12 template I created. Followed the instructions to install it from the shell script on their website and I can’t seem to get it to open.
My guess is that you have not actually downloaded the install.sh file.
You could check this by running curl -f https://zed.dev/install.sh > install.sh
Templates have no network access except via the proxy used for updates.
You could set this using export https_proxy=127.0.0.1:8082 before
trying to download the file.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.
If this was done in a template, this won’t even work when used in an AppVM because the installation happens in the user’s home directory, which is not inherited from the template.
Run the command in an AppVM qube, it will install Zed locally in the qube.
I gave the template temporary network access to download it which I know isnt recommended but I will use the proxy next time. I tried but i was missing the “export” command.
this is the output from the template
https_proxy=127.0.0.1:8082 curl -f https://zed.dev/install.sh > install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4329 100 4329 0 0 2970 0 0:00:01 0:00:01 --:--:-- 2969
this is the output from the AppVM
curl -f https://zed.dev/install.sh > install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4329 100 4329 0 0 7720 0 --:--:-- --:--:-- --:--:-- 7716
Hi , despite i don’t use this app i make a quick silly guide to successful install zed (but don’t work)
-Choose a template o make a new one, in my example is debian-12-minimal.
-Go to this web page https://zed.dev/install.sh and copy all.
-In the template of your chose open a terminal and put nano install.sh.
-Paste all and modify in the script the line who say curl "https://zed.dev/api/releases/$channel/latest/zed-linux-$arch.tar.gz" > "$temp/zed-linux-$arch.tar.gz" to curl --proxy https://127.0.0.1/8082/ "https://zed.dev/api/releases/$channel/latest/zed-linux-$arch.tar.gz" > "$temp/zed-linux-$arch.tar.gz" and save it.
-After that, give it permission chmod +x install.sh and run it sudo ./install.sh
-When the install finish you need to put this commands in terminal echo 'export PATH=$HOME/.local/bin:%PATH' >> ~/.bashrc and source ~/.bashrc (install says to do it)
-Zed needs to install rustup and dependencies. (All the info is in zed.dev (less apt rustc))
-For rustup download from https://static.rust-lang.org/dist/rust-1.84.1-x86_64-unknown-linux-gnu.tar.xz for this need xz-utils, sudo apt install xz-utils must be installed to run correctly tar -xf rust-1.84.1-x86_64-unknown-linux-gnu.tar.xz this make a folder in that folder a file install.sh is created, you need to run it. (I found apt rustc but don’t know if is exactly the same rustup)
-For dependencies run sudo apt install gcc g++ libasound2-dev libfontconfig-dev libwayland-dev libxkbcommon-x11-dev libssl-dev libzstd-dev libvulkan1 libgit2-dev make cmake clang jq netcat-openbsd git curl gettext-base elfutils libsqlite3-dev musl-tools musl-dev build-essential if is debian 12 or above add mold libstdc++-12-dev if is debian 11 or below add libstdc++-10-dev
-Shutdown the template (must be!).
-Make a AppVM, select the template you just use. (In theory because i only can run it from template)
I said above don’t work because i have a blank screen with nothing in it but i think you can be able to troubleshooting of this point.
Needless to say, this forum is not for that particular application but I am struck by the blank screen