Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Flatpak on website #14152

Closed
1 task done
Vinnl opened this issue Jul 11, 2024 · 16 comments
Closed
1 task done

List Flatpak on website #14152

Vinnl opened this issue Jul 11, 2024 · 16 comments
Labels
enhancement [core label] installer / updater Feedback for installation and update process linux

Comments

@Vinnl
Copy link

Vinnl commented Jul 11, 2024

Check for existing issues

  • Completed

Describe the feature

According to #6687 (comment) there is now a Flatpak, but there are no pointers on where to get it (and it likely won't be on Flathub for a while).

Would it be possible to add a mention on https://zed.dev/docs/linux#installing-via-a-package-manager?

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@Vinnl Vinnl added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Jul 11, 2024
@JosephTLyons JosephTLyons added installer / updater Feedback for installation and update process linux and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jul 11, 2024
@olumolu
Copy link

olumolu commented Jul 15, 2024

#9922
Duplicate

@Vinnl
Copy link
Author

Vinnl commented Jul 15, 2024

@olumolu That issue is about adding the Flatpak to Flathub, which I gather has some hurdles to overcome. This issue is about pointing people to the Flatpak that was already added, even though it's not on Flathub (yet?). Presumably, adding a link is easier to do :)

@olumolu
Copy link

olumolu commented Jul 15, 2024

Ok

@olumolu
Copy link

olumolu commented Jul 25, 2024

When will i get this feature?

@BuonHobo
Copy link

Dude, when it's ready

@olumolu
Copy link

olumolu commented Jul 25, 2024

Dude, when it's ready

I know but this is really important for my workflow that happens on a ostree system so installing with sh is extremely hard

@BuonHobo
Copy link

I use Silverblue and it was as easy as running one command. The install is very clean and contained within your home, it also updates automatically.

@olumolu
Copy link

olumolu commented Jul 25, 2024

But installing sh application is not recommended in a linux system.

@Vinnl
Copy link
Author

Vinnl commented Jul 25, 2024

FWIW, there's a test build for Flathub now with a command to install it: flathub/flathub#5253 (comment)

That won't auto-update, but it looks like it'll be added to Flathub proper soon too.

@BuonHobo
Copy link

It's your computer, who cares what's recommended, you decide. It's fine as long as you don't get issues because of it.
The recommended way to install zed in Linux right now is in the home directory (it's also the recommended way to install industry standards like Jetbrains IDEs).
The flatpak is also probably harder to use (at least now) because it runs in a sandbox, and if you break the sandbox then there's no benefit either.

I'd say just install it with the sh command and enjoy it for now. When the flatpak comes you can try it

@olumolu
Copy link

olumolu commented Jul 25, 2024

It's your computer, who cares what's recommended, you decide. It's fine as long as you don't get issues because of it. The recommended way to install zed in Linux right now is in the home directory (it's also the recommended way to install industry standards like Jetbrains IDEs). The flatpak is also probably harder to use (at least now) because it runs in a sandbox, and if you break the sandbox then there's no benefit either.

I'd say just install it with the sh command and enjoy it for now. When the flatpak comes you can try it

Try to understand why installing .sh is wrong in the first place for all distros and all oparating systems let me tell you providing any script to run in your system with sudo is a fundamentally worng stuff to do and to be Frank.
A script can do many thing that even maybe the user don't want to do.
Hence i recommend to have a official verified flatpak makes too much sense.
Once the application is matured enough and devs have some free time may be a deb or rpm can be considered.
Though installing deb rpm outside still faces same issue.

@olumolu
Copy link

olumolu commented Jul 25, 2024

FWIW, there's a test build for Flathub now with a command to install it: flathub/flathub#5253 (comment)

That won't auto-update, but it looks like it'll be added to Flathub proper soon too.

Please make sure it is verified just takes a couple of minutes but it is really good feature untill unless we have proper cryptographically signed flatpak feature.

@mikayla-maki
Copy link
Contributor

Alright everybody, let's keep it chill here. We're on our way to being on flathub, and we'll let you know when it's there :)

@BuonHobo
Copy link

It's not a sudo script, so it only has access to your own files inside your home directory. These are the same permissions that zed is gonna have anyway...
You can also read the script, it's very short and easy to understand. It only extracts the content, makes a couple of directories and symlinks.

There are really no issues with installing zed with that particular script...

Anyway, I agree that it's better not to keep this going. I wish good luck to the zed team, I love your editor!

@olumolu
Copy link

olumolu commented Jul 25, 2024

It's not a sudo script, so it only has access to your own files inside your home directory. These are the same permissions that zed is gonna have anyway... You can also read the script, it's very short and easy to understand. It only extracts the content, makes a couple of directories and symlinks.

There are really no issues with installing zed with that particular script...

Anyway, I agree that it's better not to keep this going. I wish good luck to the zed team, I love your editor!

I have read the script i did not find anything wrong.
My above statement was a generalized statement does not applied for this project. But flatpak and snap give a good thing which is sandbox which can not be ignored.
I have not installed that on my ostree system but i have install on my suse tumbleweed system and works well. Still i will remove that and install flatpak because
(Example i use a small model using ollama on my on suse system and i have to update that manually every 3-4 days recently i switched to alpaca which is a flatpak so I don't need to do that manually)

@mikayla-maki
Copy link
Contributor

It's in :)

https://github.com/zed-industries/zed/blob/main/docs/src/linux.md#installing-via-a-package-manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] installer / updater Feedback for installation and update process linux
Projects
None yet
Development

No branches or pull requests

5 participants