-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebian
33 lines (26 loc) · 1.32 KB
/
debian
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
sudo vim /etc/apt/apt.conf.d/00aptitude
# add: APT::Install-Recommends "false";
# add: APT::Install-Suggests "false";
sudo apt install vim lightdm xorg xfce4 xfce4-panel thunar xfce4-terminal pulseaudio gnome-keyring network-manager-gnome
sudo apt install fonts-noto fonts-noto-mono fonts-noto-cjk
sudo apt install git gcc g++ python3-venv python3-dev
sudo apt install synaptic command-not-found baobab gparted strace iotop
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
sudo vim /etc/lightdm/lightdm.conf
# add: autologin-user=...
# fix networking: remove references to wifi from /etc/network/interfaces
# add a Tray widget to xfce
# reboot and log into wifi again
wget https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb
sudo apt install ./cuda-keyring_1.1-1_all.deb
# add: "contrib non-free" to the debian package sets list
sudo apt install cuda nvidia-drivers linux-headers-$(uname -r)
# important: may need to modprobe nvidia-current-uvm for jax to see cuda devices
# if required, add it to /etc/modules-load.d/nvidia.conf
vim ~/.config/pip/pip.conf
# [global]
# cache-dir=/home/david/.pip-cache
python3 -m venv venv
source .venv/bin/activate
pip install --upgrade pip "jax[cuda12_pip]" einops optax