Solarus Forum

Community => General discussion => Topic started by: bonez001 on October 21, 2018, 09:24:40 am

Title: Installing Solarus in ubuntu
Post by: bonez001 on October 21, 2018, 09:24:40 am
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?
Title: Re: Installing Solarus in ubuntu
Post by: Neovyse on October 21, 2018, 12:28:44 pm
You may find information here but it's a bit outdated: http://www.solarus-games.org/development/compilation-instructions/
Title: Re: Installing Solarus in ubuntu
Post by: llamazing on October 21, 2018, 04:18:28 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:
The compilation instructions included in the gitlab project do include these dependencies:
https://gitlab.com/solarus-games/solarus/blob/dev/compilation.txt (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 (https://gitlab.com/solarus-games/solarus-quest-editor/blob/dev/readme.md)
Title: Re: Installing Solarus in ubuntu
Post by: 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:

Code: [Select]
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/`
Title: Re: Installing Solarus in ubuntu
Post by: Neovyse on October 23, 2018, 08:23:55 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.
Title: Re: Installing Solarus in ubuntu
Post by: bonez001 on October 28, 2018, 12:51:14 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:

Code: [Select]
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.
Title: Re: Installing Solarus in ubuntu
Post by: alexgleason on October 28, 2018, 03:51:16 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:

Code: [Select]
cat /etc/*-releaseThis command will give us more information about exactly what distro you are running, and what version. Then perhaps someone can reproduce the problem.

Code: [Select]
solarus-quest-editorBy 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.
Title: Re: Installing Solarus in ubuntu
Post by: bonez001 on October 28, 2018, 05:09:22 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:

Code: [Select]
cat /etc/*-releaseThis command will give us more information about exactly what distro you are running, and what version. Then perhaps someone can reproduce the problem.

Code: [Select]
solarus-quest-editorBy 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


Title: Re: Installing Solarus in ubuntu
Post by: bonez001 on October 28, 2018, 05:10:41 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:

Code: [Select]
cat /etc/*-releaseThis command will give us more information about exactly what distro you are running, and what version. Then perhaps someone can reproduce the problem.

Code: [Select]
solarus-quest-editorBy 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.
Title: Re: Installing Solarus in ubuntu
Post by: bonez001 on November 27, 2018, 04:20:26 pm
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"