Open your terminal in Ubuntu 18.04 or 20.04 Desktop and enter the commands :
$ sudo apt install software-properties-common
Desktop@FreeAd.win: ~ $ sudo add-apt-repository ppa:gerardpuig/ppa
Official Ubuntu Cleaner stable repository
More info: https://launchpad.net/~gerardpuig/+archive/ubuntu/ppa
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu bionic InRelease [15.9 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:6 http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu bionic InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:8 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu bionic/main i386 Packages [520 B]
Get:9 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu bionic/main amd64 Packages [520 B]
Get:10 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu bionic/main Translation-en [188 B]
Fetched 17.1 kB in 2s (9,367 B/s)
Reading package lists... Done
$ sudo apt update
Wait a few seconds or minute to update this
$ sudo apt install ubuntu-cleaner
Desktop@FreeAd.win:~$ sudo apt install ubuntu-cleaner
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libpython-stdlib python python-apt python-aptdaemon
python-aptdaemon.gtk3widgets python-bs4 python-chardet python-dbus
python-debian python-defer python-gi python-html5lib python-lxml
python-minimal python-pkg-resources python-six python-webencodings python2.7
python2.7-minimal
Suggested packages:
python-doc python-tk python-apt-dbg python-apt-doc python-dbus-dbg
python-dbus-doc python-gi-cairo python-genshi python-lxml-dbg
python-lxml-doc python-setuptools python2.7-doc binfmt-support
The following NEW packages will be installed:
libpython-stdlib python python-apt python-aptdaemon
python-aptdaemon.gtk3widgets python-bs4 python-chardet python-dbus
python-debian python-defer python-gi python-html5lib python-lxml
python-minimal python-pkg-resources python-six python-webencodings python2.7
python2.7-minimal ubuntu-cleaner
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,657 kB of archives.
After this operation, 15.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Press y and enter to continue...
Install will completed in seconds or minute or minutes.
(Its depending on your pc and server internet speed, at the time of installation).
You can check ubuntu cleaner is installed or not in your ubuntu Desktop :
$ whereis ubuntu-cleaner
press on "Enter" to check this
Desktop@FreeAd.win:~$ whereis ubuntu-cleaner
ubuntu-cleaner: /usr/bin/ubuntu-cleaner /usr/share/ubuntu-cleaner
Launch the "Ubuntu-Cleaner"
Open your ubuntu short cut panel and search the "cleaner" and click on Ubuntu Cleaner.
that's it...