[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:33 (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 === | ||
+ | Typically there are a minimum of three assets to download: | ||
+ | |||
+ | - The SlackBuilds.org build recipe archive. | ||
+ | - The build recipe archive' | ||
+ | - The source archive of the software application | ||
+ | |||
+ | == Download the SlackBuilds.org recipe archive == | ||
+ | |||
+ | Right click on the URLs for the SlackBuilds.org recipe archive: | ||
+ | |||
+ | |||
+ | {{: | ||
+ | |||
+ | Use '' | ||
- | The SlackBuild recipe | + | Type '' |
< | < | ||
wget https:// | wget https:// | ||
- | wget https:// | ||
</ | </ | ||
+ | |||
+ | == Download the SlackBuilds.org recipe archive digital signature == | ||
+ | |||
+ | Right click on the URL for the SlackBuilds.org recipe archive digital signature. | ||
+ | Type '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | < | ||
+ | wget https:// | ||
+ | |||
+ | === Verify the SlackBuilds.org recipe archive === | ||
< | < | ||
Line 79: | Line 105: | ||
</ | </ | ||
- | Unpack the SlackBuilds recipe archive: | + | You should see '' |
+ | |||
+ | |||
+ | === Unpack the SlackBuilds recipe archive | ||
< | < | ||
Line 86: | Line 115: | ||
</ | </ | ||
- | Download the software' | + | === Download the software' |
+ | |||
+ | 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 96: | 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 114: | Line 160: | ||
</ | </ | ||
- | In some cases '' | + | === Build the package |
- | the '' | + | |
- | + | ||
- | + | ||
- | == Build the package == | + | |
< | < | ||
Line 124: | Line 166: | ||
</ | </ | ||
- | == Install the package == | + | If the package builds successfully it will be stored in ''/ |
+ | |||
+ | {{: | ||
+ | |||
+ | == Build failures due to compiler flags == | ||
+ | |||
+ | In some cases the use of the '' | ||
+ | |||
+ | Open the '' | ||
+ | |||
+ | Locate the following section: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | Remove '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Save the edited build script and re-build. | ||
+ | |||
+ | == 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. | ||
+ | |||
+ | If you are unable to resolve it, you can post to the [[https:// | ||
+ | |||
+ | |||
+ | === Install the package === | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
- | < | ||
- | installpkg / | ||
- | === Feeding back issues to SlackBuilds.org developers === | ||
- | ... to be added. | ||
- | to be decided. | ||