Author Topic: Trying to Install....Problems  (Read 2765 times)

EZStreet

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Trying to Install....Problems
« on: May 26, 2011, 06:30:02 am »
Ok so I downloaded the new PS file for linux but I cant get it to do anything.
it is named   PlaneShift-v0.5.6-x86.bin  and located on my desktop.
I try to use the suggested commands but nothing happens.... here is the terminal I see.

cali@HomeLaptop:~$ chmod +x PlaneShift-v0.5.6-x86.bin
chmod: cannot access `PlaneShift-v0.5.6-x86.bin': No such file or directory
cali@HomeLaptop:~$ sudo ./PlaneShift-v0.5.6-x86.bin
[sudo] password for cali:
sudo: ./PlaneShift-v0.5.6-x86.bin: command not found


I am really new to Linux and Ubuntu so when giving advice please assume I know how to do nothing except open the terminal.

BoevenF

  • Hydlaa Notable
  • *
  • Posts: 543
  • Amdeneir citizen, mostly travelling
    • View Profile
    • The Doømed Ones SVG
Re: Trying to Install....Problems
« Reply #1 on: May 26, 2011, 08:14:21 am »
if you want to change permissions you have to use sudo command:
cali@HomeLaptop:~$ sudo chmod +x PlaneShift-v0.5.6-x86.bin

bilbous

  • Guest
Re: Trying to Install....Problems
« Reply #2 on: May 26, 2011, 09:03:26 am »
You say it is on the desktop so you need to be in the desktop folder.
Code: [Select]
cd Desktopthen follow instructions.
Alternatively you could move in into your home folder .

The snippets you posted indicate you are in the home directory.
from that directory you can
Code: [Select]
mv Desktop/PlaneShift-v0.5.6-x86.bin ./but it is probably easier to do that with the file manager whichever it is. You can probably do it by right clicking on the file on your desktop and choosing 'move to' from the context menu.

EZStreet

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: Trying to Install....Problems
« Reply #3 on: May 26, 2011, 04:35:57 pm »
if you want to change permissions you have to use sudo command:
cali@HomeLaptop:~$ sudo chmod +x PlaneShift-v0.5.6-x86.bin

This did literally nothing.......



EZStreet

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: Trying to Install....Problems
« Reply #4 on: May 26, 2011, 04:40:11 pm »
You say it is on the desktop so you need to be in the desktop folder.
Code: [Select]
cd Desktopthen follow instructions.
Alternatively you could move in into your home folder .

The snippets you posted indicate you are in the home directory.
from that directory you can
Code: [Select]
mv Desktop/PlaneShift-v0.5.6-x86.bin ./but it is probably easier to do that with the file manager whichever it is. You can probably do it by right clicking on the file on your desktop and choosing 'move to' from the context menu.


So I moved the file into the Home folder because what you said about the desktop made sense to me, so after moving to home folder I tried the same Chmod and Sudo code's both seemed to do nothing when entered.  I enterd both again a second time, this time the sudo code didnt nothing again but the Chmod code did run the installer finally. however after i installed the game now when I go to Applications > Other > Plane Shift it gives me this; 

"Could not launch 'PlaneShift'     Failed to execute child process "/opt/PlaneShift/pslaunch" (Permission denied)"

Minks

  • Hydlaa Citizen
  • *
  • Posts: 443
    • View Profile
Re: Trying to Install....Problems
« Reply #5 on: May 26, 2011, 04:47:19 pm »

EZStreet

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: Trying to Install....Problems
« Reply #6 on: May 26, 2011, 04:53:59 pm »
I do belive I said I am SUPER NEW TO LINUX  so these instructions you are giving are kinda confusing. just linking me to a bunch of forum post wont help.

I see you want me to change permisiions?  aparently with a code like this? sudo chown -R your_username_here:users /opt/PlaneShift/  
I have tried this but it dosnt seem to work.


cali@HomeLaptop:~$ sudo ./PlaneShift-v0.5.6-x86.bin


(main.tcl:5617): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
cali@HomeLaptop:~$
cali@HomeLaptop:~$ sudo chmod +x PlaneShift-v0.5.6-x86.bin
cali@HomeLaptop:~$ chmod +x PlaneShift-v0.5.6-x86.bin
cali@HomeLaptop:~$
cali@HomeLaptop:~$
cali@HomeLaptop:~$
cali@HomeLaptop:~$
cali@HomeLaptop:~$ /sudo chown -R cali@homelaptop /opt/Planeshift/
bash: /sudo: No such file or directory
cali@HomeLaptop:~$ /opt/PlaneShift/psclient
bash: /opt/PlaneShift/psclient: Permission denied
cali@HomeLaptop:~$ sudo chmod a+rx /usr/share/applications/planeshift*.desktop
cali@HomeLaptop:~$ /opt/PlaneShift/psclient
bash: /opt/PlaneShift/psclient: Permission denied
cali@HomeLaptop:~$ sudo chown -R Cali /opt/PlaneShift/
chown: invalid user: `Cali'
cali@HomeLaptop:~$ sudo chown -R cali@HomeLaptop /opt/PlaneShift/
chown: invalid user: `cali@HomeLaptop'
cali@HomeLaptop:~$


ONCE AGAIN I HAVE NO IDEA HOW TO DO THIS PLEASE GIVE SPECIFIC INSTRUCTIONS!  ( Why the hell is is so F**KING Hard to Install this)

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Trying to Install....Problems
« Reply #7 on: May 26, 2011, 04:55:53 pm »
"Could not launch 'PlaneShift'     Failed to execute child process "/opt/PlaneShift/pslaunch" (Permission denied)"

You need to either add permissions to your group, or to your user. One of the ways to do it is as follows:

Code: [Select]
sudo chown -R ${USER}:${USER} /opt/PlaneShift

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Trying to Install....Problems
« Reply #8 on: May 26, 2011, 04:59:48 pm »
cali@HomeLaptop:~$ /sudo chown -R cali@homelaptop /opt/Planeshift/
bash: /sudo: No such file or directory
Don't use slash before sudo.

cali@HomeLaptop:~$ sudo chown -R Cali /opt/PlaneShift/
chown: invalid user: `Cali'
User name is case sensitive

cali@HomeLaptop:~$ sudo chown -R cali@HomeLaptop /opt/PlaneShift/
chown: invalid user: `cali@HomeLaptop'
cali@HomeLaptop:~$

There is no such user. The proper syntax is user:group with a colon. You can use ${USER}:${USER}

to see your user you can do:
Code: [Select]
whoamior
Code: [Select]
echo $USER
« Last Edit: May 26, 2011, 05:11:07 pm by Gilrond »

EZStreet

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: Trying to Install....Problems
« Reply #9 on: May 26, 2011, 05:24:16 pm »
uhg......

cali@HomeLaptop:~$ whoami
cali
cali@HomeLaptop:~$ echo $USER
cali
cali@HomeLaptop:~$ sudo chown -R ${cali}:${cali} /opt/PlaneShift
[sudo] password for cali:
cali@HomeLaptop:~$ sudo chown -R ${cali}:${cali} /opt/PlaneShift
cali@HomeLaptop:~$


still nothing....


Why do I have to use this damm terminal, why cant I just unpack and install....

I enter "sudo chown -R Cali /opt/PlaneShift/" and literally nothing happens.... why does this not SAY WIHAT ACTION IT WILL TAKE! 
« Last Edit: May 26, 2011, 05:26:55 pm by EZStreet »

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Trying to Install....Problems
« Reply #10 on: May 26, 2011, 05:28:06 pm »
cali@HomeLaptop:~$ sudo chown -R ${cali}:${cali} /opt/PlaneShift

No. Do it verbatim as I wrote above, i.e. using ${USER}:${USER}. Or if you prefer, do it as cali:cali

${USER} is a variable name here, which contains your user name. Since you already know it, you can use the user name explicitly. Writing ${cali} is incorrect, because there is no such variable declared, so it'll expand to empty string.
« Last Edit: May 26, 2011, 05:30:05 pm by Gilrond »

EZStreet

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: Trying to Install....Problems
« Reply #11 on: May 26, 2011, 05:29:26 pm »
i copied and pasted what you wrote.... still nothing... again...


cali@HomeLaptop:~$ cali@HomeLaptop:~$ sudo chown -R ${cali}:${cali} /opt/PlaneShift
cali@HomeLaptop:~$: command not found
cali@HomeLaptop:~$



I also tried the other thing you wrote.....

cali@HomeLaptop:~$ cali@HomeLaptop:~$ sudo chown -R ${cali}:${cali} /opt/PlaneShift
cali@HomeLaptop:~$: command not found
cali@HomeLaptop:~$ sudo chown -R ${USER}:${USER} /opt/PlaneShift
[sudo] password for cali:
cali@HomeLaptop:~$ sudo chown -R ${USER}:${USER} /opt/PlaneShift
cali@HomeLaptop:~$ sudo chown -R ${USER}:${USER} /opt/PlaneShift
cali@HomeLaptop:~$

« Last Edit: May 26, 2011, 05:31:56 pm by EZStreet »

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Trying to Install....Problems
« Reply #12 on: May 26, 2011, 05:30:56 pm »
${cali}:${cali} doesn't make any sense. Use this: ${USER}:${USER}. Don't change anything in that string. As I already wrote you can also use cali:cali

If you want to understand better what your are doing read a bit of this:
http://tldp.org/LDP/Bash-Beginners-Guide/html/
« Last Edit: May 26, 2011, 05:34:47 pm by Gilrond »

EZStreet

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: Trying to Install....Problems
« Reply #13 on: May 26, 2011, 05:33:48 pm »
cali@HomeLaptop:~$ sudo chown -R ${USER}:${USER} /opt/PlaneShift
[sudo] password for cali:
cali@HomeLaptop:~$


I enterd that..... then ask's for password...  enter that, then nothing happend

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Trying to Install....Problems
« Reply #14 on: May 26, 2011, 05:35:45 pm »
It means it succeeded. Check it like this:

Code: [Select]
ls -la /opt/PlaneShift
You should see that files are owned by your user. Try to proceed with the rest now.
« Last Edit: May 26, 2011, 05:37:39 pm by Gilrond »