Mediator icon indicating copy to clipboard operation
Mediator copied to clipboard

how to install mediator on archlinux?

Open Gictorbit opened this issue 3 years ago • 3 comments

Hello thank you for your great job, I tried deb package to install Linux version of your app on my Arch Linux distro using debtap, but It didn't work can you please provide installer for aur helper repository? So we can try it easier using yay or other installer scripts

Gictorbit avatar Sep 18 '22 16:09 Gictorbit

The deb package is packaged by compose desktop plugin, I have no knowledge about how it works with linux.

This issue maybe can provide some information for you.

  • JetBrains/compose-jb#596

devkanro avatar Sep 18 '22 18:09 devkanro

Thank you for your quick reply, here is what I did: 1- first I converted deb package to pkg.tar.zst using command below:

debtap mediator_1.4.3-1_amd64.deb

2- after that tried to install it using pacman which is official package manager of arch distros

sudo pacman -U --noconfirm mediator-1.4.3-1-x86_64.pkg.tar.zst

that failed by this error:

/tmp/alpm_LobEMY/.INSTALL: line 3: syntax error near unexpected token `}'
/tmp/alpm_LobEMY/.INSTALL: line 3: `}'
/usr/bin/bash: line 1: pre_upgrade: command not found

I think this is related to debtap, something goes wrong with it

Gictorbit avatar Sep 18 '22 19:09 Gictorbit

Ummm, I don't know anything about debtap, maybe you can open an issue or create a discussion for JetBrains/compose-jb.

If you just want to run mediator in your archlinux, you can clone this project and execute ./gradlew run.

If you want to distribute executable to archlinux, you can use ./gradlew createDistributable command to create distributable.
The distribution will created in ./desktop/build/compose/binaries, use tar command pack it, the consumer can just unpack it and exec it.

This project require JDK16+, JDK 17 is recommend.

devkanro avatar Sep 19 '22 03:09 devkanro

Is there anything else I can help with? I will set this issue as closed, if you have other issues you can reopen it or create a new issue.

devkanro avatar Nov 03 '22 10:11 devkanro