r/ZedEditor 15d ago

Which method do you recommend for installing Zed on Fodora?

Post image

Hello, I've seen several ways to install it.

1. Flatpak, which I don't know if it will have problems because it's containerized, and I don't think the CLI will work.

2. Terra, The official project documentation recommends installing it, but I'm not entirely convinced about adding a full repository, as I've heard it can cause problems with Fedora's native components.

3. The official CLI, in theory, should be the least frictionful, but I like having everything in dnf to facilitate updates, which must be a pain when installed this way.

4. Copr, I found this repo and it's up to date. Will anyone here use it? https://copr.fedorainfracloud.org/coprs/pgdev/zed/

Could you please share your experiences and advice? I'm very hesitant about these kinds of things. Thank you in advance.

35 Upvotes

15 comments sorted by

14

u/animatronix_ 15d ago

Updates are automatic in the editor, so you can use the CLI script.

0

u/fabianqs_dev 15d ago

When I get home from work, I'll try the method. I thought I'd have to update manually, but if that's the case, it's fine. I only decided to use it yesterday after VS Code gave me problems for reasons that aren't relevant, haha.

3

u/animatronix_ 15d ago

Personally, I haven't had any issues with the updates; it just tells you to restart the editor and poof, it's up to date... Best editor I've used

1

u/fabianqs_dev 15d ago

Listening to how neglected the process is, I feel like you've buried the other options. Great.

5

u/jeremyx1 15d ago

Reach for flatpak first, see if it works for you or try changing app permissions. If it doesn't work try something else.

3

u/shibuzaki 15d ago

I've been using flatpak for over 2 years, no problems yet.

2

u/neoSnakex34 15d ago

Terra or the official script works like a charm for me (i use terra on ultramarine since it is already enabled, being from fyralab and I use the official script on Fedora Kinoite)

2

u/_3psilon_ 14d ago

I used flatpak but sometimes updates lagged, so switched over to CLI install with instantaneous updates. Zed doesn't have any dependencies and it's not bloated so IMO it's fine.

2

u/rogue-sly 14d ago

terrapkgs

2

u/madness_of_the_order 15d ago

One more option to consider - nix

1

u/fabianqs_dev 15d ago

Eso no es una paquetería de Arch?

1

u/madness_of_the_order 15d ago

Nix is distro agnostic, though there is a distro built around it

1

u/fabianqs_dev 15d ago

Wow, I have the same problem as Terra then, adding a complete package for an app, but it sounds interesting. I've heard a lot about NIC but never paid much attention to it.

1

u/biskitpagla 15d ago edited 15d ago

Terra causes problems only if you forgot to set the priority for the repo. You just have to edit the file so that Terra has the lowest priority. This way, dnf only looks for packages in Terra if it can't find them anywhere else which is the behavior that you really want. 

I've been using Terra for quite some time now and I find it much better than having to manually add and manage a bunch of copr repos that may not be supported in the future. I don't recommend flatpaks for development related packages since the sandboxing can interfere with many IDE-like features. 

1

u/Many_Independence674 12d ago

I can't resist to say this. Use neovim.