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

Update README.md #1791

Merged
merged 3 commits into from
Jul 4, 2023
Merged

Update README.md #1791

merged 3 commits into from
Jul 4, 2023

Conversation

MrD-RC
Copy link
Collaborator

@MrD-RC MrD-RC commented Jun 15, 2023

Altered the Linux installation instructions, from the perspective of a Linux n00b.

Altered the Linux installation instructions, from the perspective of a Linux n00b.
@MrD-RC MrD-RC added this to the 7.0 milestone Jun 15, 2023
@MrD-RC MrD-RC requested review from stronnag and mmosca June 15, 2023 18:36
README.md Outdated
* (5.0.0+) chrome_crashpad_handler `chmod +x chrome_crashpad_handler`
1. Run INAV Configurator app from unpacked folder
2. Download Configurator for Linux platform (linux32 and linux64 are present)
* **.rpm** is the Fedora installation file. Just download and run to install INAV Configurator
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is not an executable file, you don't "run" it. You'd either:

  • In a terminal sudo dnf localinstall FILE.rpm ; or
  • Open it with a package manager (e..g via the File Manager)

README.md Outdated
1. Run INAV Configurator app from unpacked folder
2. Download Configurator for Linux platform (linux32 and linux64 are present)
* **.rpm** is the Fedora installation file. Just download and run to install INAV Configurator
* **.deb** is the Debian/Ubuntu installation file. Just download and run to install INAV Configurator
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is not an executable file, you don't "run" it. You'd either:

  • In a terminal sudo apt install /path/to/FILE.deb ; or
  • Open it with a package manager (e.g. via the File Manager)

Copy link
Collaborator

Choose a reason for hiding this comment

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

I am getting old, my suggestion would have been dpkg -i file.deb :)

README.md Outdated
```
**NN** is the bits of your OS. **x.y.z** is the INAV Configurator version number.

6. If this is the first time installing INAV Configurator, create a home for it's files
Copy link
Collaborator

Choose a reason for hiding this comment

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

it's is a contraction (of it is), not a possessive, the apostrophe is not required.

Copy link
Collaborator

@stronnag stronnag Jun 15, 2023

Choose a reason for hiding this comment

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

Some other comments:

For Linux, we should consolidate the permissions stuff which is an afterthought to to the README into the main Linux section (c. line 169 under Notes ATM)

The heading "Building and running INAV Configurator locally (for development or Linux users)" might drop the "or Linux users" as this is a relic of the time when there were no Linux installers / tarballs released.

In the "Mac" section, we now sign released installers, so the signing comment is obsolete for the MacOS package (*.dmg)?

Anyway, good work; not before time.

Updates based on @stronnag suggestions
@MrD-RC
Copy link
Collaborator Author

MrD-RC commented Jun 15, 2023

Thanks @stronnag 👍🏻

@stronnag
Copy link
Collaborator

Thanks @stronnag 👍🏻

Apologies that it got split up into small pieces.

@MrD-RC
Copy link
Collaborator Author

MrD-RC commented Jun 15, 2023

No problem. It was easy to go through and update like that. It's all good :)

README.md Outdated
* (5.0.0+) chrome_crashpad_handler `chmod +x chrome_crashpad_handler`
1. Run INAV Configurator app from unpacked folder
2. Download Configurator for Linux platform (linux32 and linux64 are present)
* **.rpm** is the Fedora installation file. Just download and install using `sudo dnf localinstall /path/to/INAV-Configurator_linuxNN_x.y.z..rpm` or open it with a package manager (e.g. via Files)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like we have 1 . too many in the rpm file name

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The filename wasn't quite right either. Corrected it and the .deb.

README.md Outdated
10. Make the following files executable:
* inav-configurator `chmod +x /opt/inav/inav-configurator/inav-configurator`
* (5.0.0+) chrome_crashpad_handler `chmod +x /opt/inav/inav-configurator/chrome_crashpad_handler`
11. Run INAV Configurator app from unpacked folder
Copy link
Collaborator

Choose a reason for hiding this comment

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

From a beginner point of view, should we be obvious here and list the file path /opt/inav/inav-configurator/inav-configurator
or how to find it in applications?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Finding it in "Applications" depends on the user's selected DE. It will be different in GNOME, KDE, Xfce and the myriad of others.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I usually would run things from the terminal anyway.

It is probably a good idea to make it obvious that you should run /opt/inav/inav-configurator/inav-configurator to launch inav as the readon why they did the chmod +x on the steop before may not be obvious to a beginner.


On some Linux distros, you may be missing `libatomic`, a `NW.JS` (specially `libnode.so`) dependency. If so, please install `libatomic` using your distro's package manager, e.g:

* Arch Linux: `sudo pacman -S --needed libatomic_ops`
* Debian / Ubuntu: `sudo apt install libatomic1`
* Fedora: `sudo dnf install libatomic`

1. Dont forget to add your user into dialout group "sudo usermod -aG dialout YOUR_USERNAME" for serial access
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is dialout the correct group in all distros?

Should we teach the user how to figure out the correct group by listing the contents of /dev?

Copy link
Collaborator

Choose a reason for hiding this comment

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

In Arch, it would be uucp ... but you'd expect an Archer to know that. dialout covers most cases.


## Building and running INAV Configurator locally (for development or Linux users)
## Building and running INAV Configurator locally (for development)
Copy link
Collaborator

Choose a reason for hiding this comment

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

or fun? :)

Corrected .rpm and .deb filenames
@DzikuVx DzikuVx merged commit fada683 into master Jul 4, 2023
@DzikuVx DzikuVx deleted the MrD_Update-linux-install-guide-in-readme branch July 4, 2023 18:48
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.

4 participants