2014-03-29 20:13:06 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-06-23 17:29:52 +01:00
|
|
|
set -e
|
2014-03-29 20:13:06 +00:00
|
|
|
|
|
|
|
#software and shell
|
2016-01-30 10:34:53 +00:00
|
|
|
sudo dnf -y upgrade --best --allowerasing
|
2016-09-10 15:10:15 +01:00
|
|
|
sudo dnf -y --best --allowerasing install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox aria2 gajim lm_sensors freecad python3-pip qt5-qtbase-devel qt5-qtwebkit-devel meld whois curl pv tor torsocks nodejs npm terminator gsmartcontrol python-pip mercurial python-devel libxslt-devel libjpeg-turbo-devel conky conky-manager redshift redshift-gtk cmake gtk2-devel intltool gparted wine solaar glances the_silver_searcher dkms kernel-devel gimp transmission-gtk git xz util-linux-user powertop dnf-automatic kdiff3 yum-utils util-linux-user
|
2014-08-01 21:17:40 +01:00
|
|
|
FEDORA_VERSION=`rpm -E %fedora`
|
2015-07-28 20:22:36 +01:00
|
|
|
sudo dnf -y install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$FEDORA_VERSION.noarch.rpm
|
|
|
|
sudo dnf -y install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$FEDORA_VERSION.noarch.rpm
|
2016-08-12 11:35:50 +01:00
|
|
|
sudo dnf -y --best --allowerasing install vlc splix gutenprint-cups cups-bjnp mono-devel keepass mplayer golang ncurses-compat-libs kicad retext
|
2015-07-28 20:22:36 +01:00
|
|
|
sudo dnf -y groupinstall "C Development Tools and Libraries"
|
2014-08-17 09:17:36 +01:00
|
|
|
|
2014-07-31 21:05:02 +01:00
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2016-08-01 06:07:58 +01:00
|
|
|
|
2016-08-01 06:29:33 +01:00
|
|
|
sudo cp -v /etc/dnf/automatic.conf /etc/dnf/automatic.conf.bak
|
|
|
|
sudo cp -v $DIR/etc/dnf/automatic.conf /etc/dnf/automatic.conf
|
2016-08-01 06:22:07 +01:00
|
|
|
set +e
|
2016-08-01 06:29:33 +01:00
|
|
|
sudo diff /etc/dnf/automatic.conf.bak /etc/dnf/automatic.conf
|
2016-08-01 06:22:07 +01:00
|
|
|
set -e
|
2016-08-01 06:07:58 +01:00
|
|
|
|
2016-08-01 06:37:34 +01:00
|
|
|
if [[ -z $NO_SYSTEMCTL ]]; then
|
|
|
|
sudo systemctl enable dnf-automatic.timer
|
|
|
|
sudo systemctl start dnf-automatic.timer
|
|
|
|
sudo systemctl list-timers "*dnf-*"
|
2016-08-01 06:07:58 +01:00
|
|
|
|
2016-07-01 14:14:40 +01:00
|
|
|
sudo systemctl enable tor
|
|
|
|
sudo systemctl start tor
|
|
|
|
fi
|
2015-08-01 19:17:56 +01:00
|
|
|
|
2015-03-28 08:10:58 +00:00
|
|
|
DIR="$DIR/../"
|
|
|
|
DIR="$DIR" $DIR/common/configure_fresh_system
|
2014-03-29 20:53:10 +00:00
|
|
|
|