dnf/yum update is the same as dnf upgrade -- it updates all packages (#1184)

No reason to run it before installing or upgrading httpie.
This is not apt.
This commit is contained in:
Miro Hrončok 2021-10-15 15:29:06 +02:00 committed by GitHub
parent 7885f5cd66
commit 1b4048aefc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -190,13 +190,11 @@ $ apt upgrade httpie
```bash ```bash
# Install httpie # Install httpie
$ dnf update
$ dnf install httpie $ dnf install httpie
``` ```
```bash ```bash
# Upgrade httpie # Upgrade httpie
$ dnf update
$ dnf upgrade httpie $ dnf upgrade httpie
``` ```
@ -206,14 +204,12 @@ Also works for other RHEL-derived distributions like ClearOS, Oracle Linux, etc.
```bash ```bash
# Install httpie # Install httpie
$ yum update
$ yum install epel-release $ yum install epel-release
$ yum install httpie $ yum install httpie
``` ```
```bash ```bash
# Upgrade httpie # Upgrade httpie
$ yum update
$ yum upgrade httpie $ yum upgrade httpie
``` ```

View File

@ -112,10 +112,8 @@ tools:
package: https://src.fedoraproject.org/rpms/httpie package: https://src.fedoraproject.org/rpms/httpie
commands: commands:
install: install:
- dnf update
- dnf install httpie - dnf install httpie
upgrade: upgrade:
- dnf update
- dnf upgrade httpie - dnf upgrade httpie
emerge: emerge:
@ -247,9 +245,7 @@ tools:
package: https://src.fedoraproject.org/rpms/httpie package: https://src.fedoraproject.org/rpms/httpie
commands: commands:
install: install:
- yum update
- yum install epel-release - yum install epel-release
- yum install httpie - yum install httpie
upgrade: upgrade:
- yum update
- yum upgrade httpie - yum upgrade httpie