Api/apt: Difference between revisions
Jump to navigation
Jump to search
(Created page with "apt api, used to manage software and it's sources") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
apt api, used to manage software and it's sources | apt [[api]], used to manage software and it's sources | ||
'''[[Api/apt.install()|apt.install()]] -''' installs a package from the available apt servers. | |||
'''[[Api/apt.uninstall()|apt.uninstall()]] -''' removes a package from the computer. | |||
'''[[Api/apt.update()|apt.update()]] -''' updates the system, alternative option is "-f" for a forced reinstall like "apt -U". | |||
'''[[Api/apt.addsource()|apt.addsource()]] -''' adds a repository source | |||
'''[[Api/apt.clearsource()|apt.clearsource()]]-''' removes a repository url from the list | |||
'''[[Api/apt.bootbuild()|apt.bootbuild()]] -''' rebuilds /boot/addon.d | |||
'''[[Api/apt.aliasbuild()|apt.aliasbuild()]] -''' rebuilds /boot/alias.ls | |||
'''[[Api/apt.cleanup()|apt.cleanup()]] -''' runs cleanup instructions for a program | |||
'''[[Api/apt.softlist()|apt.softlist()]] -''' updates the available software list on from the apt servers and puts it in "/temp/apt/programs.ls" | |||
[[Api/apt.checkinstall()|'''apt.checkinstall()''']] - checks if a program has been installed trough apt. |
Latest revision as of 16:23, 30 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() - adds a repository source
apt.clearsource()- 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"
apt.checkinstall() - checks if a program has been installed trough apt.