[solved] uninstallation/removal problem

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
twilight
Peon
Peon
Posts: 47
Joined: 29 Aug 2007, 00:35
Location: Early, Iowa, USA
Contact:

[solved] uninstallation/removal problem

Post by twilight » 15 Aug 2009, 01:17

I've a little problem.
I'm running Ubuntu 9.04 Jaunty so I had to compile 0.0.29.1 from source to get it on my machine, but now I can't uninstall it. I don't know how. I can delete the files and folders if I want, but it still tries to run The Mana World when I type "tmw" into the run prompt instead of saying the program doesn't exist (and it crashes saying it can't find the fonts in the old isntallation directory when I do that). I've tried installing 0.0.28 over top of 0.0.29.1 and then uninstalling it through Sanaptic but that doesn't solve the problem either.

I'm trying to uninstall it because I installed the latest development version from the git repository and I want it to run when I type 'tmw' instead of the 0.0.29.1 released version.

How do I uninstall it?
Or how do I make the "tmw" command point to the new installation directory?
Last edited by twilight on 15 Aug 2009, 03:20, edited 1 time in total.
Characters:
Twilight - Main
lvl 5x Hybrid Close/Range
Geshtar - Alt
lvl 3x Pure Range
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: uninstallation/removal problem

Post by Jaxad0127 » 15 Aug 2009, 01:23

Image
User avatar
twilight
Peon
Peon
Posts: 47
Joined: 29 Aug 2007, 00:35
Location: Early, Iowa, USA
Contact:

Re: uninstallation/removal problem

Post by twilight » 15 Aug 2009, 01:32

That is exactly the guide I used to install the development version from teh git repository. The commands under "running" and "easier" work for 1 instance and then it goes back to how it was before, crashing on run or running 0.0.29.1 instead of version from teh git repository.

I thought about trying to write a script or something that issued those commands each time before running tmw, or at least trying to, but I don't know the first thing about those type of scripts. I'm not even sure what language to write them in. The only languages I know are HTML and CSS, and neither of those will do. lol

I'll forget those scripts and where I saw them by this time tomarrow. Horrible memory I have. Write them down? Then I'd lose what I wrote them down on.

._.
Characters:
Twilight - Main
lvl 5x Hybrid Close/Range
Geshtar - Alt
lvl 3x Pure Range
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: uninstallation/removal problem

Post by Jaxad0127 » 15 Aug 2009, 01:47

Edit the startup file for the shell you use to redirect tmw to the one you compiled. You can easily redirect shortcuts.
Image
User avatar
twilight
Peon
Peon
Posts: 47
Joined: 29 Aug 2007, 00:35
Location: Early, Iowa, USA
Contact:

Re: uninstallation/removal problem

Post by twilight » 15 Aug 2009, 02:56

I figured it out.

cd to the origional directory I compiled and installed from and issue the "sudo make uninstall" command.
So for me it was:

Code: Select all

cd Desktop
cd tmw-0.0.29.1
sudo make uninstall
o_o

I'm feeling rather stupid right now.

But it no longer starts The Mana World when I type "tmw" into the run prompt. Now it just does nothing. =\
I reinstalled from the git repository and still nothing. "tmw" now does nothign at all when issued in run prompt.
Unless someone can tell me waht I did wrong I think I'm going to cut my losses an call it done... for now.
Making a shortcut/launcher is enough for now.
Characters:
Twilight - Main
lvl 5x Hybrid Close/Range
Geshtar - Alt
lvl 3x Pure Range
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: uninstallation/removal problem

Post by Jaxad0127 » 15 Aug 2009, 03:27

jaxad0127 wrote:Edit the startup file for the shell you use to redirect tmw to the one you compiled. You can easily redirect shortcuts.
Image
User avatar
twilight
Peon
Peon
Posts: 47
Joined: 29 Aug 2007, 00:35
Location: Early, Iowa, USA
Contact:

Re: [solved] uninstallation/removal problem

Post by twilight » 15 Aug 2009, 04:22

I don't know what or where the startup file for the shell is.
Characters:
Twilight - Main
lvl 5x Hybrid Close/Range
Geshtar - Alt
lvl 3x Pure Range
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: [solved] uninstallation/removal problem

Post by Jaxad0127 » 15 Aug 2009, 05:15

I'd need to know what your using.
Image
User avatar
twilight
Peon
Peon
Posts: 47
Joined: 29 Aug 2007, 00:35
Location: Early, Iowa, USA
Contact:

Re: [solved] uninstallation/removal problem

Post by twilight » 15 Aug 2009, 05:36

All I know is that Ubuntu has a shell. o_o I'm not sure of what it's name is.
If you can tell me how to find out I'll fetch it for you.

Or...

I've been googling for a bit now and I still havn't come up with a solid answer. Something about Gnome, bash, or possibly gksu....
Or maybe you're talking about Terminal.... If so I use the default Terminal that installs with Gnome on Ubuntu.
"GNOME Terminal 2.26.0"
Since typing "help" into Terminal pops up a lot of commands it refers to as "shell" commands, a lot of which I knew just didn't know were part of the shell, I'm going to assume you're talking about the Gnome Terminal. Correct me if I'm wrong. o_o
Characters:
Twilight - Main
lvl 5x Hybrid Close/Range
Geshtar - Alt
lvl 3x Pure Range
Turmfalke
Novice
Novice
Posts: 350
Joined: 10 Aug 2008, 19:28
Location: Maligree's Wonderful Garden

Re: [solved] uninstallation/removal problem

Post by Turmfalke » 15 Aug 2009, 10:35

ls -l /bin/sh

should give you with ubuntu something like:
lrwxrwxrwx 1 root root 4 2008-08-02 16:01 /bin/sh -> dash
I stand beside the holy man
The monarchs fear my wrath
None may move the way I can
Ever the crooked path
a knight
Post Reply