拥有sudo权限
su -
gedit /etc/sudoers
nano /etc/sudoers
找到 root ALL=(ALL:ALL) ALL 之后在下面添加一行即可 xxx 表示用户名
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
xxx ALL=(ALL:ALL) ALL
换源
# Debian 10 buster
# 中科大源
deb http://mirrors.ustc.edu.cn/debian buster main contrib non-free
deb http://mirrors.ustc.edu.cn/debian buster-updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian buster-backports main contrib non-free
deb http://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
安装输入法
sudo apt install fcitx-googlepinyin
记录一下安装输入法的过程中遇到的坑:
在使用im-config选择输入法软件时,明明手动选择fcitx,最后在终端运行fcitx或者fcitx-autostart,还是会提示“XIM启动错误。是否有另一个名为ibus的XIM守护程序正在运行?”这个BUG,导致始终用不了fcitx.
这个问题最后通过卸载ibus即可,最后im-config的界面中“正在使用”和“正常的自动选择”都变成fcitx才可。
sudo apt autoremove ibus*
通过以下命令可以配置fcitx输入法
fcitx-config-gtk3
https://jingyan.baidu.com/article/c45ad29cd8714b441753e2bf.html
Debian 系统安装命令TAB补全
apt-get install bash-completion
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
安装声卡或者wifi的驱动/固件
sudo apt-get install firmware-realtek
sudo apt-get install firmware-iwlwifi
安装开发环境
sudo apt install qt5-default qtcreator
安装日常使用软件
卸载系统自带的办公软件
sudo apt autoremove libreoffice*
去官网下载.deb通过sudo dpkg -i ****.deb进行安装
脑图:xmind
开发环境:visual studio code
办公软件:wps
网易云音乐:网易云音乐,在网页右上角有“其他操作系统客户端”,下载linux版本即可。
播放器:
sudo apt install vlc
录屏软件:
sudo apt install vokoscreen
2022.4.26更新:
窗口全按钮显示
debian默认窗口只有关闭的按钮,当要最小化的时候操作复杂,通过下面的命令可以调出修改设置
gnome-tweaks
2022.5.6更新
安装ros时新的添加密钥的工具总是报错,可以通过以下命令添加密钥:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654
2022.5.7更新:
安装钉钉:
Index of /deepin/pool/non-free/d/dingtalk/
2022.12.29:
安装rosdep的小工具,挺好用的:
Ubuntu 20.04怎么编译AutoWare.auto 源码_caozenghuan的博客-CSDN博客_ubuntu20.04 autoware
2023.1.17更新:
windows 下的snipaste非常好用,ubuntu我一直没找到好用的,最近看到有人推荐flameshot,感觉不错,安装:
sudo apt-get install flameshot