SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion

Reply
 
Thread Tools Search this Thread
Old 1 Week Ago   #1
Digiku
Developer
Default Linux and macOS Ports

Linux and macOS Ports

For macOS users: jump to the end of the post.

As of SRB2 v2.1.21, we have brought back Linux builds for Ubuntu and Debian-based users. You may install SRB2 via our APT PPA respository.

SRB2 is installed to "/usr/games/SRB2" and a program icon is added to your Application Manager. You may place addons into your home directory .srb2 folder: "~/.srb2"

Here's how to install the game:

If you are using Ubuntu:

Ubuntu has built-in support for PPA repositories, so all you need to do is install using your terminal:

Code:
sudo add-apt-repository ppa:stjr/srb2
sudo apt-get update
sudo apt-get install srb2
If you are using a Debian-based distro:

Debian can run the same packages that are provided in the repository. You may need to add the PPA manually.

The simple way, using add-apt-repository:

If you are using Debian Jessie or earlier, skip to the next section. Do not use this method.

To use the add-apt-repository command, you need to install the following package:

Debian Stretch and later:

Code:
sudo apt-get install software-properties-common
Now add the PPA repository and install SRB2.

Code:
sudo add-apt-repository ppa:stjr/srb2
sudo apt-get update
sudo apt-get install srb2
The long way, if you cannot use add-apt-repository:

First, install dirmngr so you can retreive the PPA signing key.

Code:
sudo apt-get install dirmngr
Next, add the following lines to /etc/apt/sources.list

Debian Stretch or later, add these lines to sources.list:

Code:
deb http://ppa.launchpad.net/stjr/srb2/ubuntu bionic main
deb-src http://ppa.launchpad.net/stjr/srb2/ubuntu bionic main
Debian Jessie or earlier, add these lines to sources.list:

Code:
deb http://ppa.launchpad.net/stjr/srb2/ubuntu trusty main
deb-src http://ppa.launchpad.net/stjr/srb2/ubuntu trusty main
Now, retrieve the PPA signing key for the repository.

Code:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0B1702D71499D9C25F986507F240F4449D3B0EC6
Finally, update your apt listings and install SRB2.

Code:
sudo apt-get update
sudo apt-get install srb2
If SRB2 does not work when you install it, try building from the source package:

This assumes that you added the PPA repository, as above.

Note that SRB2 does not build currently with GCC 8! If you have build errors, look on the internet on how to force an earlier GCC version between 4.7 and 7.8.

PHP Code:
# Install build dependencies

sudo apt-get build-dep srb2 srb2-data

# Change to a folder of your choice, where the binary packages will be built

mkdir ~/Packages
cd 
~/Packages

# Build the SRB2 package

apt source -t bionic --build srb2
apt source 
-t bionic --build srb2-data

# Install the SRB2 package

sudo dpkg -i srb2_[version]_[i386/amd64].deb
sudo dpkg 
-i srb2-data_[version]_all.deb 
If you are using a non-Debian distro:

You are welcome to build SRB2 from the source code. Download a copy of the source from GitLab, and see Source code compiling from the SRB2 Wiki.

macOS Port

Download the macOS DMG Installer here.

When the DMG image is finished download, double-click on it to mount it. To install SRB2, click and drag the SRB2 icon to the Applications folder or a location of your choice.

Your game data and mods will be located in your home folder: "~/srb2"

If SRB2 is not allowed to run:

You may get a message that states SRB2 is not allowed to run.



You can run SRB2 by going to System Preferences > Security & Privacy



Click on "Open anyway".

If that prompt doesn't show up, you may need to select "Allow apps downloaded from App Store and identified developers". Then try running the program again and open this settings page again to trigger this prompt.

Last edited by Digiku; 1 Week Ago at 03:14 PM.
Digiku is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:04 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.