MX on Linux: Difference between revisions

1,043 bytes added ,  05:46, 13 April 2022
m
The re-sequencing of text in one section with some extra words of clarification
m (→‎Technical users - optional edit to "[Unit]" section: Discovered that <pre> does not work within bullets!)
m (The re-sequencing of text in one section with some extra words of clarification)
Line 136: Line 136:
: '''For technical readers only''', "sudo" is further explained later [[#su_and_sudo]]).
: '''For technical readers only''', "sudo" is further explained later [[#su_and_sudo]]).


===apt===
===Package tool===


The second part of any software installation command is “apt” meaning “Advance Package Tool”. In simple terms, it runs the “package manager” used in Linux.
For the purposes of keeping this Wiki page simple, please assume that the second part of any software installation command is “apt” meaning “Advance Package Tool” i.e. <code>sudo ''apt'' install package_name</code>.  


If you are looking online for a tutorial on how to install packages, you might see “apt-get” or "apt-cache" used in examples they quote. Don't copy those examples directly, it should be safe to replace these older package managers with "apt". I have included [[#Package Manager – a brief technical aside|a little technical explanation]] at the end of this page if this really worries you.
In simple terms, the inclusion of "apt" runs the “package manager” used in Linux. That is certainly true if you use the Raspberry Pi operating system, and it appears it is true for almost all modern Linux operating systems.
 
Some online tutorials refer to “apt-get” or "apt-cache" in examples they quote. My online research suggests using those directly is no longer advisable, and therefore you should leave off the part starting with a hyphen, i.e. it should be safe to replace these older package managers with "apt". I have included [[#Package Manager – a brief technical aside|a little technical explanation]] at the end of this page if this really worries you, it appears that in some variants "apt" is just a more user friendly way to call the older package.
 
If you are using an older operating system, it appears the tool available depends on the variant of Unix you have installed. The contributor of this section has done some online research, but is not familiar with all the Unix variants, so other contributors with fuller technical expertise may need to edit this section to make its applicability wider.
 
According to online documentation seen, some UNIX variants use a tool called '''RPM packet manager''', and this involves a command line specifying "zypper" in the second part of the command i.e. <code>sudo zypper install package_name</code>.


===install===
===install===
5,838

edits