After installing Ubuntu we will continue with some basic settings to start using codeblocks.
First we will update Ubuntu, it's important to always keep the system updated to prevent security problems.
Go to System > Administration > Update Manager.
Select Check and all the available updates will pop up, then push Install Updates.
Ubuntu will ask your password to install the updates.
Now it downloads the packages...
Then it will install the updates...
You are done!