-
-
Notifications
You must be signed in to change notification settings - Fork 28
Improve software-installation section under FAQ #291
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
base: live
Are you sure you want to change the base?
Conversation
Expanded the section to be more comprehensive and clear. Also mentioning the new usage of bazaar.
| 4. If a package isn't available via the other two options, or if a package requires greater system integration, `rpm-ostree install` can be used to layer rpms directly into your subsequent deployments. | ||
| #### Flatpak | ||
| [Flatpaks](https://flatpak.org/) are the recommended way to install GUI software in secureblue, with the exception of [browsers](https://github.com/RKNF404/chromium-hardening-guide/blob/main/pages/BROWSER_SELECTION.md#flatpak-linux). | ||
| We have a specific article on flatpaks [here](https://secureblue.dev/articles/flatpak) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like
An article on why we recommend Flatpaks is available here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also needs a . at the end. Also, please use paragraphs instead of newlines between each sentence
| [Flatpaks](https://flatpak.org/) are the recommended way to install GUI software in secureblue, with the exception of [browsers](https://github.com/RKNF404/chromium-hardening-guide/blob/main/pages/BROWSER_SELECTION.md#flatpak-linux). | ||
| We have a specific article on flatpaks [here](https://secureblue.dev/articles/flatpak) | ||
| There are a few recommended ujust scripts to run for flatpaks, those being: | ||
| > `ujust harden-flatpak` - Enables [Hardened-Malloc](https://github.com/GrapheneOS/hardened_malloc) for flatpaks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this, this is run automatically
| We have a specific article on flatpaks [here](https://secureblue.dev/articles/flatpak) | ||
| There are a few recommended ujust scripts to run for flatpaks, those being: | ||
| > `ujust harden-flatpak` - Enables [Hardened-Malloc](https://github.com/GrapheneOS/hardened_malloc) for flatpaks | ||
| > `ujust flatpak-permissions-lockdown` - Significantly reduces default permissions of flatpaks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this, this is covered in the flatpak article
| > `ujust harden-flatpak` - Enables [Hardened-Malloc](https://github.com/GrapheneOS/hardened_malloc) for flatpaks | ||
| > `ujust flatpak-permissions-lockdown` - Significantly reduces default permissions of flatpaks. | ||
|
|
||
| You can add the unfiltered Flathub repo with `ujust enable-flathub-unfiltered`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be moved to the flatpak article, with an addition to that article covering what verification is
| Bazaar has a curated tab for software that compliments secureblue. | ||
| ###### Flatpak CLI | ||
| Flatpaks can by installed using the flatpak CLI tool, which is preinstalled with secureblue. Run `flatpak --help` for a list of commands and their usage. You can browse this [catalogue of Flatpaks](https://flathub.org) to discover the available packages. | ||
| #### CLI Package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should just say Homebrew, since RPMs can also be cli packages
| In this case, run: | ||
| `mv /path/to/repo /etc/yum.repos.d/reponame` | ||
| `rpm-ostree install <packagename>` | ||
| Beware, you are trusting a third party to not ship malware. Third party copr's are particularly hazardous. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
COPR is all caps as it's an acronym
| #### CLI Package | ||
| For CLI packages, you can install with [Homebrew](https://docs.brew.sh/Manpage) using `brew install <package>`. You can browse this [catalogue of Homebrew Formulae](https://formulae.brew.sh) to discover the available formulae. | ||
| #### RPM | ||
| If a package isn't available via Flatpak or Homebrew, or if a package requires greater system integration, `rpm-ostree install <package>` can be used to layer rpms directly into your subsequent deployments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use paragraphs
| If a package isn't available via Flatpak or Homebrew, or if a package requires greater system integration, `rpm-ostree install <package>` can be used to layer rpms directly into your subsequent deployments. | ||
| Sometimes an additional repository needs to be added to install software. | ||
| In this case, run: | ||
| `mv /path/to/repo /etc/yum.repos.d/reponame` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should just be an example curl command directly into the repos dir
| In this case, run: | ||
| `mv /path/to/repo /etc/yum.repos.d/reponame` | ||
| `rpm-ostree install <packagename>` | ||
| Beware, you are trusting a third party to not ship malware. Third party copr's are particularly hazardous. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of "beware.." maybe:
Note that by adding a third party repo, you are trusting the owner of that repo. You should avoid adding third party repos.
Also, the warning should precede the information on how to add third party repos
| `mv /path/to/repo /etc/yum.repos.d/reponame` | ||
| `rpm-ostree install <packagename>` | ||
| Beware, you are trusting a third party to not ship malware. Third party copr's are particularly hazardous. | ||
| #### Distro-specific format (e.g. .deb) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package format*
| Beware, you are trusting a third party to not ship malware. Third party copr's are particularly hazardous. | ||
| #### Distro-specific format (e.g. .deb) | ||
| secureblue comes with [distrobox](https://distrobox.it/). This means that formats that are specific to some other distro can often be ran via distrobox. | ||
| For example, you can create and ubuntu container with `distrobox assemble` and then when you have entered that container with `distrobox enter ubuntu` you can use .deb packages from within it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should be encouraging this... or maybe even documenting it. It's a horrible practice.
- Executing stuff downloaded from the browser ❌
- Local installs don't update ❌
This should be removed
| #### Distro-specific format (e.g. .deb) | ||
| secureblue comes with [distrobox](https://distrobox.it/). This means that formats that are specific to some other distro can often be ran via distrobox. | ||
| For example, you can create and ubuntu container with `distrobox assemble` and then when you have entered that container with `distrobox enter ubuntu` you can use .deb packages from within it. | ||
| #### AppImage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed and any appimage info kept in the appimage faq entry
Expanded the section to be more comprehensive and clear. Also mentioning the new usage of bazaar.