fedarovich / qbittorrent-cli

Command line interface for QBittorrent
MIT License
303 stars 16 forks source link

Arch Linux Support #22

Closed smhmd closed 2 years ago

smhmd commented 4 years ago

I can't seem to find the platform-agnostic packages (Linux) referenced in the Wiki. I am on Arch Linux. It would be great if you can support it as well.

fedarovich commented 4 years ago

I was thinking of adding platform-specific package for Arch but had haven no time for it yet. Regarding platform agnostic packages, I haven't tried it yet, but I guess these two options should work:

  1. Install dotnet-runtime package and use qbt-netcore21 with it.
  2. Install mono package and use qbt-netfx46 with it.
smhmd commented 4 years ago

Thanks. Maybe it would help to have releases on the navigation besides wiki and so on; or at least, liked to in the instructions. However, I could not get the package to install.

# pacman -U ./qbt-netfx46-1.5.19322.1.tar.gz
loading packages...
error: missing package metadata in ./qbt-linux-x64-1.5.19322.1.tar.gz
error: './qbt-linux-x64-1.5.19322.1.tar.gz': invalid or corrupted package
fedarovich commented 4 years ago

It's not a pacman package, it's just a simple tar.gz archive with binaries. Basically, you can unpack it with tar -xzvf to any folder and run it directly from this folder. A bit more detailed instructions can be found in Wiki.

Oh, and by the way, I guess it also possible to use qbt-linux-x64-1.5.19322.1.tar.gz too. It does not require installation of .net core or mono runtime, though it may still need some additional dependencies like libssl and libicu. The installation process in the same - unpack it with tar and either run directly from the folder or add the folder to the PATH variable.

eNV25 commented 2 years ago

An AUR package has existed since 2020-02-22. It downloads and repackages the generic qbt-linux tarballs. This issue can be closed.

https://aur.archlinux.org/packages/qbittorrent-cli-bin https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=qbittorrent-cli-bin