systemSetup

system setup, configuration and dotfiles
git clone https://noulin.net/git/systemSetup.git
Log | Files | Refs | README | LICENSE

commit 78bf16fc6e99317ed11195e15003992e6e04dd8b
parent 31ed5b246ac868b7d69ed41cc7c11c07261274f1
Author: Remy Noulin <loader2x@gmail.com>
Date:   Sat, 20 Jun 2020 13:06:33 +0200

use dnf instead of yum, setup video plugins for firefox

rhel_centos/1-system.sh        |  6 +++---
rhel_centos/2-desktopSystem.sh | 11 +++++++++--
rhel_centos/6-home.sh          | 24 ++++++++++++------------
3 files changed, 24 insertions(+), 17 deletions(-)

Diffstat:
Mrhel_centos/1-system.sh | 6+++---
Mrhel_centos/2-desktopSystem.sh | 11+++++++++--
Mrhel_centos/6-home.sh | 24++++++++++++------------
3 files changed, 24 insertions(+), 17 deletions(-)

diff --git a/rhel_centos/1-system.sh b/rhel_centos/1-system.sh @@ -1,13 +1,13 @@ # setup apt sources for non-free pacakges -yum check-update +dnf check-update # enable epel for extra packages -yum --enablerepo=extras install epel-release +dnf --enablerepo=extras install epel-release sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/CentOS-PowerTools.repo # fail2ban < sshguard # p7zip-full glances sshuttle cmatrix kpcli unison python-nose python-nose2-cov python-nosexcover links cowsay sl llgal pixz uncrustify unifdef fish lcov python-pip slurm cloc python3-dev silversearcher-ag bmon lm-sensors toilet pinentry-curses exuberant-ctags mkdocs massif-visualizer valkyrie autojump -yum install make sshguard screen ncftp rtorrent pbzip2 atop htop iftop w3m gcc clang libasan tmux ruby pcre-devel tree mc iotop qrencode figlet graphviz tig rdiff-backup pandoc elinks lynx doxygen ImageMagick graphicsmagick nmap moreutils pwgen ca-certificates zip pigz astyle valgrind gdb mutt check cppcheck ncdu source-highlight highlight erlang etckeeper ctags emacs-nox indent +dnf install make sshguard screen ncftp rtorrent pbzip2 atop htop iftop w3m gcc clang libasan tmux ruby pcre-devel tree mc iotop qrencode figlet graphviz tig rdiff-backup pandoc elinks lynx doxygen ImageMagick graphicsmagick nmap moreutils pwgen ca-certificates zip pigz astyle valgrind gdb mutt check cppcheck ncdu source-highlight highlight erlang etckeeper ctags emacs-nox indent pip3 install ranger-fm diff --git a/rhel_centos/2-desktopSystem.sh b/rhel_centos/2-desktopSystem.sh @@ -1,7 +1,14 @@ # sway i3-wm suckless-tools feh gsetroot sweep aumix geeqie mplayer xine-ui gnucash xtightvncviewer gvncviewer vnc4server tightvncserver x11vnc terminator xemacs21 vim-gtk wifi-radar universalindentgui mlterm libsixel-bin arandr xbacklight chromium-browser midori eclipse-cdt # audacious fails to install -yum install xterm plasma-desktop fluxbox meld cifs-utils keepassxc texlive texi2html gitk xsane w3m-img Thunar fontconfig-devel libX11-devel libXft-devel +dnf install xterm plasma-desktop fluxbox meld cifs-utils keepassxc texlive texi2html gitk xsane w3m-img Thunar fontconfig-devel libX11-devel libXft-devel + +# centos +dnf install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm +dnf install https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm +dnf install --skip-broken gstreamer1-libav gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free gstreamer1-plugins-bad-freeworld gstreamer1-plugins-bad-nonfree gstreamer1-plugins-good gstreamer1-plugins-ugly lame-libs lame-libs +dnf install --skip-broken gstreamer1-libav gstreamer1-plugins-ugly +dnf install --skip-broken mpv # suckless st git clone git://git.suckless.org/st @@ -20,7 +27,7 @@ cd .. # sc-im sc improved - vim-like spreadsheet calculator # some libraries are missing when compiling sc-in in 1-system.sh # here, it compiles -yum install bison ncurses-devel byacc +dnf install bison ncurses-devel byacc git clone https://github.com/andmarti1424/sc-im.git cd sc-im/src make && make install diff --git a/rhel_centos/6-home.sh b/rhel_centos/6-home.sh @@ -15,20 +15,20 @@ cd fzf cd .. # setup diff-so-fancy in gitconfig - git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX" - git config --global color.ui true +git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX" +git config --global color.ui true - git config --global color.diff-highlight.oldNormal "red bold" - git config --global color.diff-highlight.oldHighlight "red bold 52" - git config --global color.diff-highlight.newNormal "green bold" - git config --global color.diff-highlight.newHighlight "green bold 22" +git config --global color.diff-highlight.oldNormal "red bold" +git config --global color.diff-highlight.oldHighlight "red bold 52" +git config --global color.diff-highlight.newNormal "green bold" +git config --global color.diff-highlight.newHighlight "green bold 22" - git config --global color.diff.meta "227" - git config --global color.diff.frag "magenta bold" - git config --global color.diff.commit "227 bold" - git config --global color.diff.old "red bold" - git config --global color.diff.new "green bold" - git config --global color.diff.whitespace "red reverse" +git config --global color.diff.meta "227" +git config --global color.diff.frag "magenta bold" +git config --global color.diff.commit "227 bold" +git config --global color.diff.old "red bold" +git config --global color.diff.new "green bold" +git config --global color.diff.whitespace "red reverse" git config --bool --global diff-so-fancy.markEmptyLines false git config --bool --global diff-so-fancy.changeHunkIndicators false git config --bool --global diff-so-fancy.stripLeadingSymbols false