Stardew Valley

Stardew Valley

View Stats:
Express Apr 15, 2019 @ 1:53pm
[solved] Help with installing SMAPI on Ubuntu
I can't seem to get SMAPI installer to work at all. I installed Mono, and I keep getting this message when starting the installer:

#!/bin/bash
# Run the SMAPI installer through Mono on Linux or Mac.

# Move to script's directory
cd "`dirname "$0"`"

# get cross-distro version of POSIX command
COMMAND=""
if command -v command >/dev/null 2>&1; then
COMMAND="command -v"
elif type type >/dev/null 2>&1; then
COMMAND="type"
fi

# validate Mono & run installer
if $COMMAND mono >/dev/null 2>&1; then
mono internal/unix-install.exe
else
echo "Oops! Looks like Mono isn't installed. Please install Mono from https://mono-project.com, reboot, and run this installer again."
read
fi


At this point, being a Linux newbie, I'm not sure if I did something wrong when I installed Mono - what I did was:


sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp:/keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-devel
sudo apt install mono-complete

Any help is appreciated!
Last edited by Express; Apr 15, 2019 @ 3:37pm
< >
Showing 1-6 of 6 comments
Pausal Apr 15, 2019 @ 3:21pm 
It sounds like you're displaying the contents of the file instead of running it as an executable.
Express Apr 15, 2019 @ 3:37pm 
Originally posted by Pausal Wooly_Hunter:
It sounds like you're displaying the contents of the file instead of running it as an executable.

just learned thats exactly what I'm supposed to do, works normally, haha. thanks for the comment!
Pausal Apr 15, 2019 @ 10:07pm 
Yup. I'm also new to Linux and went through the same process of installing SMAPI.
If you run into any problems you can use the log parser at https://log.smapi.io/ and it'll tell you what you're doing wrong and if you have any mods that are outdated.
I went and installed around 75 mods and it would have been a nightmare tracking down all the bugs and conflicts without it.
Express Apr 16, 2019 @ 3:02am 
Originally posted by Pausal Wooly_Hunter:
Yup. I'm also new to Linux and went through the same process of installing SMAPI.
If you run into any problems you can use the log parser at https://log.smapi.io/ and it'll tell you what you're doing wrong and if you have any mods that are outdated.
I went and installed around 75 mods and it would have been a nightmare tracking down all the bugs and conflicts without it.

sounds super useful, thank you so much!
Dec 23, 2022 @ 12:59pm 
Not going to tell us how you solved it? big rip
Express Dec 23, 2022 @ 5:40pm 
Originally posted by SNEEZE:
Not going to tell us how you solved it? big rip

The convo between me and the user above provided the solution. If you're too new to understand any of it, maybe learn a bit of Linux before trying to install it? Considering this thread is nearly four years old, I'm much too late to provide to solution to your polite inquiry.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Apr 15, 2019 @ 1:53pm
Posts: 6