Author Topic: Installing Solarus in ubuntu  (Read 202 times)

bonez001

  • Newbie
  • *
  • Posts: 7
    • View Profile
Installing Solarus in ubuntu
« 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?

Neovyse

  • Administrator
  • Full Member
  • *****
  • Posts: 129
    • View Profile
Re: Installing Solarus in ubuntu
« Reply #1 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/

llamazing

  • Full Member
  • ***
  • Posts: 139
    • View Profile
Re: Installing Solarus in ubuntu
« Reply #2 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:
  • 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

alexgleason

  • Jr. Member
  • **
  • Posts: 72
  • Vegan on a Desert Island
    • View Profile
    • Vegan on a Desert Island
Re: Installing Solarus in ubuntu
« Reply #3 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/`
RIP Aaron Swartz

Neovyse

  • Administrator
  • Full Member
  • *****
  • Posts: 129
    • View Profile
Re: Installing Solarus in ubuntu
« Reply #4 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.

bonez001

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Installing Solarus in ubuntu
« Reply #5 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.
« Last Edit: October 28, 2018, 12:56:17 pm by bonez001 »

alexgleason

  • Jr. Member
  • **
  • Posts: 72
  • Vegan on a Desert Island
    • View Profile
    • Vegan on a Desert Island
Re: Installing Solarus in ubuntu
« Reply #6 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.
« Last Edit: October 28, 2018, 03:53:25 pm by alexgleason »
RIP Aaron Swartz

bonez001

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Installing Solarus in ubuntu
« Reply #7 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



bonez001

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Installing Solarus in ubuntu
« Reply #8 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.