Skip to content

Add new documentation for Arch Linux user. - #3619

Closed
sukalaper wants to merge 2 commits into
marktext:developfrom
sukalaper:sukalaper
Closed

sukalaper wants to merge 2 commits into
marktext:developfrom
sukalaper:sukalaper

Conversation

@sukalaper

Copy link
Copy Markdown
Q A
New tests added? yes
Add documentation yes
Fixed tickets Fixes #ticket number (set to none if no tickets are fixed, repeat template for each ticket fixed)
License MIT

Description

Hello, sorry for my contribution which may still be very messy.

When I did the installation on Arch Linux, it required electron15-bin and ripgrep which is not available by default, here I only add documentation for users who have problems like me.

@Teloshav Teloshav left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the line "electron15-bin, and ripgrep" meant to have the comma and the 'and'?

E.g. "electron15-bin, and ripgrep" vs. electron15-bin and ripgrep.

@sukalaper

Copy link
Copy Markdown
Author

Is the line "electron15-bin, and ripgrep" meant to have the comma and the 'and'?

E.g. "electron15-bin, and ripgrep" vs. electron15-bin and ripgrep.

thanks for the correction, sorry it was my mistake.

@Teloshav Teloshav left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍

@alerque alerque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be merged, some parts are factually wrong and the other part is confusing. The ripgrep package is not in the AUR, it is in the [extra] repository. As are half a dozen other dependencies that will be installed by default. It is not necessary to document these since AUR packages always have their dependencies called out in the package meta data and pacman will automatically resolve them. The Electron one is a bit trickier since the electron15 package got dropped from [extra], but the AUR package electron15-bin does provide=(electron15), which means pacman and many AUR helpers can and do resolve it as supplying the needed dependency for Marktext. These should not be documented in this README as they are subject to change and are standard Arch/AUR usage. If anything the one thing that could be documented is that I (as the AUR package maintainer and official Arch Linux Package Maintainer) host a repository (signed with official Arch Linux keys) that has both the Electron dependency and this package prebuilt so it can be installed with to compiling necessary. That might be useful to mention, how to use the AUR is out of scope.

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

Successfully merging this pull request may close these issues.

3 participants