Api/apt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
'''apt.install() -''' installs a package from the available apt servers. | '''[[Api/apt.install()|apt.install()]] -''' installs a package from the available apt servers. | ||
'''apt.uninstall() -''' removes a package from the computer. | '''[[Api/apt.uninstall()|apt.uninstall()]] -''' removes a package from the computer. | ||
'''apt.update() -''' updates the system, alternative option is "-f" for a forced reinstall like "apt -U". | '''[[Api/apt.update()|apt.update()]] -''' updates the system, alternative option is "-f" for a forced reinstall like "apt -U". | ||
'''apt.addsource( | '''[[Api/apt.addsource()|apt.addsource()]] -''' adds a repository source | ||
'''apt.clearsource( | '''[[Api/apt.clearsource()|apt.clearsource()]]-''' removes a repository url from the list | ||
'''apt.bootbuild() -''' rebuilds /boot/addon.d | '''[[Api/apt.bootbuild()|apt.bootbuild()]] -''' rebuilds /boot/addon.d | ||
'''apt.aliasbuild() -''' rebuilds /boot/alias.ls | '''[[Api/apt.aliasbuild()|apt.aliasbuild()]] -''' rebuilds /boot/alias.ls | ||
'''apt.cleanup() -''' runs cleanup instructions for a program | '''[[Api/apt.cleanup()|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" | '''[[Api/apt.softlist()|apt.softlist()]] -''' updates the available software list on from the apt servers and puts it in "/temp/apt/programs.ls" |
Revision as of 08:38, 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() - 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"