Skip to content

Snap package is not available anymore #7193

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

Closed
olbrew opened this issue Oct 24, 2021 · 13 comments
Closed

Snap package is not available anymore #7193

olbrew opened this issue Oct 24, 2021 · 13 comments
Labels
clients Issues pertaining to a particular client or the clients as whole.

Comments

@olbrew
Copy link

olbrew commented Oct 24, 2021

I love tldr and would like to install it to some smaller servers without having to install the whole NPM client or some other language’s package manager.
I saw there was a Snap package available on the Clients page but it it seems to be gone now:

$ sudo snap install tldr
> error: snap "tldr" not found

The Snap page also gives a 404.

I prefer installing packages this way, since it mostly doesn’t need additional programs to be installed and Snap is now available on a lot of Linux distro’s. Could the package be reinstated?

@navarroaxel
Copy link
Collaborator

navarroaxel commented Oct 24, 2021

We don't control that, I'm sure the Snapcrafters should maintain those packages for tldr.

I see a snap from @luk3yx. Did you try it?

If you don't like npm, you can install tldr via pip install tldr

@navarroaxel navarroaxel added the clients Issues pertaining to a particular client or the clients as whole. label Oct 24, 2021
@CleanMachine1
Copy link
Member

Try our python client which can be installed with pip as mentioned or for a compiled binary (https://github.com/marchersimon/tldr-cpp)

@CleanMachine1
Copy link
Member

CleanMachine1 commented Oct 26, 2021

It seems the only tldr package is https://snapcraft.io/tldr-luk3yx

I would definitely not recommend using a client which is nearly 4 years out of date without commits.

@marchersimon
Copy link
Collaborator

I removed it from the wiki. Does this resolve your issue @olbrew?

@olbrew
Copy link
Author

olbrew commented Nov 6, 2021

Yes it does. A better option would've been to fix the snap package but this closes the issue as well ;).

@marchersimon
Copy link
Collaborator

Well, as @navarroaxel already said, we don't control that. We could however try to send a request to Snapcraft to re-add the package.

@sbrl
Copy link
Member

sbrl commented Nov 7, 2021

Hrm, that's weird. I think we need someone experienced with packaging to help out here to sort out and maintain the various os-level tldr packages. Other package managers also have issues - I think we have an issue open about those too.

@marchersimon
Copy link
Collaborator

I started a new thread at the Snapcraft forum to find out why it was removed. Creating snaps doesn't seem very complicated, but it has to be done on Ubuntu.

@chrysle
Copy link

chrysle commented Jun 14, 2023

I see a snap from @luk3yx. Did you try it?

This has been removed now, too.

@kbdharun
Copy link
Member

I see a snap from @luk3yx. Did you try it?

This has been removed now, too.

Yes, we are aware of it.

Offtopic: Maintaining an official snap isn't hard, I will consult with a friend who is experienced with snaps regarding this and get back.

If we are creating one it would probably be for our Python client.

@kbdharun
Copy link
Member

kbdharun commented Jul 7, 2023

Offtopic: Maintaining an official snap isn't hard, I will consult with a friend who is experienced with snaps regarding this and get back.

An Update on this, with the help of my friend, I have recreated the Snap package for tldr now based on the Python client instead of the old one which was based on the Node client.

You can install it with the following command:

sudo snap install tldr

Note: For the time being, there isn't support for tab completion and man page support in the Snap package we are planning to add it in future.

Creating snaps doesn't seem very complicated, but it has to be done on Ubuntu.

Builds on push are now done automatically at https://snapcraft.io/tldr/builds (Let me know your Snapcraft account if you guys need access to the listing), I am planning to add a workflow to test.yml too so that we can test the package in PRs before merge if necessary.

@pixelcmtd
Copy link
Member

I started a new thread at the Snapcraft forum to find out why it was removed.

Not-so-Fun fact: That thread 404s and isn't in the Internet Archive. (I also did like a minute of precision quacking and wasn't able to find it) ...email logs anyone?

@kbdharun
Copy link
Member

kbdharun commented Jul 7, 2023

I started a new thread at the Snapcraft forum to find out why it was removed.

Not-so-Fun fact: That thread 404s and isn't in the Internet Archive. (I also did like a minute of precision quacking and wasn't able to find it) ...email logs anyone?

Yeah, I can't find any reference to it in both the Google Cache or the Wayback machine. Which is interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clients Issues pertaining to a particular client or the clients as whole.
Projects
None yet
Development

No branches or pull requests

8 participants