$ sudo dnf install –downloadonly –downloaddir We can also instruct dnf command to download rpm in particular folder using ‘ –downloaddir’ flag. ![]() Using ‘–downloadonly’ flag in dnf or yum command, rpm package along with its dependencies can be downloaded. Run $ sudo dnf download nfs-utilsĪbove command will download the nfs-utils package in the present working directory. Let’s assume, we want to download ‘nfs-utils’ package. Dnf or yum command on RHEL 8 or CentOS 8 has download flag which allows to download rpm package.
0 Comments
Leave a Reply. |