Api/apt.update(): Difference between revisions
Jump to navigation
Jump to search
(Created page with "this api is used to install a program trough apt usage: apt.install(packname) output: if packname is found on an available repository server, it will be installed.") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
this api is used to | this [[api]] is used to update software managed by apt | ||
usage: | '''usage:''' | ||
apt. | apt.update() | ||
if | '''output:''' | ||
compares version numbers of installed software and updates if outdated, if the argument "-f" is provided it will force-update all installed packs, | |||
if a package name is provided as argument, it will force update that specific package |
Latest revision as of 01:29, 10 October 2024
this api is used to update software managed by apt
usage:
apt.update()
output:
compares version numbers of installed software and updates if outdated, if the argument "-f" is provided it will force-update all installed packs,
if a package name is provided as argument, it will force update that specific package