Ubuntu 20.04安装fcitx中文输入法
时间: 2023-08-23 17:10:37 浏览: 245
要在Ubuntu 20.04上安装fcitx中文输入法,您可以按照以下步骤进行操作:
1. 打开终端,并执行以下命令以安装Fcitx框架和相应的中文输入法:
```
sudo apt-get update
sudo apt-get install fcitx fcitx-googlepinyin fcitx-config-gtk
```
\[1\]
2. 加入key到系统并注入官网地址:
```
sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/
sudo sh -c 'echo "deb \[arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg\] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
```
\[2\]
3. 卸载snap版本的VS Code(如果已经安装了):
```
sudo snap remove code
```
4. 安装官方版本的VS Code:
- 首先,下载key:
```
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
```
\[3\]
- 然后,安装key:
```
sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/
```
- 最后,安装VS Code:
```
sudo apt-get update
sudo apt-get install code
```
这样,您就可以在Ubuntu 20.04上安装fcitx中文输入法和VS Code了。请按照上述步骤操作,如果有任何问题,请随时向我提问。
#### 引用[.reference_title]
- *1* [如何在ubuntu20.04安装中文输入法](https://blog.csdn.net/k1419197516/article/details/129579921)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Ubuntu 20.04安装fcitx中文输入法(五笔拼音)并解决VScode无法输入中文的问题](https://blog.csdn.net/weixin_42228294/article/details/120715073)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文
相关推荐
![-](https://img-home.csdnimg.cn/images/20241231045053.png)
![-](https://img-home.csdnimg.cn/images/20241231044930.png)
![-](https://img-home.csdnimg.cn/images/20210720083447.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![xz](https://img-home.csdnimg.cn/images/20250102104920.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)