diff --git a/User.md b/README.md similarity index 67% rename from User.md rename to README.md index 1bf66a6..86c4ba1 100644 --- a/User.md +++ b/README.md @@ -1,8 +1,99 @@ -# Before starting. +# Before starting -Go read the [System.md](System.md) file before. +Shell lines starting with `$` means that the command is run as user. +Shell lines starting with `#` means that the command is run as root. +No starting character means that the command is run as user. +Words in between "<...>" and in uppercase letters means that you have to replace them with the correct value. -# Configure Gnome +# System configuration + +## Add user to group sudo + +``` +$ su - +``` + +``` +# usermod -aG sudo +# apt install sudo +``` + +## Install nvidia driver + +``` +sudo apt install linux-headers-generic +sudo apt install nvidia-driver nvidia-kernel-dkms +``` + +## Apt packages + +Install packages with the following command. +``` +sudo apt install +``` + +``` +## Apps +firefox-esr +milkytracker +hardinfo2 +gparted +fastfetch +cava + +## Utilities +git +gcc +g++ +make +cmake +pkg-config +``` + +## Flatpak + +Install and configure flatpak. +``` +sudo apt install flatpak +flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo +``` + +Install packages with the following command. +``` +sudo flatpak install +``` + +``` +com.github.tchx84.Flatseal +com.jetpackduba.Gitnuro +com.obsproject.Studio +com.obsproject.Studio.Plugin.PipeWireAudioCapture +com.usebottles.bottles +org.prismlauncher.PrismLauncher +org.onlyoffice.desktopeditors +``` + +## Install Gnome Desktop + +Install desktop. +``` +sudo apt install gnome +``` + +Remove useless packages. +``` +sudo apt remove --purge gnome-tour gnome-software evolution libreoffice-* zutty malcontent +sudo apt autoremove --purge +``` + +Install complementary packaages. +``` +sudo apt install gnome-shell-extensions +``` + +# User confiuration + +## Configure Gnome In settings set Style to Dark, and add [backgrounds](backgrounds/). @@ -75,14 +166,14 @@ Aseprite tiled ``` -# Create user bin directories +## Create user bin directories ``` mkdir -p $HOME/.local/bin echo "export PATH=$HOME/.local/bin:\$PATH" >> ~/.bashrc ``` -# Install the pico-sdk and picotool +## Install the pico-sdk and picotool See more on [Poivron-Robotique](https://poivron-robotique.fr/Rpi-Pico-Installer-l-environnement-de-developpement-sur-Debian-11.html). @@ -130,7 +221,7 @@ make And install it. ``` -sudo cp picotool $HOME/.local/bin/ +cp picotool $HOME/.local/bin/ ``` Add env var. @@ -139,7 +230,7 @@ echo "export PICOTOOL_FETCH_FROM_GIT_PATH=$(pwd)" >> ~/.bashrc source ~/.bashrc ``` -# Install the fxSDK +## Install the fxSDK See more on [Planet-Casio](https://www.planet-casio.com/Fr/forums/topic16614-16-giteapc-installer-et-mettre-a-jour-automatiquement-des-projets-gitea.html). @@ -162,7 +253,7 @@ giteapc install Lephenixnoir/sh-elf-gcc giteapc install Lephenixnoir/gint ``` -# To update +# To update everything Apt. ``` @@ -181,3 +272,20 @@ FxSDK. ``` giteapc install -u ``` + +PicoSDK. +``` +cd $HOME/.local/share/pico-sdk +git pull --update-shallow +git submodule update +``` + +Picotool. +``` +cd $HOME/.local/share/picotool +git pull +mkdir -p build +cmake .. +make +cp picotool $HOME/.local/bin/ +``` diff --git a/System.md b/System.md deleted file mode 100644 index 24b12c9..0000000 --- a/System.md +++ /dev/null @@ -1,90 +0,0 @@ -# Before starting - -Shell lines starting with `$` means that the command is run as user. -Shell lines starting with `#` means that the command is run as root. -No starting character means that the command is run as user. -Words in between "<...>" and in uppercase letters means that you have to replace them with the correct value. - -# Add user to group sudo - -``` -$ su - -``` - -``` -# usermod -aG sudo -# apt install sudo -``` - -# Install nvidia driver - -``` -sudo apt install linux-headers-generic -sudo apt install nvidia-driver nvidia-kernel-dkms -``` - -# Apt packages - -Install packages with the following command. -``` -sudo apt install -``` - -``` -## Apps -firefox-esr -milkytracker -hardinfo2 -gparted -fastfetch -cava - -## Utilities -git -gcc -g++ -make -cmake -pkg-config -``` - -# Flatpak - -Install and configure flatpak. -``` -sudo apt install flatpak -flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo -``` - -Install packages with the following command. -``` -sudo flatpak install -``` - -``` -com.github.tchx84.Flatseal -com.jetpackduba.Gitnuro -com.obsproject.Studio -com.obsproject.Studio.Plugin.PipeWireAudioCapture -com.usebottles.bottles -org.prismlauncher.PrismLauncher -org.onlyoffice.desktopeditors -``` - -# Install Gnome Desktop - -Install desktop. -``` -sudo apt install gnome -``` - -Remove useless packages. -``` -sudo apt remove --purge gnome-tour gnome-software evolution libreoffice-* zutty malcontent -sudo apt autoremove --purge -``` - -Install complementary packaages. -``` -sudo apt install gnome-shell-extensions -``` \ No newline at end of file