Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1839951
Summary: | shorter aliases for popular options (eg dnf i == dnf install) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marius Andreiana <marius.andreiana> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | CC: | dmach, jmracek, jrohel, mblaha, mhatina, packaging-team-maint, pkratoch, rpm-software-management, vmukhame |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | dnf-4.4.2-1.fc33 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-26 06:41:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marius Andreiana
2020-05-26 05:45:36 UTC
There already are some command aliases defined, for example: in install rm remove up upgrade dg downgrade rq repoquery It was added in this commit: https://github.com/rpm-software-management/dnf/commit/da52d0ee8ec53fc67477a448ef9da73e32ce2cf2 You can also define your own aliases using the alias command. Thanks Pavla, that's great! I searched but didn't find these in dnf help. Would be great to add 'ls' too. *** This bug has been marked as a duplicate of bug 1634232 *** I made PR to add these aliases at least into documentation: https://github.com/rpm-software-management/dnf/pull/1629 FEDORA-2020-210ee4a384 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-210ee4a384 FEDORA-2020-210ee4a384 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-210ee4a384` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-210ee4a384 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-210ee4a384 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. |