You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. shell-script), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-bash
-noption and a-yoption and they mean the same thing but they must be placed at different positions in the command line? Yes, that’s confusing. (To be clear: I am not shooting the messenger; I’m saying that the developer should have thought more about usability issues.)zypperhas a-noption. Theinstallsub command has both a-yoption which is a convenience that aliases to the global-noption, and also has its own-nwhich is short for--name. It's possible to install packages by capability. So,zypper install -n blahspecifies to only resolve the package namedblahand not consider packages which provideblah. Without that, zypper can resolve based on the provides section from an RPM (including version comparisons), which can make dependency resolution easier.zypper install 'python>3.5'for example.zypper install -nis if maybe you want to install a specific package whose name is a capability provided by others. For example, maybe there are a few vi implementations, and you only want a specific package named vi without resolution falling back to gvim (which provides vi) in the event that the specificvipackage is for some reason missing in your repo. Personally, I dislike the confusing nature of the short options and rarely use them in scripts or anything else someone (like me) might need to read later. :Dzypper addrepo url alias | echo 'a'. specifically, piping zypper output into echo. i triedecho a | zypper ...without any luck.