apt update and upgrade ?

this command is necessary so open your mind door and save below two command because it is used every where after installing any tools or scripts. let’s check what is main purpose of this command in termux.

apt update
apt upgrade

What is APT ?

apt (advance package tool) command in termux it is very powerful package management tool that helps you install, update, and remove software packages on termux.


here apt command is used for interacting with different packages in termux.


always write this command in lowercase because of all commands are case-sensitive and all commands used in termux mostly written in lowercase (example , ls, echo, apt, nano), here i am not talking about github repo tools.


What is Update ?

Termux source list is available on this location /data/data/com.termux/files/usr/etc/apt when users type apt update command in termux then it will downloads package details from all source list.


this command fetch all latest available package information from sources then it will update version and package information from sources.

apt update -y

The -y option in the apt update command is used to automatically answer “yes” to prompts that would normally require user confirmation.


When you run apt update it fetches the latest package information from the repositories, and during this process, it may prompt you to confirm if you want to proceed with the update.


What is Upgrade ?

same goes here like name this command upgrade all available packages. basically it is used to upgrade the installed packages on your system to their latest available versions.

apt upgrade -y

same goes here for -y that avoid manual user prompt for confirmation.


Single Command for Saving Time

here we have used “&&” operator to combine both command it will continuously install commands one by one.


so remember below command for easy use and it will save your valuable time 😉

apt update -y && apt upgrade -y

i hope you enjoyed this post and your query is solved about apt update and upgrade command.


Share this article
Shareable URL
Prev Post

Top 10 Best Ethical Hacking Books 2024

Next Post

Spyder : Powerful Admin Panel Finder for Termux

Leave a Reply

Your email address will not be published. Required fields are marked *

Read next
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock