It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
⚠ This thread is no longer kept up-to-date, please go to the following one to get the latest links and instructions, or for any kind of feedback:
[./play.it] Install Terraria on Linux

-----

Hello fellow Debian users, Ubuntu lovers and Mint freaks!

Here you’ll find two scripts allowing you to turn your .sh installer of Terraria into a .deb package, allowing to install it through DPKG and remove it through any APT front-end (apt-get, aptitude, synaptic, etc.).

Download links and usage instructions can be found on the following page:
Terraria

I hope you’ll enjoy these scripts as much as I enjoy writing and tweaking them ;)

-----

Here you go for more supported games!
Post edited April 12, 2020 by vv221
TerrariaServer should be executable. Otherwise one cannot host from in-game.
avatar
bulsa: TerrariaServer should be executable. Otherwise one cannot host from in-game.
Thank you, I’ll update the script.
avatar
bulsa: (…)
I think the bug you reported is fixed in the version of the script currently online (version 20150825.3).
Please tell me if you find anything amiss, and thank you again for your report!
I followed the instructions on installing scripts etc, but to no avail.

When you say that the scripts have been updated, do you mean Wine, or the peculiar non DEB file that is given away on GOG.com? I am a relatively new Ubuntu-ite :)

I've attached the Bash messages, but refrain from sharing photographic evidence of my disgruntled-ness ;)
Attachments:
avatar
palairet: I followed the instructions on installing scripts etc, but to no avail.
No, not particularly. Stop using sudo. The only command that needs super-user permissions is the apt-get line.

gog_terraria_2.0.0.3.sh play-terraria_gog-2.0.0.3.sh play-anything.sh
^ That is the output of the ls command. Not something for you to type in. So, did you actually download & save the two play scripts to the same directory as the GOG installer? Are you in said directory? Then run sh play-terraria_gog-2.0.0.3.sh without sudo.

You can also run the GOG installer directly if you are not looking to turn it into a .deb package.
avatar
vv221: Here you’ll find two scripts allowing you to turn your .sh installer of SteamWorld Dig into a .deb package
Hmmm.
Post edited September 02, 2015 by Gydion
avatar
palairet: (…)
You should follow Gydion advice and not run the script via sudo.
I slightly edited the guide to show better than the list of files (gog_terraria_2.0.0.3.sh, play-terraria_gog-2.0.0.3.sh & play-anything.sh) is the result of a command and no something you should run.

-----
avatar
vv221: Here you’ll find two scripts allowing you to turn your .sh installer of SteamWorld Dig into a .deb package
avatar
Gydion: Hmmm.
Oops! My copy-paste skills betrayed me…
Thank you for pointing it out ;)
Yes, I did put the scripts in the same directory as the installer.

My misuse of the sudo and other parts has been highlighted. Time to get tapping.

I will follow the updated instructions stringently, and get back to you, sir.
I am being told not to use Bash, but have already specified that Ubuntu cannot run sh files.

I followed the advice given on the page, without using the sudo command a second time. Gydion, this is what I get without using Sudo in any place but the apt-get command.

Again, sh files are not recognised by ubuntu, nor have I ever done the whole conversion to DEB thing. It is not a case of "use DEB" files if I want. They have to be APT, EXE or DEB files or nuthin'...

In case I haven't answered this, I have downloaded the new (identically named) scripts.

This didn't work for me, as I have mentioned in a thread about the dysfunctional Terraria sh (ite) file.
Attachments:
Post edited September 03, 2015 by palairet
avatar
palairet: (…)
You must run the 'sh ./play-…' command from the directory where you placed the script and the installers.
The command 'ls' is there to ensure you’re in the right directory before trying to run the script.
avatar
palairet: I am being told not to use Bash, but have already specified that Ubuntu cannot run sh files.
Factually untrue.
avatar
palairet: I followed the advice given on the page, without using the sudo command a second time. Gydion, this is what I get without using Sudo in any place but the apt-get command.
FYI, you don't need to run the apt-get command again as you can see in its output. It only needs to be run once to install the script dependencies.
avatar
palairet: Again, sh files are not recognised by ubuntu, nor have I ever done the whole conversion to DEB thing. It is not a case of "use DEB" files if I want. They have to be APT, EXE or DEB files or nuthin'...
Simply wrong. To directly run the GOG installer
$ bash /full/path/to/GOGinstaller.sh
As far as converting this to a .deb package:
$ cd
$ mkdir gogTerraria
$ cd gogTerraria
$ wget http://www.dotslashplay.it/scripts/play-anything.sh
$ wget http://www.dotslashplay.it/scripts/play-terraria_gog-2.0.0.3.sh
$ mv /full/path/to/GOGinstaller.sh .
$ ls
$ sh play-terraria_gog-2.0.0.3.sh
Presuming I didn't make any typos the ls command will show the three files you need. Don't forget you need to type in the actual path to the GOG installer.
Post edited September 03, 2015 by Gydion
I've actually left Terraria as an .sh - that way I don't need to give it root at all to run.
avatar
palairet: I am being told not to use Bash, but have already specified that Ubuntu cannot run sh files.

I followed the advice given on the page, without using the sudo command a second time. Gydion, this is what I get without using Sudo in any place but the apt-get command.

Again, sh files are not recognised by ubuntu, nor have I ever done the whole conversion to DEB thing. It is not a case of "use DEB" files if I want. They have to be APT, EXE or DEB files or nuthin'...
My guess: You forgot to make it executable. .sh files can be run by themselves on the command line or run by sh.

`chmod u+x filename`


If you want to run a file from the current directory, try putting ./ in front of it in the terminal.

./start.sh
Post edited September 17, 2015 by Benanov
avatar
bulsa: TerrariaServer should be executable. Otherwise one cannot host from in-game.