Skip to content
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

Can't install on Arch linux #113

Closed
ajfpay opened this issue Nov 30, 2022 · 3 comments
Closed

Can't install on Arch linux #113

ajfpay opened this issue Nov 30, 2022 · 3 comments

Comments

@ajfpay
Copy link

ajfpay commented Nov 30, 2022

After it was finished building, the file became .deb, after that, I converted it using debtap deb to zst, then installed using pacman -U, but the installation failed and needs some dependency, does this not support arch linux?

image

image

@Tlntin
Copy link
Collaborator

Tlntin commented Nov 30, 2022

you can edit "tauri.conf.json" file, change targets": ["deb", "msi", "dmg"] to "targets": ["deb", "appimage", "msi", "dmg"], .
then, you can run npm run build:linux or run npm run build:all-unix,it will generate result file in target folder.
then, convert appimage to you want.

for more information, you can see this document.
https://tauri.app/v1/guides/getting-started/prerequisites

@Tlntin
Copy link
Collaborator

Tlntin commented Nov 30, 2022

maybe some depends was not need for release package.
edit "tauri.conf.json" file,

"depends": [
          "libwebkit2gtk-4.0-dev",
          "build-essential",
          "curl",
          "wget",
          "libssl-dev",
          "libgtk-3-dev",
          "libayatana-appindicator3-dev",
          "librsvg2-dev"
        ],

for xx-dev and build-essential may superfluous。
you can change it like this.

"depends": [
          "curl",
          "wget"
        ],

just try it.
if it not work, you need to change it with arch package depends. extract from this

sudo pacman -Syu
sudo pacman -S --needed \
    webkit2gtk \
    base-devel \
    curl \
    wget \
    openssl \
    appmenu-gtk-module \
    gtk3 \
    libappindicator-gtk3 \
    librsvg \
    libvips

@ajfpay
Copy link
Author

ajfpay commented Nov 30, 2022

maybe some depends was not need for release package. edit "tauri.conf.json" file,

"depends": [
          "libwebkit2gtk-4.0-dev",
          "build-essential",
          "curl",
          "wget",
          "libssl-dev",
          "libgtk-3-dev",
          "libayatana-appindicator3-dev",
          "librsvg2-dev"
        ],

for xx-dev and build-essential may superfluous。 you can change it like this.

"depends": [
          "curl",
          "wget"
        ],

just try it. if it not work, you need to change it with arch package depends. extract from this

sudo pacman -Syu
sudo pacman -S --needed \
    webkit2gtk \
    base-devel \
    curl \
    wget \
    openssl \
    appmenu-gtk-module \
    gtk3 \
    libappindicator-gtk3 \
    librsvg \
    libvips

I've tried this, and it worked flawlessly on my machine, thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants