Take the 2-minute tour ×

This question already has an answer here:

I want to install absynth 5 on my computer. I found this code, here it is.

# Date : (2013-02-01)
# Last revision : (2013-02-01)
# Distribution used to test : Kubuntu 12.04 LTS
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.1.9

# [SuperPlumus] (2013-06-17 19-35)
#   Update gettext message

source "$PLAYONLINUX/lib/sources"

TITLE="Absynth 5"
EDITOR="Native Instruments"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"


# Presentation

# Create Prefix
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"


# Configuration
Set_OS "winxp"
Set_SoundDriver "alsa"

# Installation
POL_Wine_WaitBefore "$TITLE"
POL_Wine_WaitExit "$TITLE"

# Create Shortcuts
POL_Shortcut "Absynth\ 5.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: For low-latency audio, look into WineASIO.')" "$TITLE"

exit 0

But I think it is supposed to go somewhere other than the Terminal because in the terminal after typing #!/bin/bash I still get a $ sign. Thank you in advance for all of your help.

share|improve this question

marked as duplicate by Braiam, Eric Carvalho, RolandiXor Sep 13 '13 at 6:00


1 Answer 1

up vote 4 down vote accepted

These are not commands that should be entered on the command line. When you see text with "#!" at the start of the first line, it indicates that it is a script. You should put the text in a file and run it all at once.

Open your text editor, and paste the code into a new file. Save the file to "absynth5.sh".

Now, use one of the answers presented here to run the script:

How do I run .sh files in Terminal?

share|improve this answer
