staging.inyokaproject.org

Spiel installieren wie ???

Status: Gelöst | Ubuntu-Version: Ubuntu 13.10 (Saucy Salamander)
Antworten |

Radek

Avatar von Radek

Anmeldungsdatum:
27. November 2011

Beiträge: 212

Hi,

ich möchte das Spiel The Raven..... für Linux install . ich habe bis jetzt noch nie ein gekauftes Spiel installiert .

Folgende Anleitung gibt es dafür

#!/usr/bin/env sh

cd pkg

which gksudo 1>/dev/null
HAS_GKSUDO=$?

if [ $HAS_GKSUDO -eq 0 ]
then
	# Dummy start gksudo, so we have auth, but do not use it further since it eats
	# child stderr output
	gksudo −−title "The Raven Installation" --description "The Raven" true
fi

which apt-get 1>/dev/nullgksudo −−title "The Raven Installation" --description "The Raven"
HAS_APT_GET=$?suso apt

if [ $HAS_APT_GET -eq 0 ]
then
	# Should be a debianish system
	which python3 1>/dev/null
	HAS_PYTHON3=$?

	if [ $HAS_PYTHON3 -ne 0 ]
	then
		echo "Installing python3..."
		sudo apt-get install python3
	fi

	#Check apt library - we don't really care where it comes from :)
	python3 -c "import apt.debfile" 1>/dev/null 2>/dev/null
	HAS_APT_LIB=$?

	if [ $HAS_APT_LIB -ne 0 ]
	then
		echo "Installing python3 apt library..."
		sudo apt-get install python3-apt
	fi

	echo "Installing necessary dependencies for The Raven..."

	sudo ./the_raven_install.py
else
	# Some other distro we do not officially support
	echo "apt-get not available. Please install The Raven manually." 1>&2
fi

Code

Was soll ich jetzt machen es gibt keine Exe wie bei windoof ich habe das einfach in Terminal rein Kopiert und so was kommt raus

radek@radek-linux:~$ #!/usr/bin/env sh
radek@radek-linux:~$ 
radek@radek-linux:~$ cd pkg
bash: cd: pkg: Datei oder Verzeichnis nicht gefunden
radek@radek-linux:~$ 
radek@radek-linux:~$ which gksudo 1>/dev/null
radek@radek-linux:~$ HAS_GKSUDO=$?
radek@radek-linux:~$ 
radek@radek-linux:~$ if [ $HAS_GKSUDO -eq 0 ]
> then
> # Dummy start gksudo, so we have auth, but do not use it further since it eats
> # child stderr output
> gksudo −−title "The Raven Installation" --description "The Raven" true
> fi
radek@radek-linux:~$ 
radek@radek-linux:~$ which apt-get 1>/dev/nullgksudo −−title "The Raven Installation" --description "The Raven"
bash: /dev/nullgksudo: Keine Berechtigung
radek@radek-linux:~$ HAS_APT_GET=$?suso apt
Der Befehl »apt« wurde nicht gefunden, meinten Sie vielleicht:
 Befehl »pat« aus dem Paket »dist« (universe)
 Befehl »aft« aus dem Paket »aft« (universe)
 Befehl »ant« aus dem Paket »ant« (main)
 Befehl »ant« aus dem Paket »ant1.7« (universe)
 Befehl »opt« aus dem Paket »llvm« (universe)
 Befehl »apm« aus dem Paket »apmd« (main)
 Befehl »apf« aus dem Paket »apf-firewall« (universe)
 Befehl »apg« aus dem Paket »apg« (main)
 Befehl »ppt« aus dem Paket »bsdgames« (universe)
 Befehl »aptd« aus dem Paket »aptdaemon« (main)
 Befehl »at« aus dem Paket »at« (main)
 Befehl »atp« aus dem Paket »atp« (universe)
 Befehl »xapt« aus dem Paket »xapt« (universe)
 Befehl »gpt« aus dem Paket »gpt« (universe)
apt: Befehl nicht gefunden.
radek@radek-linux:~$ 
radek@radek-linux:~$ if [ $HAS_APT_GET -eq 0 ]
> then
> # Should be a debianish system
> which python3 1>/dev/null
> HAS_PYTHON3=$?
> 
> if [ $HAS_PYTHON3 -ne 0 ]
> then
> 
.adobe/                       Öffentlich/
Ausgabe.pdf                   Pictures - GT-I9300/
.bash_history                 Pictures - GT-N7000/
.bash_logout                  .pki/
.bashrc                       .PlayOnLinux/
Bilder/                       PlayOnLinux's virtual drives/
.cache/                       .profile
.compiz/                      .pulse-cookie
.config/                      Schreibtisch/
.dbus/                        .steam/
Dokumente/                    .steampath
Downloads/                    .steampid
examples.desktop              .thunderbird/
.gconf/                       Ubuntu One/
.gksu.lock                    Videos/
.ICEauthority                 Vorlagen/
.icons/                       .wine/
.local/                       .Xauthority
.macromedia/                  .xsession-errors
.mozilla/                     .xsession-errors.old
Musik/                        
> echo "Installing python3..."
> 
.adobe/                       Öffentlich/
Ausgabe.pdf                   Pictures - GT-I9300/
.bash_history                 Pictures - GT-N7000/
.bash_logout                  .pki/
.bashrc                       .PlayOnLinux/
Bilder/                       PlayOnLinux's virtual drives/
.cache/                       .profile
.compiz/                      .pulse-cookie
.config/                      Schreibtisch/
.dbus/                        .steam/
Dokumente/                    .steampath
Downloads/                    .steampid
examples.desktop              .thunderbird/
.gconf/                       Ubuntu One/
.gksu.lock                    Videos/
.ICEauthority                 Vorlagen/
.icons/                       .wine/
.local/                       .Xauthority
.macromedia/                  .xsession-errors
.mozilla/                     .xsession-errors.old
Musik/                        
> sudo apt-get install python3
> fi
> 
> #Check apt library - we don't really care where it comes from :)
> python3 -c "import apt.debfile" 1>/dev/null 2>/dev/null
> HAS_APT_LIB=$?
> 
> if [ $HAS_APT_LIB -ne 0 ]
> then
> 
.adobe/                       Öffentlich/
Ausgabe.pdf                   Pictures - GT-I9300/
.bash_history                 Pictures - GT-N7000/
.bash_logout                  .pki/
.bashrc                       .PlayOnLinux/
Bilder/                       PlayOnLinux's virtual drives/
.cache/                       .profile
.compiz/                      .pulse-cookie
.config/                      Schreibtisch/
.dbus/                        .steam/
Dokumente/                    .steampath
Downloads/                    .steampid
examples.desktop              .thunderbird/
.gconf/                       Ubuntu One/
.gksu.lock                    Videos/
.ICEauthority                 Vorlagen/
.icons/                       .wine/
.local/                       .Xauthority
.macromedia/                  .xsession-errors
.mozilla/                     .xsession-errors.old
Musik/                        
> echo "Installing python3 apt library..."
> 
.adobe/                       Öffentlich/
Ausgabe.pdf                   Pictures - GT-I9300/
.bash_history                 Pictures - GT-N7000/
.bash_logout                  .pki/
.bashrc                       .PlayOnLinux/
Bilder/                       PlayOnLinux's virtual drives/
.cache/                       .profile
.compiz/                      .pulse-cookie
.config/                      Schreibtisch/
.dbus/                        .steam/
Dokumente/                    .steampath
Downloads/                    .steampid
examples.desktop              .thunderbird/
.gconf/                       Ubuntu One/
.gksu.lock                    Videos/
.ICEauthority                 Vorlagen/
.icons/                       .wine/
.local/                       .Xauthority
.macromedia/                  .xsession-errors
.mozilla/                     .xsession-errors.old
Musik/                        
> sudo apt-get install python3-apt
> fi
> 
> echo "Installing necessary dependencies for The Raven..."
> 
> sudo ./the_raven_install.py
> else
> # Some other distro we do not officially support
> echo "apt-get not available. Please install The Raven manually." 1>&2
> fi
bash: [: -eq: Einstelliger (unärer) Operator erwartet.
apt-get not available. Please install The Raven manually.
radek@radek-linux:~$ 

Code

und Nun????? 😕

Pleas Help 😬

Kätzchen

Avatar von Kätzchen

Anmeldungsdatum:
1. Mai 2011

Beiträge: 7130

Du musst das Skript ausführen und nicht den Inhalt des Skript ins Terminal kopieren.

Du musst zum Ort navigieren wo das Skript liegt:

cd Pfad/zum/Skript

dann:

./Skriptname

Radek

(Themenstarter)
Avatar von Radek

Anmeldungsdatum:
27. November 2011

Beiträge: 212

Oh....Haha.. das ist ja einfach Danke

Antworten |