Installing Solarus in ubuntu

Started by bonez001, October 21, 2018, 09:24:40 AM

Previous topic - Next topic
Hello everyone. Its kinda hard to find straight forward directions for installing solarus and the editor in ubuntu 16.04. ANyone there who can help me?


Quote from: Neovyse on October 21, 2018, 12:28:44 PM
http://www.solarus-games.org/development/compilation-instructions/
I recently compiled and installed on Ubuntu. The instructions above do not list the package names for Qt5. They are:

  • qtbase5-dev
  • qttools5-dev
  • qttools5-dev-tools
The compilation instructions included in the gitlab project do include these dependencies:
https://gitlab.com/solarus-games/solarus/blob/dev/compilation.txt

The other part that required a bit of head scratching was figuring out the name of the package for the GLM dependency for compiling the quest editor. It is libglm-dev. Compilation instructions for the quest editor can be found here:
https://gitlab.com/solarus-games/solarus-quest-editor/blob/dev/readme.md

You don't need to compile it. See this thread for instructions on using the PPA: http://forum.solarus-games.org/index.php?topic=1002.msg7162#msg7162

In short, it's these 4 commands, run one at a time:


sudo echo "deb http://download.opensuse.org/repositories/home:/nate-devv:/solarus-debian/xUbuntu_16.04/ ./" > /etc/apt/sources.list.d/solarus.list
wget -qO - http://download.opensuse.org/repositories/home:/nate-devv:/solarus-debian/xUbuntu_16.04/Release.key | sudo apt-key add -
sudo apt update
sudo apt install -y solarus solarus-quest-editor


If the first command complains about the path, try `sudo mkdir -p /etc/apt/sources.list.d/`
RIP Aaron Swartz

Quote from: llamazing on October 21, 2018, 04:18:28 PM
I recently compiled and installed on Ubuntu. The instructions above do not list the package names for Qt5.

Thanks, I'll update the page. We plan to work on a better tutorial, which will explain everthing better, by the way. It'll come with the new website.

October 28, 2018, 12:51:14 PM #5 Last Edit: October 28, 2018, 12:56:17 PM by bonez001
Quote from: alexgleason on October 21, 2018, 05:54:26 PM
You don't need to compile it. See this thread for instructions on using the PPA: http://forum.solarus-games.org/index.php?topic=1002.msg7162#msg7162

In short, it's these 4 commands, run one at a time:


sudo echo "deb http://download.opensuse.org/repositories/home:/nate-devv:/solarus-debian/xUbuntu_16.04/ ./" > /etc/apt/sources.list.d/solarus.list
wget -qO - http://download.opensuse.org/repositories/home:/nate-devv:/solarus-debian/xUbuntu_16.04/Release.key | sudo apt-key add -
sudo apt update
sudo apt install -y solarus solarus-quest-editor




If the first command complains about the path, try `sudo mkdir -p /etc/apt/sources.list.d/`

I already installed it. But the solarus editor is unusable. I don't know why.

October 28, 2018, 03:51:16 PM #6 Last Edit: October 28, 2018, 03:53:25 PM by alexgleason
Quote from: bonez001 on October 28, 2018, 12:51:14 PM
I already installed it. But the solarus editor is unusable. I don't know why.

Please open the terminal and give the output of the following two commands:

cat /etc/*-release
This command will give us more information about exactly what distro you are running, and what version. Then perhaps someone can reproduce the problem.

solarus-quest-editor
By running the quest editor from the command line instead of the applications menu, we will be able to see exactly why it fails by looking at the error output.
RIP Aaron Swartz

Quote from: alexgleason on October 28, 2018, 03:51:16 PM
Quote from: bonez001 on October 28, 2018, 12:51:14 PM
I already installed it. But the solarus editor is unusable. I don't know why.

Please open the terminal and give the output of the following two commands:

cat /etc/*-release
This command will give us more information about exactly what distro you are running, and what version. Then perhaps someone can reproduce the problem.

solarus-quest-editor
By running the quest editor from the command line instead of the applications menu, we will be able to see exactly why it fails by looking at the error output.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial



Quote from: bonez001 on October 28, 2018, 05:09:22 PM
Quote from: alexgleason on October 28, 2018, 03:51:16 PM
Quote from: bonez001 on October 28, 2018, 12:51:14 PM
I already installed it. But the solarus editor is unusable. I don't know why.

Please open the terminal and give the output of the following two commands:

cat /etc/*-release
This command will give us more information about exactly what distro you are running, and what version. Then perhaps someone can reproduce the problem.

solarus-quest-editor
By running the quest editor from the command line instead of the applications menu, we will be able to see exactly why it fails by looking at the error output.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

I just enlarge the editor and it became usable LOL. I will try to load made games and  I will later update. Thanks for the help.

This command might do for other user instead of the first

sudo su -c "echo 'deb http://download.opensuse.org/repositories/home:/nate-devv:/solarus-debian/xUbuntu_16.04/ ./' > /etc/apt/sources.list.d/solarus.list"