Ubuntu安全性與軟體更新

Step1)確定Ubuntu版本

#lsb_release -a

Step2)取得套件清單

#sudo apt-get update

Step3)更新套件

#sudo apt-get upgrade

#sudo apt-get -y dist-upgrade

Step4)自動刪除不需要的套件

#sudo apt-get autoclean

#sudo apt-get clean

#sudo apt-get autoremove