commit 4209e97354c2318fef41258bc877dc61850c162a
parent 45d4b13e96a0d82edf01958b5234d4073f3e3b9e
Author: Remy Noulin <loader2x@gmail.com>
Date: Sat, 25 Feb 2023 19:48:29 +0200
update packages for bookworm
debian/1-system.sh | 38 +++++++++++---------------------------
debian/2-desktopSystem.sh | 2 +-
2 files changed, 12 insertions(+), 28 deletions(-)
Diffstat:
2 files changed, 12 insertions(+), 28 deletions(-)
diff --git a/debian/1-system.sh b/debian/1-system.sh
@@ -1,16 +1,14 @@
# setup apt sources for non-free pacakges
-sed -i 's/bullseye main/bullseye main contrib non-free/g' /etc/apt/sources.list
-sed -i 's/bullseye\/updates main/bullseye\/updates main contrib non-free/g' /etc/apt/sources.list
-# easydoneit repo
-echo 'deb http://spartatek.se/packages/ unstable/' >> /etc/apt/sources.list
+sed -i 's/bookworm main/bookworm main contrib non-free/g' /etc/apt/sources.list
+sed -i 's/bookworm\/updates main/bookworm\/updates main contrib non-free/g' /etc/apt/sources.list
# fail2ban < sshguard
apt-get update -y
apt-get upgrade -y
apt-get remove -y vim-tiny
-# sshguard is missing in bullseye, glances missing in bullseye
-apt-get install -y manpages cmake fail2ban net-tools curl wget tmux build-essential clang-11 clangd-11 clang-format-11 clang-tidy-11 clang-tools-11 tree apt-transport-https screen ranger mc vim-nox ncftp p7zip-full rtorrent pbzip2 atop htop tcc sshuttle finger cmatrix jigdo-file openssh-server ntp kpcli iftop iotop unison qrencode apt-file libpcre3-dev graphviz pandoc elinks w3m links nmap figlet zip lynx apt-src cowsay sl tig rdiff-backup imagemagick graphicsmagick llgal moreutils pwgen unattended-upgrades rsync ca-certificates pigz pixz astyle uncrustify unifdef valgrind doxygen fish gdb lcov slurm cloc python3-dev python3-pip silversearcher-ag ncdu mutt msmtp bmon lm-sensors cppcheck check clang toilet erlang mini-dinstall pinentry-curses exuberant-ctags cscope mkdocs source-highlight highlight massif-visualizer locate etckeeper autojump emacs-nox tty-clock strace slrn
+# sshguard alternative is fail2ban
+apt-get install -y manpages cmake sshguard net-tools curl wget tmux build-essential clang-11 clangd-11 clang-format-11 clang-tidy-11 clang-tools-11 tree apt-transport-https screen ranger mc vim-nox ncftp p7zip-full rtorrent pbzip2 atop htop tcc sshuttle finger cmatrix jigdo-file openssh-server ntp kpcli iftop iotop unison qrencode apt-file libpcre3-dev graphviz pandoc elinks w3m links nmap figlet zip lynx apt-src cowsay sl tig rdiff-backup imagemagick graphicsmagick llgal moreutils pwgen unattended-upgrades rsync ca-certificates pigz pixz astyle uncrustify unifdef valgrind doxygen fish gdb lcov slurm cloc python3-dev python3-pip silversearcher-ag ncdu mutt msmtp bmon lm-sensors cppcheck check clang toilet erlang mini-dinstall pinentry-curses exuberant-ctags cscope mkdocs source-highlight highlight massif-visualizer locate etckeeper autojump emacs-nox strace slrn
# vim
sed -i 's/"syntax on/syntax on/g' /etc/vim/vimrc
@@ -41,6 +39,13 @@ cp -R ../dotfiles/.gittemplates/* /root/.gittemplates/
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
+# tty-clock missing in bookworm
+git clone https://github.com/xorg62/tty-clock
+cd tty-clock
+make
+cp tty-clock /usr/bin/
+cd ..
+
# timg image viewer in terminal
git clone https://github.com/hzeller/timg.git
cd timg/src
@@ -51,27 +56,6 @@ cmake ../ -DWITH_VIDEO_DECODING=On -DWITH_VIDEO_DEVICE=On -DWITH_OPENSLIDE_SUPPO
make && make install
cd ../..
-# the fuck
-pip3 install thefuck
-#.bashrc: eval $(thefuck --alias)
-
-# ripgrep (similar to ag)
-wget https://github.com/BurntSushi/ripgrep/releases/download/0.5.2/ripgrep-0.5.2-x86_64-unknown-linux-musl.tar.gz
-/bin/tar xvf ripgrep-0.5.2-x86_64-unknown-linux-musl.tar.gz
-cd ripgrep-0.5.2-x86_64-unknown-linux-musl/
-mkdir -p /usr/local/share/man/man1/
-install rg.1 /usr/local/share/man/man1/
-install rg /usr/local/bin/
-cd ..
-
-# docker
-# --allow-unauthenticated because sometimes the key doesnt get installed
-export DEBIAN_FRONTEND=noninteractive ; \
- apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D ;\
- echo "deb https://apt.dockerproject.org/repo debian-bullseye main" > /etc/apt/sources.list.d/docker.list ;\
- apt-get update -y -q;\
- apt-get install --allow-unauthenticated -y -q docker-engine
-
# diff-so-fancy
git clone https://github.com/so-fancy/diff-so-fancy.git
cp diff-so-fancy/diff-so-fancy /usr/local/bin/
diff --git a/debian/2-desktopSystem.sh b/debian/2-desktopSystem.sh
@@ -1,4 +1,4 @@
-apt-get install -y fbi i3-wm suckless-tools feh fluxbox eog baobab gsetroot sweep aumix geeqie audacious mplayer xine-ui meld cifs-utils keepassx gnucash texlive texi2html xtightvncviewer gvncviewer vnc4server tightvncserver x11vnc gitk terminator xemacs21 vim-gtk wifi-radar xsane gedit universalindentgui mlterm libsixel-bin w3m-img arandr xbacklight chromium thunar midori eclipse-cdt thunderbird claws-mail
+apt-get install -y fbi i3-wm suckless-tools feh fluxbox eog baobab gsetroot sweep aumix geeqie audacious mplayer xine-ui meld cifs-utils keepassx gnucash texlive texi2html xtightvncviewer gvncviewer vnc4server tightvncserver x11vnc gitk terminator xemacs21 vim-gtk3 wifi-radar xsane gedit universalindentgui mlterm libsixel-bin w3m-img arandr xbacklight chromium thunar eclipse-cdt thunderbird claws-mail
# suckless st