Ubuntu 22.04 安装常用办公软件

切换源

ubuntu 22.04

sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak
sudo sed -i "s@http://.*archive.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list
sudo sed -i "s@http://.*security.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list

ubuntu 24.04

位置: /etc/apt/sources.list.d/ubuntu.sources

# 阿里云
Types: deb
URIs: http://mirrors.aliyun.com/ubuntu/
Suites: noble noble-updates noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

MySQL

sudo apt install docker.io mysql-client -y

sudo docker pull mysql:5.7
sudo docker run --restart=always -d --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql:5.7

NodeJs

//如需安装其他版本,参考 https://nodejs.org/zh-cn/download
sudo apt install nodejs -y

基础软件包

sudo apt install openssh-server vim tree nload sshpass curl wget unrar unzip telnet -y
sudo apt install openjdk-8-jdk openjdk-8-doc openjdk-8-source maven git -y
//vpn
sudo apt install network-manager-l2tp-gnome -y

如提示 the following packages have been kept back ,解决方案如下:

 sudo apt install --reinstall your_kept_back_package

如果觉得App显示名称不合适(如微信显示为weixin),解决方案如下:

sudo vim /usr/share/applications/weixin.desktop
//添加此项,然后重启电脑 
Name=微信

如提示 snap has no updates available ,解决方案如下:

sudo killall snap && sudo snap refresh

sudo killall snap-store && sudo snap refresh snap-store

无线网卡速度慢,解决方案如下:

 

//查看无线网卡
sudo iwconfig

//无线网卡空闲时不睡眠
sudo iwconfig your_network_interface power off

//查看无线频率
sudo iwlist your_network_interface scan | grep -E "ESSID|Frequency"

//更改无线频率为5G
sudo iwconfig your_network_interface freq 5.24GHz

aTrust

下载ubuntu版,地址:https://atrustcdn.sangfor.com/standard/linux/2.5.16.20/ubuntu/amd64/aTrustInstaller_amd64.deb

WPS

下载linux版,地址:https://platform.wps.cn

飞书

下载linux版,地址:https://www.feishu.cn/download

微信

下载ubuntu版,地址:https://linux.weixin.qq.com

QQ

下载ubuntu版,地址:https://im.qq.com/linuxqq/download.html

有道云笔记

下载linux版,地址:https://note.youdao.com

百度网盘

下载linux版,地址:https://pan.baidu.com/download

腾讯会议

下载linux版,地址:https://meeting.tencent.com/download

若提示 检测到窗口系统采用wayland协议 腾讯会议暂不兼容 程序即将退出,解决方案如下:

sudo vim /etc/gdm3/custom.conf

#WaylandEnable=false 的注释井号去掉

sudo service gdm3 restart

dbeaer-ce

下载安装即可,地址:https://dbeaver.io/download/

finalshell

下载安装即可,地址:https://www.hostbuf.com/t/988.html

IDEA快捷方式

sudo vim /usr/share/applications/idea.desktop

//内容如下:
[Desktop Entry]
Name=IntelliJ IDEA
Comment=IntelliJ IDEA
Exec=/opt/idea-IU-252.25557.131/bin/idea.sh
Icon=/opt/idea-IU-252.25557.131/bin/idea.svg
Terminal=false
Type=Application
Categories=Development;

蓝牙耳机麦克风没有声音

//安装后,重启即可,注意耳机协议格式需为HFP/HSP
sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream
sudo apt install pipewire libspa-0.2-bluetooth

搜狗拼音(貌似有问题,不建议配置)

安装完若不能使用,需要检查快捷键是否冲突!!!

1、下载linux版安装之,地址:https://shurufa.sogou.com

2、删除ibus相关包:

sudo apt remove --purge ibus -y

3、安装搜狗输入法依赖:

sudo apt install fcitx-bin libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2 libgsettings-qt1 -y

4、在 Language Support 中设置输入法框架为fxitx4:

 

 5、重启系统,在 input method 中添加搜狗

posted @ 2022-09-26 11:37  david123102  阅读(3601)  评论(0)    收藏  举报