萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 作業系統 >  >> Linux 教學

Linux 各發行版安裝 BleachBit 系統清理工具完整指令表

BleachBit 是開源系統清理工具,能清除快取、暫存檔、日誌、瀏覽器歷史等垃圾檔案,釋放磁碟空間並保護隱私。本文彙整 Ubuntu、Debian、Linux Mint、Elementary OS、openSUSE、Fedora、CentOS 等主流發行版的安裝指令(含 PPA、.deb、.rpm 直裝與原始碼編譯),並提供移除指令。

一、Ubuntu 14.04 / Linux Mint 17 / Elementary OS 0.3 及衍生版

方式 A:下載 .deb 手動安裝(適用離線環境)

$ sudo apt-get install gdebi
$ wget https://katana.oooninja.com/bleachbit/sf/bleachbit_1.4_all_ubuntu1404.deb
$ sudo gdebi bleachbit_1.4_all_ubuntu1404.deb

方式 B:PPA 安裝(自動更新)

$ sudo add-apt-repository ppa:n-muench/programs-ppa
$ sudo apt-get update
$ sudo apt-get install bleachbit

二、Ubuntu 12.04 / Linux Mint 13 / Elementary OS 0.2 及衍生版

$ sudo apt-get install gdebi
$ wget https://katana.oooninja.com/bleachbit/sf/bleachbit_1.4_all_ubuntu1204.deb
$ sudo gdebi bleachbit_1.4_all_ubuntu1204.deb

三、Debian 7 及衍生版

$ sudo apt-get install gdebi
$ wget https://katana.oooninja.com/bleachbit/sf/bleachbit_1.4_all_debian7.deb
$ sudo gdebi bleachbit_1.4_all_debian7.deb

四、Ubuntu / Debian 通用移除指令

$ sudo apt-get remove bleachbit

五、openSUSE 13.1

$ wget https://katana.oooninja.com/bleachbit/sf/bleachbit-1.4-1.1.opensuse131.noarch.rpm
$ sudo zypper install bleachbit-1.4-1.1.opensuse131.noarch.rpm

六、openSUSE 12.3

$ wget https://katana.oooninja.com/bleachbit/sf/bleachbit-1.4-1.1.opensuse123.noarch.rpm
$ sudo zypper install bleachbit-1.4-1.1.opensuse123.noarch.rpm

七、openSUSE 移除指令

$ sudo zypper remove bleachbit

八、Fedora 20

$ wget https://katana.oooninja.com/bleachbit/sf/bleachbit-1.4-1.1.fc20.noarch.rpm
$ sudo yum install bleachbit-1.4-1.1.fc20.noarch.rpm

九、Fedora 19

$ wget https://katana.oooninja.com/bleachbit/sf/bleachbit-1.4-1.1.fc19.noarch.rpm
$ sudo yum install bleachbit-1.4-1.1.fc19.noarch.rpm

十、CentOS 7

$ wget https://katana.oooninja.com/bleachbit/sf/bleachbit-1.4-1.1.centos7.noarch.rpm
$ sudo yum install bleachbit-1.4-1.1.centos7.noarch.rpm

十一、CentOS 6

$ wget https://katana.oooninja.com/bleachbit/sf/bleachbit-1.4-1.1.centos6.noarch.rpm
$ sudo yum install bleachbit-1.4-1.1.centos6.noarch.rpm

十二、Fedora / CentOS 移除指令

$ sudo yum remove bleachbit

十三、使用提醒

  • 執行清理前建議先 預覽 將刪除的檔案清單
  • 勿勾選不熟悉的選項(如 Free disk space 會寫入大量資料覆蓋空白區塊,耗時極長)
  • 以 root 權限執行可清理系統層級快取(/var/cache、/tmp 等),但請謹慎操作
  • 支援命令列模式:bleachbit --clean system.cache apt.cache 適合排程自動化
copyright © 萬盛學電腦網 all rights reserved