You must ensure that you will have adequate disk storage before you start to install or replace software.
To make more efficient use of your storage, clear your system of items that you no longer require before you estimate how much storage you will need.