Like Us Like Us Facebook Subscribe Subscribe us YouTube Whatsapp Share us Whatsapp Query Send your queries

Fedora useful dnf Commands to make life easy

Fedora useful dnf Commands to make life easy

In this tutorial, I will going to share some of my experience with Fedora KDE 34 where Discover and Dnfdragora is not working and Fedora Terminal Commands solve my Problem. As we know Fedora is known to implement latest technologies as a result sometime it becomes buggy (almost in each and every release), so without wasting time I am going to explore Fedora’s DNF commands .

My System configuration :

  • Fujitsu A555 Laptop
  • 1TB harddisk (5400 RPM)
  • 12GB 1600 mhz DDR3 RAM
  • Intel® Core™ i3-5005U processor, 3 MB, 2 GHz
  • Distro : Fedora 34 KDE Plasma Spin
  • Boot Time : 42 Sec. after disabling some Services

Note :  You have to open termial / konsole to run commands.

Update Fedora 34 system :

sudo dnf update 
sudo dnf -y update

Enable RPM Fusion Repository to get More application :

sudo dnf install$(rpm -E %fedora).noarch.rpm
sudo dnf install$(rpm -E %fedora).noarch.rpm

Checking Update, Upgrade, Install and Remove Application :

sudo dnf check-update
sudo dnf upgrade
sudo dnf system-upgrade
sudo dnf install package
sudo dnf remove package

Fix Xampp Problem :
If you have installed Xampp but not able to start, as it throw some errors like
“httpd: Syntax error on line 522 of /opt/lampp/etc/httpd.conf: Syntax error on line 10 of /opt/lampp/etc/extra/httpd-xampp.conf: Cannot load modules/ into server: cannot open shared object file: No such file or directory”
then run command below to install libnsl.

sudo dnf -y install libnsl

Install Redhat LSB :

sudo dnf install redhat-lsb

Want to stop some process on boot to to enhance boot time :

Know Boot time :


Check which process taking more time :

systemd-analyze blame | head

Stopping a Process during boot
for example in my case packagekit.service take more time, so I searched disabling this service can cause any problem on booting or it safe, after ensuring its safe I run commands below to disable…

sudo systemctl stop packagekit.service
sudo systemctl disable packagekit.service
sudo systemctl mask packagekit.service

to enable you can run commands below

sudo systemctl start packagekit.service
sudo systemctl enable packagekit.service
sudo systemctl unmask packagekit.service
5 1 vote
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments