Binaries/apt: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:


it can be linked to multiple download servers at the same time, expanding the list of availble software.
it can be linked to multiple download servers at the same time, expanding the list of availble software.


'''usage:'''  
'''usage:'''  


"apt option packname"
"apt option packname"
when run without variables, apt will open a configuration menu




'''options:'''
'''options:'''


- -i : installs "packname"
'''"-i" -or "install" ''': installs "packname"
this will attempt to install "packname" on this computer, rather straight forward. it will automatically install all dependency's the developer marked ad well.
this will attempt to install "packname" on this computer, rather straight forward. it will automatically install all dependency's the developer marked ad well.


-r : packname": removes "packname"
'''"-r" -or- "remove"''' : packname": removes "packname"
this will attempt to remove "packname" from this computer, it will not delete the dependency's that came with it. if the developer was nice and provided the correct instructions additional files should also get cleared out with this.
this will attempt to remove "packname" from this computer, it will not delete the dependency's that came with it. if the developer was nice and provided the correct instructions additional files should also get cleared out with this.


-u : updates outdated software
'''"-u" -or- "update"''' : updates outdated software, apt will compare the repository's version files with the software installed on your system and if this is a mismatch re-install the package. packages that have a matching version number will get skipped.
apt will compare the repository's version files with the software installed on your system and if this is a mismatch re-install the package. packages that have a matching version number will get skipped.


-U : reinstalls everything (use when broken, this also works when booting with a bootdisk, use "/bin/apt.sh -U")
'''"-U" or "update-forced"''' : reinstalls every software pack installed (use when broken, this also works when booting with a bootdisk, use "/bin/apt.sh -U")
apt will reinstall every installed package regardless of version number, this will forcefully reset all known software to the repository's version.
apt will reinstall every installed package regardless of version number, this will forcefully reset all known software to the repository's version.


-l : lists installed software
'''"-l" -or- "list-installed"''' : lists installed software
provides a simple list of all installed software, opens the file in an editor so you can scroll trough the list.
provides a simple list of all installed software, opens the file in an editor so you can scroll trough the list.


-la : lists available software
'''"-la" -or- "list-available"''' : lists available software
retrieves the lists of available software from all known apt repository sources and opens this list in an editor so you can scroll trough it.
retrieves the lists of available software from all known apt repository sources and opens this list in an editor so you can scroll trough it.


-ls : lists your current apt sources.
'''"-ls" -or- "list-source"''' : lists your current apt sources.
prints a list of your current apt repository sources.
prints a list of your current apt repository sources.


-s URL : adds a new repository source to this computer, this is used for 3rd party developers or mirrors.
'''"-s URL" -or- "setsource URL"''' : adds a new repository source to this computer, this is used for 3rd party developers or mirrors.
apt will test "url" and see if it can find the required repository files, if they are found this url will be added as an available repository source
apt will test "url" and see if it can find the required repository files, if they are found this url will be added as an available repository source
if you removed all your apt sources by accident, run "apt -s default" or "apt -s beta" respectively.
if you removed all your apt sources by accident, run "apt -s default" or "apt -s beta" respectively.


-c URL : removes an apt source from the list.
'''"-c URL" -or- "clearsource URL"''' : removes an apt source from the list.
removes a url from the repository source list, remember to uninstall the associated software first!
removes a url from the repository source list, remember to uninstall the associated software first!

Latest revision as of 01:30, 10 October 2024

the apt binary is used to control the software downloader and manager, used to install or remove software.

it can be linked to multiple download servers at the same time, expanding the list of availble software.


usage:

"apt option packname"


when run without variables, apt will open a configuration menu


options:

"-i" -or "install" : installs "packname" this will attempt to install "packname" on this computer, rather straight forward. it will automatically install all dependency's the developer marked ad well.

"-r" -or- "remove" : packname": removes "packname" this will attempt to remove "packname" from this computer, it will not delete the dependency's that came with it. if the developer was nice and provided the correct instructions additional files should also get cleared out with this.

"-u" -or- "update" : updates outdated software, apt will compare the repository's version files with the software installed on your system and if this is a mismatch re-install the package. packages that have a matching version number will get skipped.

"-U" or "update-forced" : reinstalls every software pack installed (use when broken, this also works when booting with a bootdisk, use "/bin/apt.sh -U") apt will reinstall every installed package regardless of version number, this will forcefully reset all known software to the repository's version.

"-l" -or- "list-installed" : lists installed software provides a simple list of all installed software, opens the file in an editor so you can scroll trough the list.

"-la" -or- "list-available" : lists available software retrieves the lists of available software from all known apt repository sources and opens this list in an editor so you can scroll trough it.

"-ls" -or- "list-source" : lists your current apt sources. prints a list of your current apt repository sources.

"-s URL" -or- "setsource URL" : adds a new repository source to this computer, this is used for 3rd party developers or mirrors. apt will test "url" and see if it can find the required repository files, if they are found this url will be added as an available repository source if you removed all your apt sources by accident, run "apt -s default" or "apt -s beta" respectively.

"-c URL" -or- "clearsource URL" : removes an apt source from the list. removes a url from the repository source list, remember to uninstall the associated software first!