November 29, 20169 yr Hey all, brand new to UnRaid, so I am sorry if this is a well known issue, with a well known solution. I have tried searching the forums and google, and found some ideas for a prior (version 5) UnRaid, and not sure the correct path to go. I have installed Nerd Tools and want to write some custom python scripts to do some automation things that I would like my NAS to do. I have installed python, and PIP but when I try to install some of the packages I found that gcc and/or a build environment is not installed in UnRaid. unable to execute 'gcc': No such file or directory Is there an easy way to install all the build essentials (gcc, make, etc)? Thanks!
November 29, 20169 yr Community Expert If you don't get a more helpful response to your query you might try posting up to the programing board: http://lime-technology.com/forum/index.php?board=73.0
November 29, 20169 yr Try this excerpt from a script I've got. ##Pull variables from github wget -nc https://raw.githubusercontent.com/CHBMB/Unraid-DVB/master/files/variables.sh . "$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"/variables.sh ##Pull slackware64-current FILE_LIST to get packages wget -nc http://mirrors.slackware.com/slackware/slackware64-current/slackware64/FILE_LIST #Change to current directory cd $D ##Install pkg modules [ ! -d "$D/packages" ] && mkdir $D/packages wget -nc -P $D/packages -i $D/URLS installpkg $D/packages/*.*
November 30, 20169 yr Author Try this excerpt from a script I've got. ##Pull variables from github wget -nc https://raw.githubusercontent.com/CHBMB/Unraid-DVB/master/files/variables.sh . "$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"/variables.sh ##Pull slackware64-current FILE_LIST to get packages wget -nc http://mirrors.slackware.com/slackware/slackware64-current/slackware64/FILE_LIST #Change to current directory cd $D ##Install pkg modules [ ! -d "$D/packages" ] && mkdir $D/packages wget -nc -P $D/packages -i $D/URLS installpkg $D/packages/*.* Worked like a charm, thanks!
March 12, 20179 yr Thanks for the script! I had to make a slight change to it as something changed between then and now, but afterwards it worked. Here's my change (second line from the bottom): wget -nc -P $D/packages -i URLS_CURRENT
March 12, 20179 yr 50 minutes ago, mikerm said: Thanks for the script! I had to make a slight change to it as something changed between then and now, but afterwards it worked. Here's my change (second line from the bottom): wget -nc -P $D/packages -i URLS_CURRENT Yeah I rewrote a part of it, to enable easy changing between different Slackware versions.
Archived
This topic is now archived and is closed to further replies.