40 lines
1.2 KiB
Markdown
40 lines
1.2 KiB
Markdown
# Minimal Debian system with KDE Plasma
|
|
## Universal tweaks
|
|
### Disable apt Recommends and Suggests (Advanced tweak)
|
|
```
|
|
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/01Recommends
|
|
echo 'APT::Install-Suggests "false";' > /etc/apt/apt.conf.d/01Suggests
|
|
```
|
|
|
|
## Debian 12
|
|
### Package Cleanup
|
|
```
|
|
apt purge juk knotes korganizer kmail* konqueror kpeople-vcard kaddressbook* akregator dragonplayer zutty sweeper kmouth kmousetool kmag partitionmanager
|
|
apt autoremove
|
|
```
|
|
|
|
### To allow root to run missing commands
|
|
Edit `/etc/profile` to the what is shown below
|
|
|
|
```
|
|
#if [ "$(id -u)" -eq 0 ]; then
|
|
# PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
#else
|
|
# PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
|
|
#fi
|
|
|
|
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin:/usr/local/sbin:/sbin"
|
|
```
|
|
|
|
|
|
## Debian 13
|
|
### Package Cleanup
|
|
```
|
|
apt purge juk korganizer kmail* konqueror kpeople-vcard kaddressbook* akregator dragonplayer zutty sweeper kmouth kmousetool kmag partitionmanager kwrite kontrast xterm okular
|
|
apt autoremove
|
|
```
|
|
### Move `/tmp` form memory to disk
|
|
```
|
|
sudo systemctl mask tmp.mount
|
|
sudo reboot
|
|
``` |