-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstallEssentialPackages.sh
72 lines (50 loc) · 2.11 KB
/
installEssentialPackages.sh
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
#!/bin/sh
sudo su
# Install some generic packages that are used often
sudo apt install nmap tshark tldr vlc virtualbox krita
# Install gnome customization packages
gnome-tweaks nome-shell-extensions
# Install wine and dependencies
sudo apt install wine winetricks
sudo dpkg --add-architecture i386 && apt-get update && apt-get install wine32:i386
winetricks directx9
winetricks vcrun6sp6
# Install Android Studio dependencies 32bit
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
sudo apt install qemu qemu-kvm libvirt-bin
# Install KVM
sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils
# Install docker & docker compose
sudo apt install docker docker-compose
modprobe kvm
modprobe kvm_intel
# kvm-ok
# lsmod | grep kvm
# ls -al /dev/kv
sudo usermod -aG kvm $USER
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo apt install gnome-terminal
sudo apt remove docker-desktop
rm -r $HOME/.docker/desktop
sudo rm /usr/local/bin/com.docker.cli
sudo apt purge docker-desktop
curl -L -o docker-desktop.deb https://desktop.docker.com/linux/main/amd64/docker-desktop-4.21.1-amd64.deb?utm_source=docker&utm_medium=webreferral&utm_campaign=docs-driven-download-linux-amd64
sudo apt-get update
sudo apt-get install ./docker-desktop.deb
rm docker-desktop.deb
# If signing int as well to docker-desktop, follow the instructions when prompted
systemctl --user enable docker-desktop
systemctl --user start docker-desktop
# Update/upgrade the system
sudo apt update
sudo apt upgrade