Kelly requires constant updating to keep the tools you are using and function order.
We have two main commands for this purpose.
We have the ap t minus get updates and we have a beta minus get upgrade.
So what's the difference between the update and the upgrade update.
Actually it lists the available packages and the revisions but it doesn't actually install or upgrade
any of the packages.
It just tells the package manager what is actually up there available for us.
But if you want an actual upgrading of your packages you will have to use the API to get upgrade comment
so I will run them quickly here.
UPDATE
As you can see it's working.
We should run it often the actually and the a biggie upgrade.
I did run them actually before this video and if you want efficiency.
You should run them on a daily basis or it will take some time.
Actually it can take up to an hour for the upgrade.
Come on now I'll teach you an efficient way to do the up date and the upgrade by using an alias.
So with one command you can actually invoke the two commands at once.
For that we need to do some kind of changes to the bash as you file for this purpose we use the command
leaf pad and we direct this file to open and then we press Enter to actually open the Bashar see in
a notepad file and expand it here for a while and go down.
Just go down to the place where there is a hash.
Alias press Enter here and try it.
Alias dates.
So we will now use updates CIS to reference the two commands which are ap t minus.
Get update and upgrade so updates is equal.
AP T minus.
Get update and a B T minus or dash.
Get up grade and we close the parentheses.
Notice here there is a star whenever there is a star it means that the is being edited and it's not
safe.
So make sure to save the file wants to save the file.
The star will be gone and then close it.
Now we have the file updated so to be on the safe side.
Let's close this terminal and open a new terminal and use the alias that we've just created.
Update CIS press enter its will run both commands at once it will update your system and will upgrade
all the packages available.