Installation ‐ Linux - babsonnexus/stream-link-manager-for-channels GitHub Wiki

NOTE: Due the variety and near infinite possible flavors of Linux installations, this path may not work in your particular setup. While most major configurations have been attempted to be represented, yours may not be possible. No additional support will be provided for this route and you are directed to follow the Docker or Python directions.


  1. Download the slm.sh file and place it in the final destination folder.

    image

    You can also do so by opening a terminal, navigating to that directory, and entering the following command:

    wget -q -O "slm.sh" 'https://raw.githubusercontent.com/babsonnexus/stream-link-manager-for-channels/main/executables/slm.sh'
    
  2. Either way, once there, change the security level on the slm.sh file:

    chmod +x "slm.sh"
    
  3. Execute the installation with this command:

    ./slm.sh install
    
  4. You will be given one last chance to decide if you want to do the installation. Note that an installation will remove any previous instance of Streaming Library Manager at that location. This is unlike the "upgrade" discussed in its own section which will maintain all your files and settings.

    image

  5. The process will then run normally until complete. You should see something similar to this when done:

    image

    ... a whole lot of lines related to installing requirements and building the executable...

    image

    After it completes, you may want to do one manual update. Due to constantly fluctuating requirements, in order to use the video-based functionality, you may need to specifically upgrade yt-dlp to the "bleeding edge" version. Follow the directions to do so here. Specifically:

    python3 -m pip install -U pip hatchling wheel
    python3 -m pip install --force-reinstall "yt-dlp[default] @ https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz"
    

    Otherwise, continue as normal.

  6. In your folder, you should now have this:

    image

  7. OPTIONAL: By default, Streaming Library Manager runs on port 5000. You can change this to another port by typing in this command:

    ./slm.sh port
    

    Note that this will also open the port in the firewall as a safety measure. Even if you want the default port of 5000, this is recommended to be run if you want to access the program on another machine.

  8. You will be prompted to enter a port number of your choice:

    image

  9. Once complete, do the requested command to make the port available in the current session:

    source ~/.bashrc
    
  10. You can then see this port as an environment variable (where it can be removed, if necessary):

    printenv SLM_PORT
    

    image

  11. With all this in place, you are now safe to start the program!