Forrest logo
back to context overview

dnf

List of commands for dnf:

  • dnf:ai:06df4 delete all files downloaded cache for upgrade for fedora
    $ dnf clean all
    try on your machine
    explain this command
  • dnf:ai:1b86a Add a new repository to the dnf configuration
    $ dnf config-manager --add-repo ${repo_url}
    try on your machine
    explain this command
  • dnf:ai:39585 Checks for available package updates
    $ dnf check-update
    try on your machine
    explain this command
  • dnf:ai:4af91 The command installs the Samba client package on Fedora.
    $ dnf install samba-client
    try on your machine
    explain this command
  • dnf:ai:6c537 The dnf command is used to install the Gambas3 GTK3 package on a Linux system
    $ dnf install gambas3-gtk3
    try on your machine
    explain this command
  • dnf:ai:7d960 I am getting the following error when running dnf upgrade "Curl error (7): Couldn't connect to server for https://annex-repo-02/repo/epel/x86_64/repodata/repomd.xml [Failed to connect to annex-repo-02 port 443: Connection refused]". I cannot disable the repo.
    $ dnf upgrade --disablerepo=annex-repo-02
    try on your machine
    explain this command
  • dnf:ai:9e5cd Installs Fedora without signature check
    $ dnf install --nogpgcheck fedora
    try on your machine
    explain this command
  • dnf:ai:9fddc I am configuring my own repo file on a virtual machine named annex-repo-02. The software packages I wish to install are in the /data/repo/epel/x86_64 directory. I am getting the error "Failed to search for file: /etc/yum.repos.d/:/annex-repo-02/epel/x86_64 was not found" when trying to run dnf upgrade. I created the file and I am still getting the same error
    $ dnf config-manager --add-repo=file:///data/repo/epel/x86_64
    try on your machine
    explain this command
  • dnf:ai:a1066 I am getting the following error when running dnf upgrade "Curl error (7): Couldn't connect to server for https://annex-repo-02/repo/epel/x86_64/repodata/repomd.xml [Failed to connect to annex-repo-02 port 443: Connection refused]"
    $ dnf upgrade --disablerepo=epel
    try on your machine
    explain this command
  • dnf:ai:c9a1c This command disables the EPEL repository which is causing the connection issue
    $ dnf config-manager --set-disabled epel
    try on your machine
    explain this command
  • dnf:ai:cdaf1 what is the progress of dnf
    $ dnf
    try on your machine
    explain this command
  • dnf:ai:d1396 Checks if any package updates are available.
    $ dnf check
    try on your machine
    explain this command
  • dnf:ai:dd1e0 Install MySQL server packages
    $ dnf install mysql-server mysql
    try on your machine
    explain this command
  • dnf:tldr:195bc dnf: Upgrade installed packages to the newest available versions.
    $ sudo dnf upgrade
    try on your machine
    explain this command
  • dnf:tldr:279ca dnf: Display details about a package.
    $ dnf info ${package}
    try on your machine
    explain this command
  • dnf:tldr:4e0c1 dnf: Find which packages provide a given command.
    $ dnf provides ${command}
    try on your machine
    explain this command
  • dnf:tldr:7e4a7 dnf: List installed packages.
    $ dnf list --installed
    try on your machine
    explain this command
  • dnf:tldr:95d25 dnf: Install a new package (use `-y` to confirm all prompts automatically).
    $ sudo dnf install ${package1 package2 ---}
    try on your machine
    explain this command
  • dnf:tldr:9d756 dnf: View all past operations.
    $ dnf history
    try on your machine
    explain this command
  • dnf:tldr:a3269 dnf: Remove a package.
    $ sudo dnf remove ${package1 package2 ---}
    try on your machine
    explain this command
  • dnf:tldr:bc916 dnf: Search packages via keywords.
    $ dnf search ${keyword1 keyword2 ---}
    try on your machine
    explain this command
back to context overview