Api/apt: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 19: Line 19:


'''[[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.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.