I've got a question regarding how to delete all source codes that I've downloaded.
I think it just consumes a lot of space without any benefit yet!
Thanks in advance :)
I suggest you read this Community Documentation article: Recover Lost Disk Space
How to find lost space
To check the amount of space being used for package storage, run:
How to Fix It
There are several system commands you can use to reduce or eliminate the number of locally stored packages.
Synaptic custom filter practice can also help for search packages:
You can use this method for searching custom packages, but I DON'T RECOMMEND IT as universal method for cleaning.
You can choose different Statuses for New Filter :
And create different Properties :
I use the Janitor option in Ubuntu Tweak that gets rid of a lot of extra space. Maybe this will delete your source files as well as it deletes all of the Update managers cached files.