Fedora 25 - Things to do after installing

Tips for a new install of Fedora 25

Fastest Mirror

The old yum plugin fastestmirror is now built in to dnf! However, it’s default setting is OFF.

Edit  /etc/dnf/dnf.con

Add this line to the bottom of the file:

fastestmirror=true

Update

sudo dnf update

Configure RPMFusion Repos

# Adding RPMFusion Free repo #
sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-25.noa...

# Adding RPMFusion Non-Free repo #
sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-...
.rpm

Install Media Codecs

# media code installation #
sudo dnf -y install gstreamer-plugins-bad gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg gstreamer1-libav gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld gstreamer1-plugins-base-tools gstreamer1-plugins-good-extras gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-good gstreamer1-plugins-base gstreamer1

Install other software

# Install VLC Media Player #
sudo dnf -y install  vlc

# Install gimp & inkscape #
sudo dnf -y install gimp inkscape

# Install p7zip which will extracts all kind of archives. #
sudo dnf -y install p7zip

# Install Office suite #
sudo dnf -y install libreoffice

Install Skype.

# For 64-bit system install below dependencies #
sudo dnf -y install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 qtwebkit.i686

# Download latest Skype rpm file #
sudo wget http://download.skype.com/linux/skype-4.3.0.37-fedora.i586.rpm 

# Install Skype, This will install dependencies also #
sudo dnf -y install skype-4.3.0.37-fedora.i586.rpm

Enable Google Repository

#  Create google-chrome.repo file  #
sudo touch /etc/yum.repos.d/google-chrome.repo

# Past google chrome repo content #
sudo nano /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

#  Install google chrome browser  #
sudo dnf -y install google-chrome-stable

Install Wine and Brasero for burning CDs and Sound Juicer to Rip CDs

sudo dnf -y install wine q4wine brasero sound-juicer

Install Microsoft Fonts

sudo yum install curl cabextract xorg-x11-font-utils fontconfig

sudo rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fon...

See also: http://mscorefonts2.sourceforge.net/

Install Adobe Reader

cd /tmp
 
## English version ##
sudo wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9...

## English version ##
sudo dnf install AdbeRdr9.5.5-1_i486linux_enu.rpm
 
## Install other needed packages on Fedora ##
sudo dnf install nspluginwrapper.i686 libcanberra-gtk2.i686 adwaita-gtk2-theme.i686 PackageKit-gtk3-module.i686

Change some settings

Make vim for all users by commenting out user filter in /etc/profile.d/vim.sh

if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then
  [ -x /usr/bin/id ] || return
# Jeff remove user filter for root
ID=`/usr/bin/id -u`
[ -n "$ID" -a "$ID" -le 100 ] && return
  # for bash and zsh, only if no alias is already set
  alias vi >/dev/null 2>&1 || alias vi=vim

Change ll to include directory by editing /etc/profile.d/colorls.sh

#when USER_LS_COLORS defined do not override user LS_COLORS, but use them.
if [ -z "$USER_LS_COLORS" ]; then

  alias ll='ls -aFl' 2>/dev/null

and

unset TMP COLORS INCLUDE

alias ll='ls -aFl --color=auto' 2>/dev/null

Change sudo to no password for my user

sudo visudo

## Same thing without a password
# %wheel        ALL=(ALL)       NOPASSWD: ALL
jeff            ALL=(ALL)       NOPASSWD: AL
L

Change SELINUX from enforcing by editing /etc/selinux/config

# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=permissive

Install Fedy and Postinstaller

# Install Fedy utility #
su -c "curl http://folkswithhats.org/fedy-installer -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"

# Download postinstallerf #
sudo wget -c -P /etc/yum.repos.d/ https://raw.github.com/kuboosoft/postinstallerf/master/postinstallerf.repo

# Install postinstallerf #
sudo dnf -y install postinstallerf

Install VMWare 12

Download VMware Workstation 12 Pro (30 Days Trial)

sudo dnf install kernel-headers kernel-devel gcc glibc-headers
cd $HOME/Downloads
su -c "chmod +x ./VMware-Workstation*12*.bundle"
su -c "./VMware-Workstation*12*.bundle"

Add Fonts and remove fonts

UseFont viewer (if missing add with: yum install -y gnome-font-viewer)

download free fonts from google to /usr/share/fonts

Remove fonts from /usr/share/fonts

sudo rm -Rf google-noto lohit* lklug* khmeros* thai*

Then, start the sshd service and make it automatically start next time you boot by

# systemctl start sshd.service
# systemctl enable sshd.service

Some more Applications I like

sudo dnf -y install Calibre Cheese digikam dropbox geany gnucash marble openshot soundconverter xterm zoom
Calibre - EBook converter
Cheese - Webcam
digikam - ShowFoto
dropbox - Storage
geany - IDE
gnucash - Accounting
marble - Globe
openshot - video Editor
soundconverter - sounds
xterm - terminal
zoom - Video conference
ImageMagick-devel - commandline utils like mogrify
Set up LAMP Server
sudo dnf -y install drupal7 drush phpMyAdmin

How to setup MariaDB 10.1 on Fedora 24 or Centos 7

See also:

Fedora or Redhat Server Tips

24 Things to Do After Fresh Installation of Fedora 23 Workstation

Top-10 things to do after installing Fedora 23 to make as user friendly

Top things to do after Fresh Installation of Fedora 23

11 Things to do After Installing Fedora 22