1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-29 00:33:41 +02:00

dkms: add sudo prefix for privileged commands (#17834)

This commit is contained in:
cyqsimon 2025-08-26 03:42:48 +08:00 committed by GitHub
parent ab2f49ee9e
commit d0b43ea8ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View file

@ -9,12 +9,12 @@
- 현재 실행 중인 커널에 대해 모든 모듈 다시 빌드: - 현재 실행 중인 커널에 대해 모든 모듈 다시 빌드:
`dkms autoinstall` `sudo dkms autoinstall`
- 현재 실행 중인 커널에 대해 acpi_call 모듈의 버전 1.2.1 설치: - 현재 실행 중인 커널에 대해 acpi_call 모듈의 버전 1.2.1 설치:
`dkms install -m {{acpi_call}} -v {{1.2.1}}` `sudo dkms install -m {{acpi_call}} -v {{1.2.1}}`
- 모든 커널에서 acpi_call 모듈의 버전 1.2.1 제거: - 모든 커널에서 acpi_call 모듈의 버전 1.2.1 제거:
`dkms remove -m {{acpi_call}} -v {{1.2.1}} --all` `sudo dkms remove -m {{acpi_call}} -v {{1.2.1}} --all`

View file

@ -9,12 +9,12 @@
- Recompila todos os módulos para o kernel que está rodando atualmente: - Recompila todos os módulos para o kernel que está rodando atualmente:
`dkms autoinstall` `sudo dkms autoinstall`
- Instala a versão 1.2.1 do módulo acpi_call para o kernel que está rodando atualmente: - Instala a versão 1.2.1 do módulo acpi_call para o kernel que está rodando atualmente:
`dkms install -m {{acpi_call}} -v {{1.2.1}}` `sudo dkms install -m {{acpi_call}} -v {{1.2.1}}`
- Remove a versão 1.2.1 do módulo acpi_call de todos os kernels: - Remove a versão 1.2.1 do módulo acpi_call de todos os kernels:
`dkms remove -m {{acpi_call}} -v {{1.2.1}} --all` `sudo dkms remove -m {{acpi_call}} -v {{1.2.1}} --all`

View file

@ -9,12 +9,12 @@
- Rebuild all modules for the currently running kernel: - Rebuild all modules for the currently running kernel:
`dkms autoinstall` `sudo dkms autoinstall`
- Install version 1.2.1 of the acpi_call module for the currently running kernel: - Install version 1.2.1 of the acpi_call module for the currently running kernel:
`dkms install -m {{acpi_call}} -v {{1.2.1}}` `sudo dkms install -m {{acpi_call}} -v {{1.2.1}}`
- Remove version 1.2.1 of the acpi_call module from all kernels: - Remove version 1.2.1 of the acpi_call module from all kernels:
`dkms remove -m {{acpi_call}} -v {{1.2.1}} --all` `sudo dkms remove -m {{acpi_call}} -v {{1.2.1}} --all`