Debian-12.0安装后的配置

Debian-12.0 安装后的配置:

1.设置主板时间为本地时间,默认为UTC时间,与Windows不同,如果双系统,时间有时差
sudo timedatectl set-local-rtc true

2.移除无用软件
sudo apt remove --purge gnome-games gnome-2048 gnome-chess gnome-klotski gnome-mines gnome-mahjongg gnome-sudoku gnome-nibbles gnome-robots gnome-taquin gnome-tetravex aisleriot four-in-a-row five-or-more hitori hoichess lightsoff quadrapassel swell-foop tali iagno gnome-calendar gnome-contacts gnome-documents gnome-maps gnome-todo gnome-logs uim xterm xiterm+thai mlterm-tools mlterm rsyslog malcontent goldendict kasumi hdate-applet synaptic evolution rhythmbox shotwell thunderbird fonts-arphic-ukai fonts-arphic-uming

3.安装常用的软件程序
sudo dpkg --add-architecture i386
sudo dpkg-reconfigure dash

sudo apt install nautilus-share bc rsync csh flashrom vim vim-gtk3 tree adb fastboot git subversion ssh cmake gcc g++ cgdb gparted p7zip-full dos2unix minicom picocom tftp ftp telnet device-tree-compiler u-boot-tools bison flex tk mtd-utils mtools libncurses5 libncurses5-dev libssl-dev fxload sdcc winbind ibus-pinyin libusb-1.0-0 libusb-1.0-0-dev librxtx-java libx11-6:i386 libc6-dev-i386 libpng16-16:i386 libfontconfig1:i386 libjpeg62-turbo:i386 libxau6:i386 libxext6:i386 libsm6:i386 libxi6:i386 libxrender1:i386 libxrandr2:i386 libxft2:i386 libncurses5:i386

sudo apt install verilator iverilog gtkwave ngspice octave octave-communications octave-signal gcc-riscv64-unknown-elf gcc-arm-linux-gnueabihf

4.软件源
deb http://mirrors.ustc.edu.cn/debian/ bookworm main non-free-firmware
deb-src http://mirrors.ustc.edu.cn/debian/ bookworm main non-free-firmware
deb http://mirrors.ustc.edu.cn/debian-security bookworm-security main
deb-src http://mirrors.ustc.edu.cn/debian-security bookworm-security main
deb http://mirrors.ustc.edu.cn/debian/ bookworm-updates main non-free-firmware
deb-src http://mirrors.ustc.edu.cn/debian/ bookworm-updates main non-free-firmware
deb http://mirrors.ustc.edu.cn/debian/ bookworm-proposed-updates non-free-firmware main

posted @ 2022-06-16 00:29  BH5HSV  阅读(369)  评论(0编辑  收藏  举报