1. 程式人生 > 其它 >Ubuntu20.04安裝後的(debug模式)

Ubuntu20.04安裝後的(debug模式)

技術標籤:Ubuntu筆記ubuntulinuxdeepin動態規劃

Ubuntu20.04安裝後的教程

2021-1-14,本機進行了18.04-20.04的安裝升級。開始採坑(記錄)

BUG區域:

1 deb檔案包的解鎖:

剛更新完的Ubuntu會出現deb檔案上鎖的問題,從而導致無法安裝和解壓正常的檔案。
輸入一下命令:

sudo killall apt apt-get

然後輸入:

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*

然後重新配置軟體包

sudo dpkg --configure -a
sudo apt update

2安裝檔案庫損壞:

在開啟在這裡插入圖片描述
這個軟體的時候也有可能出現檔案庫損壞的情況
遇到 dpkg: error processing package sogoupinyin (–install): dependency problems - leaving unconfigured

檢查修復依賴:

sudo apt-get install -f

**安裝區

1安裝搜狗輸入法

在安裝之前先安裝Fcitx輸入框架

sudo apt install fcitx-bin
sudo apt-get install fcitx-table

然後去官網下載搜狗Linux安裝包(選擇對應的鍵位)

https://pinyin.sogou.com/linux/

然後安裝對應的安裝包:

sudo dpkg -i sougou的檔名.deb

2安裝Typora(官方方法)

記筆記用的軟體–個人感覺還是挺好用的。
Typora的官網:typora.io
複製貼上即可:

wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -

sudo add-apt-repository 'deb https://typora.io/linux ./'

sudo apt-get update

sudo apt-get install typora

3安裝谷歌瀏覽器

匯入公鑰

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -

更新依賴

sudo apt-get update

安裝谷歌

sudo apt-get install google-chrome-stable

啟動即可