LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-13-2010, 02:42 AM   #1
KillerZen
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Rep: Reputation: 0
Exclamation Uninstalling Via Terminal


So, I just got Ubuntu 10 (lucid lynx) and i have been getting the hang of it. generally tutorials are enough for me, and i learn pretty quick. but not this time. idk what i did, but i chose planeshift for my first non application download. downloaded it, opened the terminal, installed it via cd ~/Desktop and it all went good.
then it was installed. i went to try it out, and BLAM! it says im not the owner and dont have the proper permissions to play or uninstall. and as such, i cant even change the permissions. how can i uninstall it via terminal or fix the permissions via terminal?
 
Old 06-13-2010, 02:51 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Welcome to LQ.

How did you install (what were the steps)?
The terminal command to alter permissions is called "chmod", you can see what they are with the -l option under the ls command: ls -l gives full details of all the files in the current directory.


sudo chmod -R 777 <target>
will give everyone on your system read/write/execute permissions to all the files in the <target> directory tree.
 
Old 06-13-2010, 02:55 AM   #3
KillerZen
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
the steps were cd ~/Desktop
sudo su
./PlaneShift.bin
 
Old 06-13-2010, 02:57 AM   #4
KillerZen
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
And thank you for the welcome =]
 
Old 06-13-2010, 02:59 AM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Note: for the uninitiated,

Planeshift is an MMORPG with a free-software gnu/linux client.
It is normally installed by downloading the client binary installer to a directory in your home folder and:

./PlaneShift_CBV0.version.bin

[edit]ah - yours was called "Planeshift.bin[/edit]

When you do this it installs with your permissions. If you did sudo su - first, it will install with root permissions.

you may prefer to just change the owner instead - that command is "chown". See how to use it with "man chown"

You uninstall it by deleting the resulting directories, as it will only install to your home directory.

The devs note that sound does not work correctly with pulseaudio systems.

Last edited by Simon Bridge; 06-13-2010 at 07:53 AM.
 
Old 06-13-2010, 03:03 AM   #6
KillerZen
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
thank you good sir =]
 
Old 06-13-2010, 03:09 AM   #7
KillerZen
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
i could not find anything... could you give me the steps by chance?
 
Old 06-13-2010, 07:51 AM   #8
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
What did you try to find?
How did you try to find it?
What did you expect to happen?
What happened?

I don't believe I gave you any advise about a search.
 
Old 06-13-2010, 11:11 AM   #9
KillerZen
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
well, i looked for man chow, for lack of the knowledge than man was a terminal command for manual, but once i saw that, i figured it out.
 
Old 06-14-2010, 05:20 AM   #10
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
OK - quick primer:

man <command> tells you about the command, as you figured out.

apropos <subject> gives you a list of manuals that have something to do with the subject, with a brief description of what that is.

man man - is the manual about reading the manuals.
man apropos - etc.

info is like man but is sometimes more comprehensive.

commands to change file metadata all start ch for change, followed by three letters for what you change.

chmod - change mode (mode = unix permissions - this is an excellent example of how the shell has became so much more intuitive over the years ... not)

chown - change owner
chgrp - change group

You can mess stuff up with these if your game client has its own user and group.
It may be easier to reinstall as a user - that way the installer handles the permissions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
not screen-blanking in terminal - what sets the idle timeout on monitor for terminal stardotstar Linux - Hardware 2 08-14-2011 05:46 AM
Ubuntu 8.04 Terminal - Can you make the terminal window transparent with a wallpaper? bparkerson04 Linux - Newbie 6 02-17-2009 05:12 PM
Opening VLC with the terminal line so the terminal will go back to normal baldurpet Linux - Newbie 3 01-14-2009 09:57 AM
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 02:45 PM


All times are GMT -5. The time now is 07:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration