Last active
December 30, 2016 16:26
-
-
Save dominicusin/a69d415f9dab44a151099359511c81df to your computer and use it in GitHub Desktop.
fedora25-postinstall.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "#!/bin/bash" | |
| #♩ ♪ ♫ ♬" | |
| for r in alexhaydock/fedpo baoboa/hwinfo decathorpe/syncthing \ | |
| petersen/stack rommon/telegram davidva/firefox-nightly; | |
| do echo dnf copr enable -y $r;done | |
| cat <<EOF | while read r;do echo "dnf config-manager --add-repo=$r";done | |
| http://negativo17.org/repos/fedora-cdrtools.repo | |
| http://negativo17.org/repos/fedora-flash-plugin.repo | |
| http://negativo17.org/repos/fedora-multimedia.repo | |
| http://negativo17.org/repos/fedora-nvidia.repo | |
| http://negativo17.org/repos/fedora-skype.repo | |
| http://negativo17.org/repos/fedora-rar.repo | |
| http://negativo17.org/repos/fedora-spotify.repo | |
| http://negativo17.org/repos/fedora-steam.repo | |
| http://negativo17.org/repos/fedora-uld.repo | |
| http://negativo17.org/repos/fedora-wit.repo | |
| http://apt.kde-redhat.org/apt/kde-redhat/fedora/kde.repo | |
| http://download.opensuse.org/repositories/isv:ownCloud:desktop/Fedora_25/isv:ownCloud:desktop.repo | |
| https://raw.github.com/kuboosoft/postinstallerf/master/postinstallerf.repo | |
| EOF | |
| #https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-fedora-25 | |
| #https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-25 | |
| keys=$(cat <<EOF | |
| https://raw.githubusercontent.com/kuboosoft/postinstallerf/master/GPG/$(rpm -E %fedora)/RPM-GPG-KEY-postinstallerf | |
| http://linux-libre.fsfla.org/pub/linux-libre/SIGNING-KEY.linux-libre | |
| https://dl.google.com/linux/linux_signing_key.pub | |
| http://linux.dell.com/repo/hardware/latest/public.key | |
| https://www.virtualbox.org/download/oracle_vbox.asc | |
| https://raw.githubusercontent.com/RussianFedora/russianfedora-free-release/master/RPM-GPG-KEY-russianfedora-free-fedora | |
| EOF | |
| ) | |
| for k in $keys | |
| do | |
| echo rpm --import $k | |
| done | |
| rpms=$(cat <<EOF | |
| https://raw.githubusercontent.com/UnitedRPMs/unitedrpms/master/RPM/unitedrpms-25-1.noarch.rpm | |
| https://rhel7.iuscommunity.org/ius-release.rpm http://remi.schlundtech.de/fedora/remi-release-25.rpm | |
| http://mirror.yandex.ru/fedora/russianfedora/russianfedora/free/fedora/russianfedora-free-release-stable.noarch.rpm | |
| http://mirror.yandex.ru/fedora/russianfedora/russianfedora/nonfree/fedora/russianfedora-nonfree-release-stable.noarch.rpm | |
| http://mirror.yandex.ru/fedora/russianfedora/russianfedora/fixes/fedora/russianfedora-fixes-release-stable.noarch.rpm | |
| http://mirror.yandex.ru/fedora/russianfedora/russianfedora/branding/fedora/russianfedora-branding-release-stable.noarch.rpm | |
| 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 | |
| http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm | |
| https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux64/flash-player-ppapi-24.0.0.189-release.x86_64.rpm | |
| https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux64/flash-player-npapi-24.0.0.189-release.x86_64.rpm | |
| https://dl.google.com/dl/linux/direct/google-chrome-unstable_current_x86_64.rpm | |
| https://dl.google.com/dl/earth/client/current/google-earth-stable_current_x86_64.rpm | |
| https://dl.google.com/linux/direct/google-musicmanager-beta_current_x86_64.rpm | |
| https://dl.google.com/linux/direct/google-talkplugin_current_x86_64.rpm | |
| https://dl.google.com/linux/direct/google-webdesigner_current_x86_64.rpm | |
| https://linux.dropbox.com/packages/fedora/nautilus-dropbox-2015.10.28-1.fedora.x86_64.rpm | |
| http://download.virtualbox.org/virtualbox/5.1.12/VirtualBox-5.1-5.1.12_112440_fedora25-1.x86_64.rpm | |
| http://download.opensuse.org/repositories/home:/satya164:/fedy/Fedora_21/noarch/fedy-3.2.3-8.1.noarch.rpm | |
| http://rpm.livna.org/livna-release.rpm | |
| https://folkswithhats.org/repo/$(rpm -E %fedora)/RPMS/noarch/folkswithhats-release-1.0.1-1.fc$(rpm -E %fedora).noarch.rpm | |
| https://rpm.opera.com/rpm/opera_developer-43.0.2431.0-linux-release-x64-signed.rpm | |
| http://repo.vivaldi.com/preview/rpm/x86_64/vivaldi-snapshot-1.7.705.3-1.x86_64.rpm | |
| http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/24/x86_64/planetccrma-repo-1.1-3.fc24.ccrma.noarch.rpm | |
| http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/24/x86_64/planetccrma-repo-testing-1.1-3.fc24.ccrma.noarch.rpm | |
| http://linux-libre.fsfla.org/pub/linux-libre/freed-ora/freed-ora-release.noarch.rpm | |
| https://download.postgresql.org/pub/repos/yum/9.6/fedora/fedora-25-x86_64/pgdg-fedora96-9.6-3.noarch.rpm | |
| https://prerelease.keybase.io/keybase_amd64.rpm | |
| EOF | |
| ) | |
| echo dnf install -y $rpms | |
| echo dnf remove -y google-earth-stable | |
| dsbl="fedora-wit epel postinstallerf-updates | |
| davidva-firefox-nightly alexhaydock-fedpo ozonos-fedy ius livna" | |
| for p in $dsbl | |
| do | |
| echo dnf config-manager --set-disabled $p | |
| done | |
| echo dnf groupinstall -y workstation-product-environment cloud-server-environment \ | |
| kde-desktop-environment xfce-desktop-environment lxde-desktop-environment \ | |
| lxqt-desktop-environment cinnamon-desktop-environment mate-desktop-environment \ | |
| developer-workstation-environment russian-support window-managers mate-applications \ | |
| libreoffice haskell gnome-desktop games fedora-packager design-suite audio admin-tools | |
| pkgs=$(cat <<EOF | |
| @admin-tools @authoring-and-publishing | |
| @base @base-x | |
| @c-development @core | |
| @design-suite @development-libs @development-tools | |
| @dial-up @eclipse @editors @education | |
| @electronic-lab @engineering-and-scientific @fedora-packager | |
| @firefox @fonts @ftp-server | |
| @gnome-desktop @gnome-software-development @graphical-internet @graphics @hardware-support | |
| @input-methods @java @java-development | |
| @kde-apps @kde-desktop @kde-education @kde-media @kde-office @kde-software-development @kde-telepathy | |
| @legacy-fonts @legacy-software-development | |
| @mail-server @multimedia @mysql | |
| @networkmanager-submodules @network-server @office @online-docs @printing | |
| @rpm-development-tools @security-lab @server-cfg @sound-and-video | |
| @sql-server @standard @system-tools @text-internet | |
| @xfce-apps @xfce-desktop @xfce-extra-plugins @xfce-media @xfce-office @x-software-development | |
| fedy haskell-platform htop hwinfo rdesktop | |
| remmina-plugins-* owncloud-client postinstallerf | |
| sagemath sagemath-notebook | |
| scilab scilab-devel scilab-doc security-menus smplayer | |
| texlive texlive-latex vlc | |
| EOF | |
| ) | |
| echo "wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi|bash" | |
| #echo $pkgs | while read line;do for word in $line;do echo $word; done; done >>aaa | |
| echo dnf clean all | |
| echo dnf --refresh --best --allowerasing -y install $pkgs | |
| echo "dsu --inventory;dsu" | |
| echo dnf --refresh --releasever 25 --best --allowerasing -v -y distro-sync | |
| echo dnf upgrade -y --refresh | |
| echo dnf install -y dnf-plugin-system-upgrade | |
| echo dnf -y system-upgrade download --releasever=25 | |
| echo dnf -y system-upgrade reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment