brrd / abricotine

Markdown editor with inline preview
GNU General Public License v3.0
2.63k stars 159 forks source link

Update Docs for OpenSUSE 15 #326

Open WhitewaterDave opened 1 year ago

WhitewaterDave commented 1 year ago

I tried installing abricotine using the prebuild rpm package from releases. When I used zypper, which is package manager, it returned an error: Problem: nothing provides 'libXtst' needed by the to be installed abricotine-1.1.4-1.x86_64 This is package is already installed by default but it is called 'libXtst6' I was able to ignore the dependency and install the package. It works OK. Maybe update the docs to include this.

brrd commented 1 year ago

I can't find where this comes from. Maybe I can use a custom dependency list in electron-builder in order to remove this one from rpm packages. But first I want to be sure not to break anything. Let's wait for something else to confirm this issue before we investigate more.

WhitewaterDave commented 1 year ago

The problem is with the name of a dependency required to run abricotine on openSUSE 15.

The package manager on openSUSE is zypper.

When installing on openSUSE 15, the package manager says it requires a package called "libXtst" which is not available in opensSUSE by that name. It is available but is called "libXtst6" and it's probably already installed as part of the base desktop environment.

This is the screenshot of what I'm seeing when I try to install abricotine:

Screenshot_20221027_151701

Choose Solution 2 which is Solution 2: break abricotine-1.1.4-1.x86_64 by ignoring some of its dependencies

Selecting solution 2 will install abricotine and it should work. I knew I had the dependency installed. If it doesn't work, use the package manager to install "libXtst6" and abricotine will work as expected.