更新
sudo apt-get update
sudo apt-get upgrade
列出所有已安裝套件
sudo dpkg -l
或
sudo apt list –installed
如果安裝的套件有很多, 最好使用 pipe 將結果輸出到 head 或 less 指令顯示:
sudo apt list –installed | head
或
sudo apt list –installed | less
快速配置軟體環境
sudo apt install tasksel
安裝完成後直接輸入
tasksel
安裝桌面環境
mate:
sudo apt-get install mate-desktop-environment
xfce4:
sudo apt-get install xfce4
sudo apt install xfce4-session
gnome:
sudo apt-get install ubuntu-desktop unity compizconfig-settings-manager
設定輸出位址:
export DISPLAY=localhost:0
確認輸出位址
echo $DISPLAY
遠端連線
sudo apt-get install xrdp
啟動xrdp,並設定開機自動啟動
/etc/rc.d/init.d/xrdp_control.sh start
安裝瀏覽器
Firefox:
sudo apt-get install firefox
sudo apt-get install chromium-browser
安裝fcitx輸入法
sudo apt-get install fcitx fcitx-chewing