This repository was archived by the owner on May 21, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·86 lines (65 loc) · 2.94 KB
/
Copy pathsetup.sh
File metadata and controls
executable file
·86 lines (65 loc) · 2.94 KB
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
84
85
86
#!/bin/bash
cd $(dirname $0)
#Install needed programs
sudo apt install -y curl gpg
# Install appcove developer software repo
curl -sLO https://appcove.github.io/developer-software/ubuntu/dists/jammy/main/binary-amd64/ads-release_1.0.0custom22.04_amd64.deb
sudo dpkg -i ads-release_1.0.0custom22.04_amd64.deb
# Install docker repo
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo dd of=/etc/apt/sources.list.d/docker.list
# Install and prepare VSCode PPA
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt install apt-transport-https
# Install and prepare chrome PPA
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
# Update apt
sudo apt update
# Install all ads packages
sudo apt install ads-everything
# Install VSCode
sudo apt install code
# Install Chrome
sudo apt-get install google-chrome-stable
# Basic packages
sudo apt install ads-everything build-essential git tig git-lfs sshfs vim rsync curl net-tools postgresql-client-14 tree redis-tools libfuse2 gnome-shell-extension-manager vlc gnome-screenshot pwgen pavucontrol
# CLI Tools
sudo apt install fzf jq
# Tools
sudo apt install gimp inkscape flameshot librecad
# For remote access to other systems
sudo apt install sshfs
# For anything with ssl
sudo apt install libssl-dev
# For egui
sudo apt install libxcb-shape0-dev libxcb-xfixes0-dev
# For fuse work
sudo apt-get install libfuse-dev pkg-config
# Set defaults
sudo update-alternatives --set editor /usr/bin/vim.basic
# Install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Install docker
sudo apt update
sudo apt install -y docker-ce-cli containerd.io docker-compose-plugin
sudo apt install -y docker-ce || echo "failure to start docker this time -- stupid hack"
sudo systemctl enable docker
sudo usermod -aG docker $USER
echo "----------------------------------"
echo
echo "Run Extension manager: extension-manager"
echo
echo "GitHub CLI: https://github.com/cli/cli/blob/trunk/docs/install_linux.md"
echo
echo "you are using:"
echo $XDG_SESSION_TYPE
echo
echo "If you are using wayland, run: sudo vim /etc/gdm3/custom.conf"
echo "and in the file change: WaylandEnable=true, to: WaylandEnable=false, or uncomment #WaylandEnable=false"
echo
echo "Once this installation is finished, restart you machine. A restart is required for a number of the programs to function properly."
echo