I would like to get a listing of the space used by programs, preferably with the largest listed first.
I am keeping 18.04 ONLY since 20.04 has "broken" my Canon TS9120 scanner.
I could then un-install those programs that are not needed.
I would like to get a listing of the space used by programs, preferably with the largest listed first.
I am keeping 18.04 ONLY since 20.04 has "broken" my Canon TS9120 scanner.
I could then un-install those programs that are not needed.
Method #1
This one is relatively straightforward. You're going to open your terminal, do a search, and then sort that information.
Press CTRL + ALT + T and open the terminal. Enter the following and press the enter button.
That's going to flood your window, so you can easily send it to a text file.
That will make a text file in your home directory with the name of
appsizes.txt
and you can use that as reference.Method #2
Open your favorite plain text editor and cut/paste the following:
Now, save it (preferably in your home directory) as
applist.sh
.Open your terminal and enter the following:
That'll do pretty much the same as the first method - except you can just execute the script whenever you want. If you want to be all fancy, try this (make sure you've made it executable in the step above:
Now, no matter what directory you're in with your terminal, you can just run
applist.sh
. If you want to make it a text file, you can still do something likeapplist.sh >> ~/applist.txt
.