ButterCam / Mediator

Cross-platform GUI gRPC debugging proxy
Apache License 2.0
142 stars 8 forks source link

how to install mediator on archlinux? #4

Closed Gictorbit closed 1 year ago

Gictorbit commented 1 year ago

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

devkanro commented 1 year ago

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.

Gictorbit commented 1 year ago

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

devkanro commented 1 year ago

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 commented 1 year ago

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.