[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
slackwarearm:sft-repos [2023/04/20 09:51 (UTC)] – mozes | slackwarearm:sft-repos [2023/05/26 07:19 (UTC)] (current) – mozes | ||
---|---|---|---|
Line 57: | Line 57: | ||
Select the version of Slackware you're using from the drop down menu on the right hand side. | Select the version of Slackware you're using from the drop down menu on the right hand side. | ||
- | For Slackware -current (the development trunk), select the latest version of Slackware. | + | |
+ | <note tip>For Slackware -current (the development trunk), select the latest version of Slackware.</ | ||
=== Download the components === | === Download the components === | ||
Line 63: | Line 64: | ||
Typically there are a minimum of three assets to download: | Typically there are a minimum of three assets to download: | ||
- | 1. The SlackBuilds.org build recipe archive. | + | - The SlackBuilds.org build recipe archive. |
- | 2. The build recipe archive' | + | |
- | 3. The source archive of the software application | + | |
== Download the SlackBuilds.org recipe archive == | == Download the SlackBuilds.org recipe archive == | ||
Line 74: | Line 75: | ||
{{: | {{: | ||
- | Paste the URL into the shell/ | + | Use '' |
+ | |||
+ | Type '' | ||
< | < | ||
Line 80: | Line 83: | ||
</ | </ | ||
- | Right click on the URL for the SlackBuilds.org recipe archive digital signature and paste it into the shell/ | + | == Download the SlackBuilds.org recipe archive digital signature == |
+ | |||
+ | Right click on the URL for the SlackBuilds.org recipe archive digital signature. | ||
+ | Type '' | ||
+ | |||
+ | {{: | ||
< | < | ||
wget https:// | wget https:// | ||
+ | |||
+ | === Verify the SlackBuilds.org recipe archive === | ||
< | < | ||
Line 95: | Line 105: | ||
</ | </ | ||
- | Unpack the SlackBuilds recipe archive: | + | You should see '' |
+ | |||
+ | |||
+ | === Unpack the SlackBuilds recipe archive | ||
< | < | ||
Line 102: | Line 115: | ||
</ | </ | ||
- | Download the software' | + | === Download |
+ | |||
+ | Right-click the URL of the software' | ||
{{: | {{: | ||
+ | |||
+ | Use '' | ||
< | < | ||
wget https:// | wget https:// | ||
</ | </ | ||
+ | |||
+ | |||
+ | === Verify the integrity of the source archive === | ||
+ | |||
+ | MD5 sums are displayed on the SlackBuilds page for the software archives: | ||
{{: | {{: | ||
+ | You need to compare this to the version you have downloaded and ensure they match. | ||
< | < | ||
Line 118: | Line 141: | ||
</ | </ | ||
- | Compare | + | You can either compare |
+ | You can copy and paste the md5sum | ||
< | < | ||
[ "$( openssl md5 p7zip-17.04.tar.gz | awk ' | [ "$( openssl md5 p7zip-17.04.tar.gz | awk ' | ||
+ | good | ||
</ | </ | ||
+ | === Adjust the SlackBuild build recipe for AArch64 === | ||
+ | An [[https:// | ||
+ | the SlackBuilds.org repository, but at present (April 2023) most/all packages will require minor changes to handle Slackware AArch64. | ||
- | == Adjust the SlackBuild == | + | Fortunately in 99% of the cases we can use a single command to fix them up. Paste in the following |
- | + | ||
- | An [[https:// | + | |
- | the SlackBuilds.org repository, but at present (April 2023) many packages will require minor changes to handle Slackware AArch64. | + | |
- | Fortunately in 99% of the cases we can use the same compiler flags ('' | + | |
< | < | ||
Line 136: | Line 160: | ||
</ | </ | ||
+ | === Build the package === | ||
- | = Build failures == | + | < |
+ | ./ | ||
+ | </ | ||
- | In some cases '' | + | If the package builds successfully it will be stored in '' |
- | the '' | + | |
- | {{: | + | {{: |
- | Remove '' | + | == Build failures due to compiler |
- | {{: | + | In some cases the use of the '' |
- | Save the edited build script. | + | Open the '' |
+ | Locate the following section: | ||
- | == Build the package == | + | {{: |
- | < | ||
- | ./ | ||
- | </ | ||
- | If the package builds successfully it will be stored in '' | + | Remove '' |
- | {{: | + | {{: |
+ | Save the edited build script and re-build. | ||
- | == Install the package | + | == Build failures due to other reasons |
- | < | + | The vast majority of the SlackBuilds.org package maintainers do not test their packages on ARM, and so some packages may fail to build. |
+ | In such cases if you're able to fix it yourself, you should do so and submit the fix to the maintainer. | ||
- | === Feeding back issues | + | If you are unable |
- | + | ||
- | ... to be added. | + | |
- | to be decided. | + | |
+ | === Install the package === | ||
+ | < | ||