Skip to content

Instantly share code, notes, and snippets.

@sayak-sarkar
Created March 13, 2019 22:20
Show Gist options
  • Save sayak-sarkar/cd3f12b08d87053888ea17ab942f9ce1 to your computer and use it in GitHub Desktop.
Save sayak-sarkar/cd3f12b08d87053888ea17ab942f9ce1 to your computer and use it in GitHub Desktop.
Shell script to setup initial set of packages on Fedora
sudo dnf update -y
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
sudo bash -c 'cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - \$basearch
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
EOF'
sudo dnf install -y 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
sudo dnf install -y https://dl.folkswithhats.org/fedora/$(rpm -E %fedora)/RPMS/folkswithhats-release.noarch.rpm
sudo dnf install -y http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
sudo dnf groupinstall -y 'Development Tools'
sudo dnf groupinstall -y 'C Development Tools and Libraries'
sudo dnf install -y fedy 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 gnome-tweak-tool vim vlc java-openjdk icedtea-web gimp youtube-dl inkscape google-chrome-stable gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free gstreamer1-plugins-bad-freeworld gstreamer1-plugins-bad-free-extras ffmpeg flash-plugin alsa-plugins-pulseaudio libcurl p7zip p7zip-plugins gnome-terminal-nautilus hexchat unzip
git clone https://github.com/optimisme/gnome-shell-simple-dock.git
cd gnome-shell-simple-dock
chmod 744 install.sh
./install.sh
cd ../
rm -rf gnome-shell-simple-dock
su -c "dnf -y copr enable user501254/Paper && dnf -y install paper-gtk-theme paper-icon-theme"
fedy
gnome-tweak-tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment