Api/apt: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "apt api, used to manage software and it's sources")
 
No edit summary
Line 1: Line 1:
apt api, used to manage software and it's sources
apt api, used to manage software and it's sources
'''apt.install() -''' installs a package from the available apt servers.
'''apt.uninstall() -''' removes a package from the computer.
'''apt.update() -''' updates the system, alternative option is "-f" for a forced reinstall like "apt -U".
'''apt.addsource(sourceurl) -''' adds a repository source
'''apt.clearsource(sourceurl)-''' removes a repository url from the list
'''apt.bootbuild() -''' rebuilds /boot/addon.d
'''apt.aliasbuild() -''' rebuilds /boot/alias.ls
'''apt.cleanup() -''' runs cleanup instructions for a program
'''apt.softlist() -''' updates the available software list on from the apt servers and puts it in "/temp/apt/programs.ls"

Revision as of 08:19, 24 September 2024

apt api, used to manage software and it's sources


apt.install() - installs a package from the available apt servers.

apt.uninstall() - removes a package from the computer.

apt.update() - updates the system, alternative option is "-f" for a forced reinstall like "apt -U".

apt.addsource(sourceurl) - adds a repository source

apt.clearsource(sourceurl)- removes a repository url from the list

apt.bootbuild() - rebuilds /boot/addon.d

apt.aliasbuild() - rebuilds /boot/alias.ls

apt.cleanup() - runs cleanup instructions for a program

apt.softlist() - updates the available software list on from the apt servers and puts it in "/temp/apt/programs.ls"