Skip to content

Commit

Permalink
updated redhat.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Mar 7, 2024
1 parent 7430f26 commit 5aa8f64
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions redhat.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,26 @@ You can generally use `yum` and `dnf` commands interchangeably for the most part

`yum` of course works on both older and newer systems so we'll keep using this for now.

# Yum & Rpm
### Yum & Rpm

Find which package would install the `htpasswd` command:

```shell
yum provides '*/bin/htpasswd'
```

```shell
yum provides \*/bin/java
```

output:

```shell
returns java-1.8.0-openjdk-headless
```
java-1.8.0-openjdk-headless
java-11-openjdk-headless
yum provides \*/bin/java
```

### Proxy Configuration
### Yum Proxy Configuration

Set yum proxy in `/etc/yum.conf`.

Expand Down

0 comments on commit 5aa8f64

Please sign in to comment.