How do I install linux utilities?
In my grading script "grade", I calculate the grade using the "bc" linux command:
average_grade=$(echo "scale=1;(${grades[*]})/${#grades[@]}"|bc)
But when I run it, I get an error message saying that "bc" is not installed. How can I install it on my repl?
Voters
Use
pkg-install
.@Wumi4 This does not work:
@erelsgl Oh, you need to switch your Repl language to another language, like Python. I forgot to mention about it.
@Wumi4 How do I do this? In the
.replit
file I changed tolanguage = "python"
but I still get the same error.@erelsgl Umm... Create a new Python Repl?