dnf command cheat sheet

# dnf --version		            (Check version of dnf)
# dnf repolist		            (List enabled repositories)
# dnf repolist all		        (List enabled and disabled repositories)
# dnf install httpd		        (Install a package named httpd)
# dnf install httpd		        (It will install directly install will not ask for yes or no)
# dnf remove httpd		        (It will remove package)
# dnf update httpd		        (It will update that package)
# dnf update		            (it will update complete system)
# dnf check-update		        (It will check your update status)
# dnf grouplist 		        (It will list all group packages)
# dnf groupinstall “group name”	(It will install that group)
# dnf groupremove “group name”	(It will remove that group)
# dnf history			        (It will show you history what you have ran)
# dnf history info 5		    (It will show information of transaction occurred that number)	
# dnf search net-tools		    (It will search a package named net-tools)
# dnf list			            (It will list installed and available packages)
# dnf list installed		    (It will show you installed packages in system)
# dnf list available	    	(It will show available packages)
# dnf download elinks		    (It will download package without installing)
# dnf provides ifconfig		    (It will show you packages name related to that command)
# dnf provides /var/www/html	(It will show package name against a file)
# dnf info elinks		        (it will give you details about elinks package)
# dnf clean all		            (It will clean cache)
# dnf autoremove		        (It will remove those dependency packages which are not required now)
# dnf downgrade elinks		    (It will downgrade to lower version available)
# dnf install --enablerepo=epel unzip	(It will enable repo and install package) 

3 thoughts on “dnf command cheat sheet

  • Your writing always enthralls your audience with its perceptive take on current events and motivating stories. It would be amazing to see you investigate how these ideas might impact future directions, such as artificial intelligence or sustainable living. Your knack for clarifying intricate subjects is remarkable. Thanks for continually delivering such enlightening content—looking forward to your upcoming posts!

    Demo: https://talkchatgpt.com/
    chat gpt

  • It’s great seeing more focus on how to game responsibly, not just what to play! Building a solid foundation – like the account creation tutorials at jljl login – is so key for newcomers & staying safe online. Really valuable stuff!

  • Leave a Reply

    Your email address will not be published. Required fields are marked *