spotify-tui icon indicating copy to clipboard operation
spotify-tui copied to clipboard

Windows/Linux/macOS package managers

Open Rigellute opened this issue 4 years ago • 34 comments

If anyone knows how we can use the various package managers, please let me know!

Rigellute avatar Nov 22 '19 14:11 Rigellute

I use ubuntu 18.04 and I can install the lastest spotify-tui with following command; snap install spt --channel edge.

To install through snap, no configuration is required and I think this is easy enough for ubuntu users (Sorry, I have never used other distributions and I do not know about them). Or, woud you like to use other package manager like apt instead of snap?

ghost avatar Nov 23 '19 05:11 ghost

Made a start in #161.

tem1029 avatar Nov 24 '19 00:11 tem1029

Thank you both for this info.

Rigellute avatar Nov 25 '19 10:11 Rigellute

I made a copr repository for Fedora containing spotifyd and spotify-tui as an alternative to using snaps, intended for personal use, and plan to keep it recent. But feel free to use the SPEC as a template or start for building your own RPMs.

It can be installed after a dnf copr enable zeno/spotify-rust with dnf install spotify-tui.

zenofile avatar Nov 27 '19 19:11 zenofile

I am the package maintainer for the spotify-tui nix package (nix is the package manager used by NixOS). I will keep the package there up to date as long as I can. The package is currently in the unstable channel of Nix and is added to the stable channel when a new stable channel version comes out.

The nix package manager can be used on all distributions.

jwijenbergh avatar Nov 30 '19 15:11 jwijenbergh

For Archlinux, there is already a package maintained in the AUR (Archlinux user repository). I am not the maintainer, but here is the link. It is kept updated fairly regularly. I would guess that version 0.10.0 will be updated soon.

https://aur.archlinux.org/packages/spotify-tui/

trames57 avatar Dec 01 '19 01:12 trames57

Awesome, thanks @zenofile @jwijenbergh and @trames57 .

Please feel free to add the installation instructions for these package managers to our README.

Rigellute avatar Dec 02 '19 09:12 Rigellute

Void Linux: https://github.com/Rigellute/spotify-tui/pull/185

D-Nice avatar Dec 04 '19 18:12 D-Nice

I'll start to work on the flatpak version.

Odilhao avatar Jan 13 '20 23:01 Odilhao

@Odilhao have you started working on it? I'm looking into learning Flatpak packaging and would be interested in helping!

Update: I'm no longer interested in this.

ericonr avatar Jan 20 '20 04:01 ericonr

I noticed SPT is not actually pushed to snap stores from commits here? Is there any interest in this?

hurricanehrndz avatar Jan 29 '20 12:01 hurricanehrndz

I've been interested in it, but Alan Pope (@popey) uploaded it originally, and I'm not sure how it would be able to transfer to another maintainer.

AivreeG avatar Jan 29 '20 23:01 AivreeG

Aivree,

I can talk to Alan, about it. If you are interested I'd be happy to take it on.

On Wed, Jan 29, 2020 at 4:38 PM Aivree [email protected] wrote:

I've been interested in it, but Alan Pope (@popey https://github.com/popey) uploaded it originally, and I'm not sure how it would be able to transfer to another maintainer.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Rigellute/spotify-tui/issues/160?email_source=notifications&email_token=ABMJBTN4ZEDXVLQBIJYHVMDRAIHPTA5CNFSM4JQRO6N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKJFGXY#issuecomment-580014943, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMJBTPEZ6IVCQLCEM26TK3RAIHPTANCNFSM4JQRO6NQ .

-- Regards,

Carlos Hernandez

hurricanehrndz avatar Jan 29 '20 23:01 hurricanehrndz

@Odilhao have you started working on it? I'm looking into learning Flatpak packaging and would be interested in helping!

I've already started to work on it, just commited this repo , I'm trying to set the PATH with the installation, after that I'll send one PR to the upstream flathub.

Odilhao avatar Feb 03 '20 03:02 Odilhao

@AivreeG @hurricanehrndz happy to transfer spt over to an upstream developer. Just let me know who has the account, and I'll put the request in to transfer it :D

Apologies for not updating the snap, this was an error in my monitoring / build system. It should be up to date now and will be kept up to date.

popey avatar Feb 10 '20 12:02 popey

Hey folks, There's a pending dispute/transfer request (filed Feb 8th) by someone who looks like @hurricanehrndz . Are you (people from the spotify-tui project, potentially @Rigellute) OK with him owning the snap package? do you want someone else to own it?

Let me know.

  • Daniel, one of the friendly Snap Store operators.

Roadmaster avatar Feb 18 '20 13:02 Roadmaster

Thanks @Roadmaster. Fine by me!

Rigellute avatar Feb 19 '20 09:02 Rigellute

@Rigellute,

Once the transfer is complete, I will re-release you're last release. From there on workflows can do release into the beta channel.

hurricanehrndz avatar Feb 19 '20 12:02 hurricanehrndz

Windows: https://scoop.sh/

jtagcat avatar Feb 23 '20 14:02 jtagcat

Would love to use scoop, contributions for setting it up are very much appreciated!

Rigellute avatar Feb 24 '20 09:02 Rigellute

Would love to use scoop, contributions for setting it up are very much appreciated!

I'm somewhat familiar with it (I tried to add Cronical, but it integrates with the Windows system very closely with admin permissions and the way it does that would be user-configurable and ...), if I you ping me once a week, I might have the time and mood to do everything.

I'm not exactly sure, if spotify-tui should go to the main or extras bucket The questionable criteria are:

  • is it 'a reasonably well-known and widely used developer tool'
  • I don't know yet, it might not be 'a fairly standard install (e.g. uses a version-specific download URL, no elaborate pre/post install scripts)') What I remember is that the normal Spotify app had problems (since it needs elevated permissions (compare to running with sudo), but it won't accept full elevation (compare to running as root).

note to self: if I do get around adding spotify-tui, add id.ee as well (got to have the national pride of somewhat broken security)

jtagcat avatar Feb 24 '20 10:02 jtagcat

Maybe on Windows for chocolatey as well? https://chocolatey.org/docs/create-packages

garyng avatar Feb 25 '20 04:02 garyng

Maybe on Windows for chocolatey as well? https://chocolatey.org/docs/create-packages

https://github.com/lukesampson/scoop/wiki/Chocolatey-Comparison

In addition, I'm not familiar with packaging to Choco.

jtagcat avatar Feb 25 '20 11:02 jtagcat

I beg your pardon. Here is my scoop bucket with spotify-tui https://github.com/littleli/scoop-garage I don't think it belongs to the main bucket. Maybe scoop-extras, or even create your own bucket, it's fairly easy.

littleli avatar Mar 13 '20 20:03 littleli

Nice one @littleli! Are you able to make a pull request adding your work to this repo?

Rigellute avatar Mar 17 '20 08:03 Rigellute

Nice one @littleli! Are you able to make a pull request adding your work to this repo?

I would suggest:

  1. creating a new repository scoop-bucket managed by you, you can reuse it eventually for your other projects you want to be installable this way
  2. I submit the spotify-tui manifest in the repo
  3. I (or you) can update installation instructions to spotify-tui repo

The reason for (1) is that scoop uses git as a distribution mechanism, so manifests should be in general in separate repos (buckets) without source code.

littleli avatar Mar 19 '20 13:03 littleli

@littleli thanks again, are you able to look over this repo and see if it's all good? https://github.com/Rigellute/scoop-bucket

Feel free to add to the docs

Rigellute avatar Mar 20 '20 14:03 Rigellute

Looks good. Also see this PR with the first version bump.

littleli avatar Mar 20 '20 20:03 littleli

Winget is the new package manager for Windows 10 and Windows 11 https://github.com/microsoft/winget-cli

silas229 avatar Dec 19 '21 21:12 silas229

Winget is the new package manager for Windows 10 and Windows 11 https://github.com/microsoft/winget-cli

Would love to see this on Winget! Packages can be submitted via the winget-pkgs repo.

russellbanks avatar Apr 09 '22 15:04 russellbanks