PlaneShift

Support => Linux Specific Issues => Topic started by: NoPantsMan on November 02, 2007, 08:36:49 pm

Title: Installing on Linux?
Post by: NoPantsMan on November 02, 2007, 08:36:49 pm
okay, I just chmod the .bin file, now how do I run it? ./[file name]?
Title: Re: Installing on Linux?
Post by: Mordraugion on November 02, 2007, 10:43:42 pm
yes ./PlaneShift_CBV0.3.020-x86.bin
Title: Re: Installing on Linux?
Post by: NoPantsMan on November 02, 2007, 11:41:47 pm
I keep getting this message

bash: ./PlaneShift_CBV0.3.020-x86.bin: Permission denied

any ideas?
Title: Re: Installing on Linux?
Post by: kaiserbert on November 03, 2007, 12:10:05 am
Did you searched the Linux Foren for this Problem?

The chmod Command lets you tune the execution Flags for User, Group and others.

Open a Shell and execute,
man chmod
to see how to use this Command.

You have to change the Execution Flag to your User or Group you are own.

Please buy a good Linux Book or search more in the Internet to solve basic Problems on Linux.

bye bert
Title: Re: Installing on Linux?
Post by: fluppet on November 05, 2007, 01:54:02 am
okay then mr genius kaiserbert explain this

Code: [Select]

chmod +x PlaneShift_CBV0.3.020-x86.bin
ls -l PlaneShift_CBV0.3.020-x86.bin
-rwxr-xr-x 1 fluppet users 294712984 Nov  5 00:24 PlaneShift_CBV0.3.020-x86.bin
./PlaneShift_CBV0.3.020-x86.bin
-bash: ./PlaneShift_CBV0.3.020-x86.bin: Permission denied
]
Title: Re: Installing on Linux?
Post by: Mordraugion on November 06, 2007, 12:32:50 am
have you tried running as root with su or sudo? don't forget to change perms to 777 or ownership/group to username/users
Title: Re: Installing on Linux?
Post by: fluppet on November 06, 2007, 01:07:45 am
tried perm 777
tried as root

same problem every time
Title: Re: Installing on Linux?
Post by: miadon on November 06, 2007, 01:10:18 am
I bet you are using ubuntu, other ubuntu users have had similar problems with this, search the forum there were some solutions can't remember what though.
Title: Re: Installing on Linux?
Post by: Eodun on November 06, 2007, 12:49:33 pm
Using Kubuntu here and no issues installing with that order :p

Edit: Kubuntu Gutsy 7.10, btw
Title: Re: Installing on Linux?
Post by: fluppet on November 06, 2007, 04:09:48 pm
I bet you are using ubuntu, other ubuntu users have had similar problems with this, search the forum there were some solutions can't remember what though.

gentoo actually

shall go look tho
Title: Re: Installing on Linux?
Post by: fluppet on November 06, 2007, 04:17:40 pm
sorted

aparently i have to put it in my home dir to run it

how odd
Title: Re: Installing on Linux?
Post by: Eodun on November 06, 2007, 04:23:17 pm
Strange, as root you should have access to any dir :p
Title: Re: Installing on Linux?
Post by: dmentaustro on November 11, 2007, 08:32:04 pm
i need help too.. i'm new to linux, just installed it yesterday and its the 1st time i use it.. i find it much better than windows, but i'm not able to install this game.. i run the bin and the install window opens.. when the instalation is almost done i have a "Post Install Script" error.. any1 knows what is the problem?
I have ubuntu 7.10
Title: Re: Installing on Linux?
Post by: ikyuao on November 12, 2007, 07:15:59 am
Okay, Newbies out there who wants install a [Filename].bin file then just type chmod a+x [Filename].bin that causes changing non-executable file into executable file then type ./ or sh to execute this file to run a installer  :thumbup: :thumbup: :)

In chmod setting for file that a+x filename.bin that "+" is causes this file will be becomes be executable and chmod a-x that "-" causes this file becomes be permission denied and will not be to run executable.

Try type chmod a+rwx [filename].bin --- that is given full permission to access and executable this file as read, write and executable. I hope that will be helpful to you :D

And one thing: If you don't want someone to write or alter a file just type chmod a+rx [Filename].bin that will be read only and executable to let you to execute a file to run.

I learned about chmod permission system things :)
Title: Re: Installing on Linux?
Post by: dmentaustro on November 12, 2007, 02:09:44 pm
What about the post install script error?
Title: Re: Installing on Linux?
Post by: Velh Krome on November 12, 2007, 02:24:11 pm
I am pretty sure the default while installing is "Install system wide".
So hand some details:
Do you install as root? Or as user not disabling the systemwide install?
Same thing with the option about "Icons installed system wide".

I would guess that error might occur when installing as user, then the installer fails due to lack of permission to install systemwide, into root-folders that is - just a guess.
Cheers
Title: Re: Installing on Linux?
Post by: ikyuao on November 12, 2007, 02:43:06 pm
I do not need a root to run install... I can do install a client in user mode only. So no error report after install in user mode. Leave system wide "no" default that should work fine while installing in your own user mode space...
Title: Re: Installing on Linux?
Post by: Velh Krome on November 12, 2007, 02:54:22 pm
I do not need a root to run install... I can do install a client in user mode only. So no error report after install in user mode.
I know, as my install is a user install as well. Yet installing as user and trying to set it up systemwide will fail.

But dmentaustro' issue may occur due to his attempt to install as user while during the process the installer tries to write into root-folders without sufficient permission.
[..] when the instalation is almost done i have a "Post Install Script" error[..]
I didnt reproduce it, and I dont know what exactly dmentaustro did, yet may be worth a try.
Title: Re: Installing on Linux?
Post by: ikyuao on November 12, 2007, 02:56:55 pm
I do not need a root to run install... I can do install a client in user mode only. So no error report after install in user mode.
I know, as my install is a user install as well. Yet installing as user and trying to set it up systemwide will fail.

But dmentaustro' issue may occur due to his attempt to install as user while during the process the installer tries to write into root-folders without sufficient permission.
[..] when the instalation is almost done i have a "Post Install Script" error[..]
I didnt reproduce it, and I dont know what exactly dmentaustro did, yet may be worth a try.


Leave system wide "no" set default
Title: Re: Installing on Linux?
Post by: Velh Krome on November 12, 2007, 03:03:15 pm
Quote
Or as user not disabling the systemwide install?
Well yes.. thats what I suggested.
Title: Re: Installing on Linux?
Post by: ikyuao on November 12, 2007, 03:20:56 pm
Quote
Or as user not disabling the systemwide install?
Well yes.. thats what I suggested.

Let me know how it goes installing a game client in your user mode :)
Title: Re: Installing on Linux?
Post by: Velh Krome on November 12, 2007, 03:30:19 pm
I downloaded it, made it executable, sh'ed the .bin and while the process I disabled the systemwide install - so yes, all as user, not root, surprising, eh? Oh wait no uhm.. you installed as user yourself..;)

Oh, and before you go on asking, the following was meant as a trial to find the mistake HE did:
Quote
So hand some details:
Do you install as root? Or as user not disabling the systemwide install?
I cant see whats unclear here.
Title: Re: Installing on Linux?
Post by: ikyuao on November 12, 2007, 04:36:40 pm
I downloaded it, made it executable, sh'ed the .bin and while the process I disabled the systemwide install - so yes, all as user, not root, surprising, eh? Oh wait no uhm.. you installed as user yourself..;)

Oh, and before you go on asking, the following was meant as a trial to find the mistake HE did:
Quote
So hand some details:
Do you install as root? Or as user not disabling the systemwide install?
I cant see whats unclear here.

If you want to install system wide then you should be in root mode or superuser mode to install system wide.
Title: Re: Installing on Linux?
Post by: dmentaustro on November 12, 2007, 05:17:25 pm
i'm not instaling sistem wide and the error ocurs when "Executing final instalation script" i only have 1 profile.. mine.. how i start ubuntu as root?
Title: Re: Installing on Linux?
Post by: ikyuao on November 12, 2007, 05:46:44 pm
i'm not instaling sistem wide and the error ocurs when "Executing final instalation script" i only have 1 profile.. mine.. how i start ubuntu as root?

If you want to run a ubuntu as root then use it at your own risk! I strong suggest you to run ubuntu in user mode in your own user space unless you re doing a maintenance in root mode.
Title: Re: Installing on Linux?
Post by: dmentaustro on November 12, 2007, 06:32:22 pm
so, how do i solve my problem?
Title: Re: Installing on Linux?
Post by: ikyuao on November 12, 2007, 06:42:54 pm
so, how do i solve my problem?

Just create your user space. Please see your ubuntu manual about creating user or user group so go to: https://help.ubuntu.com/7.04/keeping-safe/C/users.html
Title: Re: Installing on Linux?
Post by: dmentaustro on November 17, 2007, 12:48:23 pm
srr but that doesnt answer my question.. i just want to know why i get that error.. i'm not as root..
Title: Re: Installing on Linux?
Post by: Eodun on November 17, 2007, 12:51:12 pm
Open terminal

Go to the directory where the bin is.

execute "sudo ./nameofprog.bin"

Enter your root passwd (same as yours if you installed the system, prolly)

Don't close term until installation is finished
Title: Re: Installing on Linux?
Post by: dmentaustro on November 21, 2007, 11:19:45 pm
austro@Pedro-PC:~$ sudo ./PlaneShift_CBV0.3.019-x86.bin
sudo: ./PlaneShift_CBV0.3.019-x86.bin: command not found

lol
Title: Re: Installing on Linux?
Post by: Eodun on November 22, 2007, 12:08:26 am
You have to give it execution rights (chmod... etc) or via Dolphin/konqueror/insert other file browser here
Title: Re: Installing on Linux?
Post by: whiterazorblade on December 15, 2007, 11:05:03 pm
I always get the error  unable to execute binary file.   Im running Mandriva if anyone can help me im very very new to linux but i have a pretty good knowlage database of comuters
Title: Re: Installing on Linux?
Post by: Caarrie on December 15, 2007, 11:07:34 pm
read this (http://hydlaa.com/smf/index.php?topic=19389.0)
Title: Re: Installing on Linux?
Post by: whiterazorblade on December 15, 2007, 11:17:00 pm
just so u know i have ran chmod a+xrw filenamehere.bin  wich worked i just get the message cannot execute binary file after typing ./filename.bin or sh ./filename.bin
Title: Re: Installing on Linux?
Post by: Induane on December 16, 2007, 12:15:49 pm
You might consider trying to download again, it could be a corrupt download.  Also are you running 64bit linux or 32bit linux?