Page 1 of 1

[solved] uninstallation/removal problem

Posted: 15 Aug 2009, 00:17
by twilight
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?

Re: uninstallation/removal problem

Posted: 15 Aug 2009, 00:23
by Jaxad0127

Re: uninstallation/removal problem

Posted: 15 Aug 2009, 00:32
by twilight
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.

._.

Re: uninstallation/removal problem

Posted: 15 Aug 2009, 00:47
by Jaxad0127
Edit the startup file for the shell you use to redirect tmw to the one you compiled. You can easily redirect shortcuts.

Re: uninstallation/removal problem

Posted: 15 Aug 2009, 01:56
by twilight
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.

Re: uninstallation/removal problem

Posted: 15 Aug 2009, 02:27
by Jaxad0127
jaxad0127 wrote:Edit the startup file for the shell you use to redirect tmw to the one you compiled. You can easily redirect shortcuts.

Re: [solved] uninstallation/removal problem

Posted: 15 Aug 2009, 03:22
by twilight
I don't know what or where the startup file for the shell is.

Re: [solved] uninstallation/removal problem

Posted: 15 Aug 2009, 04:15
by Jaxad0127
I'd need to know what your using.

Re: [solved] uninstallation/removal problem

Posted: 15 Aug 2009, 04:36
by twilight
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

Re: [solved] uninstallation/removal problem

Posted: 15 Aug 2009, 09:35
by Turmfalke
ls -l /bin/sh

should give you with ubuntu something like:
lrwxrwxrwx 1 root root 4 2008-08-02 16:01 /bin/sh -> dash