Skip to content

Instantly share code, notes, and snippets.

@AndreiD
Last active December 27, 2018 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreiD/5e35403e23e16bf36abaa2e7c5250924 to your computer and use it in GitHub Desktop.
Save AndreiD/5e35403e23e16bf36abaa2e7c5250924 to your computer and use it in GitHub Desktop.
fedora desktop setup

First we setup the repositories so we can install lots of stuff

sudo dnf install fedora-workstation-repositories -y

Install Rpmfusion repo

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -y

Enable DeltaRPM

sudo nano /etc/dnf/dnf.conf

fastestmirror=true

deltarpm=true

Update cache for package installs


sudo dnf makecache

sudo dnf install -y zsh autoconf automake binutils bison fontforge gcc gcc-c++ git-all glibc-header glibc-devel gnome-tweak-tool gparted htop glances libtool make mc net-tools shutter tree cmake ctags clang dkms
dnf -y install flatpak

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

dnf check-update

sudo dnf install code


dnf -y install vlc tilix unzip  qbittorrent  VirtualBox  rhythmbox  gimp  obs-studio  shutter htop  nethogs util-linux-user
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

FONTS

dnf install -y curl cabextract xorg-x11-font-utils fontconfig
sudo rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
fc-cache -v
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
sudo sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
nano ~/.zshrc -> add plugins=(zsh-autosuggestions)
 ~ cd /tmp
➜  /tmp git clone https://github.com/powerline/fonts.git
./install.sh

$ nano ~/.zshrc
Set ZSH_THEME="agnoster" and save the file
exec zsh




Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment