Ubuntu Operation System Update Packages Manually With Commands
Let's See How We Can Update Ubuntu Packages With Command Line Interface
$ sudo apt update OR sudo apt-get update
Step 2: This part isn't necessary to you, but if you had llike to see which packages are due for an update or check the list of packages which need to upgrade, so you can type this command
$ sudo apt list --upgradable OR apt list --upgradable
Step 3: Now for update the packages we can use below command
For individual package update:
$ sudo apt install PACKAGE-NAME
For update all the packages:
$ sudo apt upgrade
Step 4:Few packages are dependent upon third party sites or libraries as well so for update those you can run below command
$ sudo apt dist-upgrade
Step 5: As we are doing this process manually so finally we also need to remove previous versions of packages so we can do it via below command
$ sudo apt autoremove
I hope this blog will help you to upgrade your Ubuntu operating system packages
Thanks for reading this blog !!
Comments
Post a Comment