17 May 2018 | 7 min read

Fedora 28 setup (After install)

My imcomplete list thing todo after installing Fedora 28


What is about?

Fedora 28 already released maybe this is a perfect time to do clean format instead of upgrading the newest version because previously started from Fedora 25, I just upgrade when each time new version released.

Todo

Yes, there is lot of thing need to be configure again after clean formating. Here few of thing on my list :

1 - Change the hostname (note : Need to reboot after change the host name)

$ hostnamectl status # view current hostname
$ hostnamectl set-hostname --static "robbinespu" # set up new hostname

2 - Configure DNF : Use delta and fastest mirror (edit /etc/dnf/dnf.conf file)

[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
fastestmirror=true
deltarpm=true

3 - Enviroment : restore bashrc and metadata files

FYI I already have export and backup the selected dot files and few metadata files via this trick1, now I need to import from repository into my workstation using the same tutorial1.

4 - Install RPM fusion repository and get most recent update

$ sudo dnf update --refresh
$ 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

5 - Enabling SSH : Since sometimes I need to access this machine remotely

$ sudo systemctl start sshd
$ sudo systemctl enable sshd

6 - Performance monitoring tools for Linux

$ sudo dnf install sysstat htop glances

There is also some apps like Ccleaner on windows callled Stacer but there is no rpm for newest version released but replaced with app image

$ cd /tmp
$ wget https://github.com/oguzhaninan/Stacer/releases/download/v1.0.9/Stacer-x86_64.AppImage
$ sudo chmod a+x stacer*.AppImage
$ ./stacer*.AppImage

7 - Internet : Few list of internet stuff that I use

Skype now are available on linux (thanks Microsoft) but it quite hogging the memory. You also can use pidgin with skype purple plugin.

$ sudo dnf install -y wget alsa-lib pulseaudio glibc libXv libXScrnSaver 
$ wget https://go.skype.com/skypeforlinux-64.rpm
$ sudo dnf install -y skypeforlinux-64.rpm

Corebird - Twitter desktop client (but I prefer tweeting using my phone)

$ flatpak remote-add \
--if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.baedert.corebird

P2P torrent downloader for downloading ISO and something else

$ sudo dnf install qbittorrent

Liferea are RSS reader which I can read news from feed aggregator. I already backup *.opml file from previous version, now just import and sync the feeds.

$ sudo dnf install liferea

Flameshot is screenshot tool that better than others and has awesome features like paint tools, highlighting, blurring, upload to imgur and many more

$ sudo dnf install flameshot

Barracuda VPN client need to be download from Barracuda portal. It provide *.deb and also *.rpm for x86 and x64 architecture machine.

$ tar xzf VPNClient_4.1.1_Linux.tar.gz
$ sudo rpm -Uhv VPNClient_4.1.1_Linux_x86_64.rpm 

For next step, kindly refer to private note on bitbucket

8 - Office stuff : Scanner, OnlyOffice, compression and archiever tools

$ sudo dnf install simple-scan
$ rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8320CA65CB2DE8E5"
$ sudo bash -c 'cat > /etc/yum.repos.d/onlyoffice.repo << 'EOF'
[onlyoffice]
name=onlyoffice repo
baseurl=http://download.onlyoffice.com/repo/centos/main/noarch/
gpgcheck=1
enabled=1
EOF'
$ sudo dnf install onlyoffice-desktopeditors
$ sudo  dnf install unzip p7zip

9 - Cross platform and virtualization

Install and open windows application via Wine

$ dnf install wine 

Hardware virtualization support via libvirt2

$ sudo dnf group install –with-optional virtualization
$ sudo systemctl start libvirtd
$ sudo systemctl enable libvirtd

10 - Entertaiment stuff : Player and codecs

$ sudo dnf install youtube-dl vlc
$ sudo dnf install \
gstreamer-plugins-base \
gstreamer1-plugins-base \
gstreamer-plugins-bad \
gstreamer-plugins-ugly \
gstreamer1-plugins-ugly \
gstreamer-plugins-good-extras \
gstreamer1-plugins-good \
gstreamer1-plugins-good-extras \
gstreamer1-plugins-bad-freeworld \
ffmpeg \
gstreamer-ffmpeg

11 - Software engineering related stuff:

Sublime text editor

$ sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
$ sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
$ sudo dnf install sublime-text

I also VIM to open file from terminal

$ cd /tmp/; git clone https://github.com/tomasr/molokai.git
$ sudo dnf install vim vim-plugin-powerline
$ sudo cp molokai/colors/molokai.vim /usr/share/vim/vim81/colors/
$ mkdir ~/.vim/bundle
$ cd ~/.vim/bundle
$ git clone https://github.com/VundleVim/Vundle.vim.git
$ git clone https://github.com/Valloric/YouCompleteMe.git
$ sudo dnf install automake gcc gcc-c++ kernel-devel cmake python-devel
$ cd ~/.vim/bundle/YouCompleteMe
$ git submodule update --init --recursive
$ /usr/bin/python ./install.py --clang-completer --go-completer --java-completer
$ vim +PluginInstall +qall
$ sudo dnf install ncurses-compat-libs

Note : Please restart you x11 / wayland. If powerline font still broken, please follow this step.

Sometimes, I do kernel or package compiling stuff

$ sudo dnf group install "C Development Tools and Libraries"

12 - Gnome plugin and addons

Some of plugin that I activate and use are alternatetab, application menu, caffein, dash to dock, impatience, netspeed, place status indicator, services systemd, status area horizontal spacing and top icon plus

To manage, edit, add and delete application launcher, I use menulibre which are FreeDesktop compliant menu editor

$ sudo dnf install menulibre

13 - Inotify Watches Limit3

I use JetBrain product such Goland, Android Studio and PhpStorm for my programming / coding stuff. It suggested to increase Inotify Watches. it is essential to be in the know about any external changes in files it is working with your IDE. I not suggesting you edit /etc/sysctl.conf file directly, It much better to create new conf file for each you IDE.

$ cat << EOF | sudo tee /etc/sysctl.d/android-studio.conf
# Increase inotify limit, required by Android Studio : https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
fs.inotify.max_user_watches = 524288
EOF

and then execute $ sudo sysctl -p --system and restart you Android Studio IDE.

Fin

Well this actually incomplete list of my todo. I actually plan to use KDE but seem it really does’t meet my satisfaction and re-install once again and now I using Gnome desktop.

The thing I really hate and frustrated about Gnome is the shell keep eating memory from time to time!!!

$ free -mth
              total        used        free      shared  buff/cache   available
Mem:            11G        3.2G        4.2G        350M        4.3G        8.4G
Swap:          5.9G          0B        5.9G
Total:          17G        3.2G         10G

As you can see, now it use 3.2GB from 11GB ram memory installed compare to KDE are just using around 300MB - 1GB memory. I hope this kind of problem will be fixes soon.

Robbi Nespu | DNF, Fedora, Gnome, KDE, Linux, Shell


Discussion and feedback