~ashn/setup

ref: 6fc47ecc972b135b277d1c4730fa63b64907a4ef setup/setup-apt-packages.sh -rwxr-xr-x 2.2 KiB
6fc47eccashn Spring cleaning - tidy up shell dotfiles 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/bin/sh
[ "$(id -u)" != "0" ] && echo 'MUST RUN AS ROOT' && exit 1
export DEBIAN_FRONTEND=noninteractive
DISTRO="$(lsb_release --id --short)"
METHOD="$1" # What kind of install is this? "" (test with -z) | "gui"

set -e
set -x

apt-get -y update
apt-get -y upgrade

apt-get -y install apt-utils
apt-get -y install build-essential

apt-get -y install linux-tools-common
apt-get -y install linux-tools-generic
apt-get -y install linux-tools-`uname -r`

if [ "$DISTRO" = "Ubuntu" ]; then
    apt-get -y install network-manager
    apt-get -y install wireless-tools
fi

# Dev Tools
apt-get -y install autoconf
apt-get -y install clang
apt-get -y install clang-format
apt-get -y install gcc
apt-get -y install g++
apt-get -y install gdb
apt-get -y install llvm
apt-get -y install mit-scheme
apt-get -y install musl-tools # musl-gcc
apt-get -y install python
apt-get -y install python3
apt-get -y install racket
apt-get -y install ruby-full
apt-get -y install shellcheck
apt-get -y install tcc # Tiny C Compiler.
apt-get -y install valgrind

# Utilities
apt-get -y install ascii
apt-get -y install asciidoctor
apt-get -y install acpi # Display battery information.
apt-get -y install bash
apt-get -y install bash-completion
apt-get -y install cloc
apt-get -y install curl
apt-get -y install dash # Debian's default non-interactive shell.
apt-get -y install git
apt-get -y install htop # Better top.
apt-get -y install iputils-ping # ping
apt-get -y install less
apt-get -y install lzip
apt-get -y install man
apt-get -y install nano
apt-get -y install pandoc
apt-get -y install pwgen
apt-get -y install rfkill
apt-get -y install sl
apt-get -y install ssh
apt-get -y install sudo
apt-get -y install tio
apt-get -y install tree
apt-get -y install vim
apt-get -y install wget
apt-get -y install w3m

# Libs
apt-get -y install libgmp-dev
apt-get -y install libncurses5-dev

# GUI
if [ "$METHOD" = "gui" ]; then
    apt-get -y install xdotool # X11 CLI keyboard and mouse control.
    apt-get -y install gnome-disk-utility # gnome-disks
    apt-get -y install pavucontrol # PulseAudio Volume Control.
    apt-get -y install pinta # Simple image editor.
    apt-get -y install transmission # BitTorrent Client.
    apt-get -y install vlc
fi