A good Junk Cleaner for Ubuntu Mate

Hi, I have been seeing that Ubuntu Mate been acting slow and sometimes even crashes. It’s getting annoying now. Is there any like junk cleaner or some sort of app that can make your pi run at its potential. Maybe a junk cleaner, malware cleaner, or a task killer for Ubuntu Mate on rpi3. That would really be helpful. A reply is always appreciated.

Hallo

You could do the following from time-to-time:

open a terminal, then run the following command:

sudo apt-get update && sudo apt-get upgrade && sudo apt autoremove

If you want a kind of cleaning program you could try “BleachBit”. If you use BleachBit be sure to set it up carefully - of particular note - if you want it to overwrite erased data you must specify this during the setup procedure.

I use both of these. They work for me. :slight_smile:

Hey @commandery11

Compared to Windows, conventional bloatware is rarely a problem on Linux and even less so on Linux ARM systems.

Slowness and hanging/crashing on a Raspberry Pi is typically attributed to running out of RAM used by your standard applications. The Pi 3 is limited to 1 GB so it’s hard to fit a browser and games. You can run top to monitor the amount of memory or for something easier to read try htop:

sudo apt install htop

If you need to kill a particular process before it overtakes your system, use the killall command.

Thanks guys :smile: you both really helped me thanks. :smile:

You can also install Bleachbit which I use, recommend and is in the repositories, or Stacer, which I have not used. It is not in the repositories, and has to be downloaded as a .deb and installed wtih gdebi or by the command line.

I will give it a try. :smile:

I don’t think there is a 32bit Stacer only 64bit.

Stacer v1.0.5 @oguzhaninan oguzhaninan released this on Mar 22, 2017
Stacer_1.0.5_i386.deb
Not sure if it will work.

What do I do once its done downloading?

Regularly cleaning/emptying/removing the Cache helps a lot too,
I wrote a small script for it (CacheCleaner), but I have to mention it is for /bin/bash (not for the dash) !

Linux Cache Cleaning tool

Created By : Jean Paul BERES

2018 (latest change 30/01/2018

#!/bin/bash

Standard Bash Color definitions

LIGHT_RED="\e[91m"
LIGHT_GREEN="\e[92m"
LIGHT_YELLOW="\e[93m"
REVERSE_RED="\e[101m"
REVERSE_OFF="\e[49m"
MAGENTA="\e[95m"
DEFAULT="\e[39m"

Function for press Enter Key Message to continue

function PressEnter {
echo -e
echo -en $LIGHT_YELLOW
read -p “Press [Enter] key to Continue…”
echo -e
echo -en $DEFAULT
}

echo -e
echo -e $LIGHT_GREEN"Clearing all the Cache…"$DEFAULT
rm -r -v -f ~/.cache
echo -e
echo -e $LIGHT_GREEN"Cache Cleared…"$DEFAULT
PressEnter

Do you have this script downloadable in a sh file.

How can I provide it to you or to everybody here ?

How do you use the script? Is what I am trying to say.