Debian 13 //debian.org
I use the Debian operating system almost everywhere, with and without a graphical interface,
- on Windows
- container, VPS, dedicated host
x86-64Laptop and Desktop
With an $EDITOR like VS Code you can manually configure ~/.
ls -a ~/
code ~/
cd /tmp
echo "Hello, World!" >> hello.md
cat hello.md
rm hello.md
# In `wsl.exe` you can run Windows programs on Linux files!
explorer.exe .
ping google.com
# CTRL+C
getent hosts deb.debian.org # fastlydns.net (CDN hosting the packages)
uname --machine # x86_64 or aarch64 (CPU architecture)-
On Windows 10 or 11 you can
wsl.exe --installdebian. -
When buying or managing a host, server, container in the public cloud, just select "Debian 13" in the dropdown during setup.
-
Hardware installations are difficult, for PC hardware i recommend github.com/pbatard/rufus.
uname # Linux
hostnamectl | grep trixie # Debian GNU/Linux 13Download the .zip repository manually; or with wget, curl, git clone; or apt itself, if nothing else is installed.
WHO="junaga"
WHAT="debian"
WHEN="main"
LINK="https://codeload.github.com/$WHO/$WHAT/tar.gz/refs/heads/$WHEN"
cd ~/
/usr/lib/apt/apt-helper download-file $LINK tar.gz
tar -xz -f tar.gz
rm tar.gz
mv $WHAT-$WHEN/ src/Install packages
sudo bash src/script/upgrade.bashCopy dotfiles
ls
rm .bash_logout
cp -r src/home/. .
edit .env # code, cursor, vim, micro
exit # and enter(Optional) Git sex GitHub
bash src/script/git6hub.bash(Optional) Move user home
cp -r $HOME/. /usr/local/.
sudo chown -R $USER:$USER /usr/local/
sudo sed -i "s|$HOME|/usr/local|" /etc/passwd
exit # and enter(Optional) Clean filesystem
sudo rm -r /home/
sudo rm -r /root/
sudo bash src/script/purge.bash
# only in virtual machines
sudo rm -r /media/
sudo rm -r /mnt/
# only in containers
sudo rm -r /boot/