Skip to content

Instantly share code, notes, and snippets.

@zerofoolcoder
Created February 25, 2018 01:17
Show Gist options
  • Save zerofoolcoder/69b49d31202f4a56efcc2e0df3684513 to your computer and use it in GitHub Desktop.
Save zerofoolcoder/69b49d31202f4a56efcc2e0df3684513 to your computer and use it in GitHub Desktop.
Install Fedora Minimal
#!/bin/bash
# Login as Root
# Update system
dnf upgrade --refresh
# Install git
dnf -y install git
# Install pakages and dependencies
dnf install xorg-x11-server-Xorg xorg-x11-drv-{evdev,intel,synaptics} xorg-x11-xinit xbacklight i3lock psmisc feh terminus-fonts wget libxcb-devel xcb-util-keysyms-devel xcb-util-devel xcb-util-wm-devel xcb-util-xrm-devel yajl-devel libXrandr-devel startup-notification-devel libev-devel xcb-util-cursor-devel libXinerama-devel libxkbcommon-devel libxkbcommon-x11-devel pcre-devel pango-devel gcc automake tar libXcomposite libXcomposite-devel libXdamage libXdamage-devel libconfig libconfig-devel dbus dbus-devel libdrm-devel libglvnd libglvnd-devel mesa-libGL-devel asciidoc redshift bison bison-devel flex flex-devel librsvg2-devel check-devel xcb-proto jsoncpp jsoncpp-devel wireless-tools wireless-tools-devel cmake @development-tools gcc-c++ i3-ipc alsa-lib-devel pulseaudio-libs-devel libmpdclient-devel libcurl-devel plymouth-theme-spinfinity
# Setup git folder
cd ~
mkdir github
# Install i3-gaps
cd ~/github
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
autoreconf --force --install
rm -rf build/
mkdir -p build && cd build/
../configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers
make
sudo make install
# Instalar compton
cd ~/github
git clone https://github.com/chjj/compton compton
cd compton
make
make docs
make install
# Instalar rofi
cd ~/github
git clone https://github.com/DaveDavenport/rofi rofi
cd rofi/
git submodule update --init
autoreconf -i
mkdir build
cd build
../configure
make
make install
# Install polybar
cd ~/github
git clone --recursive https://github.com/jaagr/polybar polybar
mkdir polybar/build
cd polybar/build
cmake ..
sudo make install
# change bootup theme
plymouth-set-default-theme spinfinity -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment