The Nerd-Pack plug-in has been abandoned and I recently came across an alternative called un-get.

https://raw.githubusercontent.com/ich777/un-get/master/un-get.plg
plugin: installing: un-get.plg
Executing hook script: CA_preHook
Clearing Community Applications plugin cache
Executing hook script: pre_plugin_checks
plugin: downloading: un-get.plg ... done

Executing hook script: CA_preHook
Clearing Community Applications plugin cache
plugin: downloading: un-get-2024.11.22.txz ... done


+==============================================================================
| Installing new package /boot/config/plugins/un-get/un-get-2024.11.22.txz
+==============================================================================

Verifying package un-get-2024.11.22.txz.
Installing package un-get-2024.11.22.txz:
PACKAGE DESCRIPTION:
Package un-get-2024.11.22.txz installed.
plugin: un-get.plg installed
Executing hook script: CA_postHook
Clearing Community Applications plugin cache
Executing hook script: post_plugin_checks
un-get update
Please wait obtaining package list from repository current...

     0K ......                                               100% 3.04M=0.1s

Package list from repository current successfully downloaded!

Please wait obtaining checksums from repository current...

     0K .....                                                100% 44.1K=8.1s

Checksums from repository current successfully downloaded!
Please wait obtaining package list from repository conraid...

     0K ........ .....                                       100% 3.64M=0.2s

Package list from repository conraid successfully downloaded!

Please wait obtaining checksums from repository conraid...

     0K ........ .                                           100% 2.93M=0.2s

Checksums from repository conraid successfully downloaded!
root@boomer-unraid:/mnt/user/WORK/myBASH/docker-bash-scripts(main)$ un-get install pigz
Can't find package(s): pigz!
root@boomer-unraid:/mnt/user/WORK/myBASH/docker-bash-scripts(main)$ un-get install bc
The following package(s) will be installed: bc
Are you sure? [y/N] Y

     0K .                                                    100% 1.30M=0.09s


+==============================================================================
| Installing new package /boot/extra/bc-1.08.2-x86_64-1.txz
+==============================================================================

Verifying package bc-1.08.2-x86_64-1.txz.
Installing package bc-1.08.2-x86_64-1.txz:
PACKAGE DESCRIPTION:
# bc (An arbitrary precision calculator language)
#
# bc is an arbitrary precision numeric processing language. Syntax is
# similar to C, but differs in many substantial areas. It supports
# interactive execution of statements. bc is a utility included in the
# POSIX P1003.2/D11 draft standard.
#
# The GNU version of bc was written by Philip A. Nelson.
#
<?xml version='1.0' standalone='yes'?>
<!DOCTYPE PLUGIN [
  <!ENTITY name      "un-get">
  <!ENTITY author    "ich777">
  <!ENTITY version   "2024.11.22">
  <!ENTITY gitURL    "https://github.com/&author;/&name;/releases/download">
  <!ENTITY pluginURL "https://raw.githubusercontent.com/&author;/un-get/master/&name;.plg">
  <!ENTITY md5       "f44ecb6824db1dd1bccfffcb3e8327e1">
  <!ENTITY plugin    "/boot/config/plugins/&name;">
  <!ENTITY emhttp    "/usr/local/emhttp/plugins/&name;">
]>

<PLUGIN  name="&name;" author="&author;" version="&version;" pluginURL="&pluginURL;" min="6.10.3" support="https://github.com/ich777/un-get">

<CHANGES>

###2024.11.22
- Merge PR from adapowers 'cleanup(): Multiple match resilience'

###2024.11.01
- Merge PR from cloudiful to fix some packages may be skipped on installation and install wrong package instead

###2024.07.21
- Change default repo from 15.0 to current for new installations. This is necessary for 7.0.0-beta.1+. If you are on 7.0.0-beta.1+ change your sources list from 15.0 to current

###2024.04.09
- Fixed bug where some packages won't install properly if multiple are found in repositories
- Move changelog into separate file
- Read version from changelog


###2024.01.04
- Make sure that repository conraid points to new URL in sources.list

###2023.11.12
- Corrections for spelling and grammatical errors in user-visible statements - thank you GitHub user kcpants

###2023.07.19
- added '--force'/'-f' option to 'upgrade' to force a update from packages. The option 'un-get upgrade --force' will pull all existing packages again but don't install them in case you change from Slackware 15.0 to current or vice versa.
The new packages will be installed on reboot. ATTENTION: If packages are not found in the new repositories they will be uninstalled immediately after confirming the force upgrade.
- fixed bug in remove_package routine

###2023.03.26
- another bugfix for commented line(s) in sources.list

###2023.03.17
- fixed bug where packages are not installing correctly if line is commented in sources.list

###2023.02.02
- fixed bug for repositories with .sha256 files

###2022.11.13
- fixed bug in update routine for commented and empty lines

###2022.11.10
- fixed bug in install routine if package is found in multiple sources where the correct version is downloaded but installation fails
- fixed bug in install routine which doesn't always install latest version if package is available in multiple sources
- fixed bug in upgrade routine which doesn't always install latest version if package is available in multiple source


###2022.10.27
- fixed a few typos
- fix for search/install routine when package list doesn't follow the Slackware standard
- minor changes and cleanup to search/install/upgrade routine

###2022.10.12
- fixed bug in checksum routine where some packages won't install

###2022.10.02
- fixed bug in update routine where some packages won't update properly
- added support link - GitHub

###2022.09.26
- fixed bug where some packages would not download/install properly

###2022.09.25
- fixed bug where some packages would not install properly
- fixed bug where some packages are not found properly

###2022.08.27a
- fixed bug in upgrade routine

###2022.08.27
- fixed bug where on installation some packages would download the wrong file

###2022.08.26
- added cleanup function

###2022.08.25b
- fixed bug in search where some packages where marked as not qualifying for installation

###2022.08.25a
- remove duplicate entries for packages which are not qualifying for installation

###2022.08.25
- switched over to GitHub Release for plugin packages

###2022.08.24
- fixed bug so that un-get pulls always the latest package regardless from which repository

###2022.08.23c
- changed repo to Slackware 15.0
- remove old package lists from repositories which are not found in sources.list

###2022.08.23b
- upgrade function - fixed bug in upgrade package detection

###2022.08.23a
- upgrade function - fixed upgrade message issue
- changed icon
- added check if installedpackages_list exist

###2022.08.23
- search function - made it more clear if packages are already installed that they not qualify for reinstallation through un-get
- install function - throw a real error if package is found which is not qualifying for reinstallation through un-get
- upgrade function - added message when all packages are up-to-date

###2022.08.22
- Changed name from pkg-get to un-get - because well unRAID needs un-get
- Changed from Slackware 15 to Current
- Created sources.list file to support multiple repositories
- Added Conraid's repository to sources.list by default
- Changed installation directory to /boot/extra
- Redone download, installation and remove functions
- Added 'installed' option, to list installed packages by un-get
- Added 'changelog' option
- Changed search to show both installed and non installed packages which are availabel in repositories
- Added 'upgrade' function
- Speed up search by a bit
- Clarified remove message when no packages where found
- Fixed bug where packages won't be removed after calling 'remove' function
- Fixed bug where error was displayed if installedpackages_list file where not in place

###2022.08.20
- Initial release from pkg-get

</CHANGES>

<FILE Run="/bin/bash">
<INLINE>
rm -f $(ls /boot/config/plugins/&name;/&name;*.txz 2>/dev/null|grep -v '&version;')
</INLINE>
</FILE>

<FILE Name="/boot/config/plugins/&name;/&name;-&version;.txz" Run="upgradepkg --install-new">
<URL>&gitURL;/&version;/&name;-&version;.txz</URL>
<MD5>&md5;</MD5>
</FILE>

<FILE Name="&emhttp;/README.md">
<INLINE>
**un-get**

un-get is a simple command line tool to install/update/remove Slackware packages to unRAID.
Start by opening a Terminal and type in 'un-get --help'
</INLINE>
</FILE>

<FILE Run="/bin/bash">
<INLINE>

# Create sources list file with the initial repositories
if [ ! -f /boot/config/plugins/un-get/sources.list ]; then
  if [ ! -d /boot/config/plugins/un-get ]; then
    mkdir -p /boot/config/plugins/un-get
  fi
  echo "https://mirrors.slackware.com/slackware/slackware64-current/slackware64/ current
https://slackers.it/repository/slackware64-current/ conraid" &gt; /boot/config/plugins/un-get/sources.list
fi

# Check conraid repo URL and change it if it still points to the old URL
sed -i 's/https:\/\/slack\.conraid\.net\/repository\/slackware64-current\/ conraid/https:\/\/slackers\.it\/repository\/slackware64-current\/ conraid/' /boot/config/plugins/un-get/sources.list


# Create packages file
if [ ! -f /boot/config/plugins/un-get/installedpackages_list ]; then
  touch /boot/config/plugins/un-get/installedpackages_list
fi

# Create symlink so that un-get is available system wide
if [ ! -L /usr/bin/un-get ]; then
  ln -s /usr/local/emhttp/plugins/un-get/un-get /usr/bin/un-get
fi

</INLINE>
</FILE>

<FILE Run="/bin/bash" Method="remove">
<INLINE>

echo "----------------------------------------"
echo "----------Uninstalling un-get-----------"
echo "----------------------------------------"
# Remove plugin related files
removepkg &name;-&version;
while read package; do
  echo "Removing package: $package, please wait!"
  removepkg $package 2&gt;/dev/null
  rm -f /boot/extra/$package 2&gt;/dev/null
done &lt; "/boot/config/plugins/un-get/installedpackages_list"
rm -rf /usr/local/emhttp/plugins/&name;
rm -rf &plugin;
rm -f /usr/bin/un-get 2&gt;/dev/null
rm -rf /tmp/un-get 2&gt;/dev/null
echo
echo "----------------------------------------"
echo "---Uninstallation of un-get complete!---"
echo "----------------------------------------"
echo

</INLINE>
</FILE>
</PLUGIN>
un-get
Slackware package installation tool for unRAID.

un-get is a package download and installation tool
for unRAID for Slackware package repositories.

Most used commands are:
  update    - Updates the packages list locally
  install   - Downloads and installs packages
  upgrade   - Upgrades packages installed by un-get
              Adding '--force' or '-f' will force an upgrade from all
              packages, the packages will be installed after a reboot.
              This comes in handy if the repository is switched.
              Missing packages from the new repository will be removed
              immediately after confirming the force upgrade!
  remove    - Removes packages installed by un-get
  search    - Searches for available packages
  installed - Lists all packages installed by un-get
  cleanup   - Will remove all packages/files in the '/boot/extra' directory
              which are currently not installed on your server, regardless
              if they were installed through un-get or not
              ATTENTION: This will delete files which are not packages too

Example usages:
  un-get update
  un-get search python
  un-get install python3 python-pip
  un-get remove python3 python-pip
  un-get installed
  un-get upgrade
  un-get upgrade --force
  un-get cleanup

Written by Christoph Hummer for unRAID.

Leave a Reply