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 
or
sudo dnf -y update

Enable RPM Fusion Repository to get More application :

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(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/libphp7.so into server: libnsl.so.1: 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 :

systemd-analyze

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

Things to do after installing Fedora 28

Things to do after installing Fedora 28

If you are using Fedora and thing what do after installation to get a better desktop experience then this post is for you, one can run a system update, to play multimedia files can install media codecs or enhance gnome experience using installing Gnome Tweak tool. If you are using fedora 24 onwards like Fedora 25, Fedora 26, Fedora 27 or Fedora 28 I don’t think you will face any problem .

First Open Terminal using menu or press Ctrl + Alt + T, now run the commands given below

For system Update run

sudo dnf update
or
dnf update

Install Gnome Tweak Tool

dnf install gnome-tweak-tool
or
sudo dnf install gnome-tweak-tool

Install Multimedia Codecs

dnf -y install gstreamer-plugins-base gstreamer1-plugins-base gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer1-plugins-ugly gstreamer-plugins-good-extras gstreamer1-plugins-good-extras gstreamer1-plugins-bad-freeworld ffmpeg gstreamer-ffmpeg
or
sudo dnf -y install gstreamer-plugins-base gstreamer1-plugins-base gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer1-plugins-ugly gstreamer-plugins-good-extras gstreamer1-plugins-good-extras gstreamer1-plugins-bad-freeworld ffmpeg gstreamer-ffmpeg

Adding RPM fusion Repository

RPM Fusion is a software repository that provides various free and non-free software’s which was not shipped with the Fedora distribution like VLC Player.

rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-26.noarch.rpm
or
sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-26.noarch.rpm

Install VLC media player and a Launcher called Docky

dnf install vlc
dnf install docky

or
sudo dnf install vlc
sudo dnf install docky

Want to enjoy other Desktop environments like KDE Plasma, XFCE, mate ….

dnf install @mate-desktop
dnf install @kde-desktop
dnf install @xfce-desktop
dnf install @cinnamon-desktop
dnf install unzip
dnf install VirtualBox

or
sudo dnf install @mate-desktop
sudo dnf install @kde-desktop
sudo dnf install @xfce-desktop
sudo dnf install @cinnamon-desktop
sudo dnf install unzip
sudo dnf install VirtualBox

Install Steam

dnf config-manager --add-repo=http://negativo17.org/repos/fedora-steam.repo
dnf -y install steam

or
sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-steam.repo
sudo dnf -y install steam

Stacer System monitor

wget https://github.com/oguzhaninan/Stacer/releases/download/v1.0.8/stacer-1.0.8_x64.rpm
dnf install stacer-1.0.8_x64.rpm

or
sudo wget https://github.com/oguzhaninan/Stacer/releases/download/v1.0.8/stacer-1.0.8_x64.rpm
sudo dnf install stacer-1.0.8_x64.rpm

Red Hat released Fedora 28 GNOME 3.28

Red Hat released Fedora 28 GNOME 3.28

Red Hat has recently released a community-driven Linux distro Fedora 28 with the inclusion of GNOME 3.28. which adds the capability to favorite files, folders, and contacts for easier organization and access.

About Fedora

Fedora is a Linux Distro (Linux Based OS) developed by Open Source community which is backed by Red Hat. In simple terms fedora is open source version of Red Hat is known to implement latest technology as soon as possible.

As Per getfedora.org “Fedora Workstation is a reliable, user-friendly, and powerful operating system for your laptop or desktop computer. It supports a wide range of developers, from hobbyists and students to professionals in corporate environments.”.

Fedora comes in 3 Version

  1. Fedora 28 Server
  2. Fedora 28 Atomic Host
  3. Fedora 28 Workstation

In this post we will discuss regarding Fedora 28 Workstation, which one is a desktop-focused edition.

Whats new in Fedora 28

Distro Name Fedora
Based On RPM based
Distro Version Fedora 28
Desktop Environment Default : Gnome 3.28.1
Website https://getfedora.org
Download Wordkstation : https://getfedora.org/en/workstation/
Karnel 4.16.3
Grub 2.02
Systemd 238
Samba 4.7.0
Shell Bash 4.4
GCC 8.0.1
QT 5.10.1
Python 2.7.14
VIM 8.0
File Manager Dolphin
Graphics Gimp – NA
Inkscape – NA
Java Openjdk 8u162
Browser 59.0.2
Email Client Thunderbird – NA
Video Player NA
Office Libra Office 6.0.3
Do you have any Query / Suggestion