1.
http://askubuntu.com/a/657261
On Linux there usually is
no need to clean your system, even after multiple updates.
... (omitted)
このリンクに 色々書いてありますが、ひとつのアプリケーションで、一気にやってしまいたいのですが
我希望、使用「単一的应用程序」
2. create a new script file by :
gksudo gedit ~/myMaintaining
2-1. To use gksudo for the first time, You must install gksu in advance.
sudo apt install gksu
2-2. Choose those lines you think necessary from the following script file example :
代码: 全选
#!/bin/bash
#
sudo echo "sudo apt-get -y autoremove"
sudo apt-get -y autoremove
#
sudo echo "sudo apt-get -y autoclean"
sudo apt-get -y autoclean
#
sudo echo "sudo apt-get -y clean"
sudo apt-get -y clean
#
sudo echo "sudo apt-get -y check"
sudo apt-get -y check
#
# sudo echo "sudo apt-get -f -y install"
# sudo apt-get -f -y install
#
sudo echo "sudo dpkg --configure -a"
sudo dpkg --configure -a
#
sudo echo "sudo apt-get -y update"
sudo apt-get -y update
#
sudo echo "sudo apt-get -y upgrade"
sudo apt-get -y upgrade
#
sudo echo "sudo apt-get -y dist-upgrade"
sudo apt-get -y dist-upgrade
#
sudo echo "#..........................................."
sudo echo "#.......................Finish.............."
2-3. You may add any command line if you think it will be helpful.
2-4. sudo chmod +x ~/myMaintaining
2-5. You may put myMaintaining outside your home directory.
2-6. You may change myMaintaining into any name you like.
3. Everytime you execute the following script file :
sudo ~/myMaintaining
It will begin to maintain your system.
3. Look the following pages if you want to know the meaning of above commands :
3-1.
http://manpages.ubuntu.com/manpages/yak ... get.8.html
apt-get - APT package handling utility -- command-line interface
3-2.
http://manpages.ubuntu.com/manpages/yak ... pkg.1.html
dpkg - package manager for Debian
4. You will need those tools like Bleachbit
only if you become advanced and your system become so complicated.