完整備份Ubuntu已安裝的應用程式清單

這裡有教你如何完整備份Ubuntu已安裝的應用程式清單,
以及重灌後的還原:

http://hehe2.net/linuxhowto/howto-fresh-ubuntu-install-without-losing-your-current-settings/


1. 備份/home/user (如果/home是獨立分割區可以省略這步)

2. 備份應用軟體清單:
sudo dpkg --get-selections > /home/user/package.selections


3. 重灌好後還原應用軟體:
sudo dpkg --set-selections /home/package.selections && apt-get dselect-upgrade

留言

這個網誌中的熱門文章

為 Line-in 設定音量

Firefox: 設定滑鼠滾輪捲動行數