File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # dnf install
2
+
3
+ > Install packages on Red Hat-based distributions.
4
+ > More information: < https://dnf.readthedocs.io/en/latest/command_ref.html#install-examples > .
5
+
6
+ - Install packages by name:
7
+
8
+ ` sudo dnf {{[in|install]}} {{package1 package2 ...}} `
9
+
10
+ - Install a package from a local file:
11
+
12
+ ` sudo dnf {{[in|install]}} {{path/to/file}} `
13
+
14
+ - Install a package from the internet:
15
+
16
+ ` sudo dnf {{[in|install]}} {{https://example.com/package.rpm}} `
17
+
18
+ - Add the Extra Packages for Enterprise Linux (EPEL) repositories:
19
+
20
+ ` sudo dnf {{[in|install]}} https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm `
21
+
22
+ - Add Remi's RPM repository:
23
+
24
+ ` sudo dnf {{[in|install]}} https://rpms.remirepo.net/enterprise/remi-release-8.rpm `
You can’t perform that action at this time.
0 commit comments