Api/apt.update(): Difference between revisions

From Minux Wiki
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
Line 1: Line 1:
this api is used to install a program trough apt
this [[api]] is used to update software managed by apt


usage:
'''usage:'''


apt.install(packname)
apt.update()


output:


if packname is found on an available repository server, it will be installed.
'''output:'''
 
compares version numbers of installed software and updates if outdated, if the argument "-f" is provided it will force-update

Revision as of 08:25, 24 September 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