Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed MagicDraw 17.0 SE in /opt running the sh I downloaded from the official site.

I had to re-install it because of a java issue, so I deleted the opt/MagicDraw folder and I ran the sh again.

The problem is that I have a hidden .magicdraw folder which has not been updated after the new installation, and I need it to be updated, since I messed with the files that were inside it and it's completely useless now.

So, how can I uninstall MagicDraw properly?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Since you didn't install it as a .deb through dpkg you sadly can't use

sudo apt-get purge magicdraw

You would have to find all the folders it installed and remove them manually.
The .magicdraw is most likely found in your /home/$username directory.

To find any other files or folders that could've been installed with the script I'd use

locate magicdraw 

and then delete every file it shows on there.
I'd recommend running

sudo updatedb

before using locate to make sure the information is not outdated.

share|improve this answer
    
I found .magicdraw, but I'm wondering why when I reinstall MagicDraw it doesn't update the .magicdraw folder. How is it possible? (thank you for your answer) –  Kurt Bourbaki Feb 23 '13 at 13:55
    
it depends on the way the script is written. It seems to be common practice to leave config folders in your home directory untouched even when you use ` sudo apt-get remove `. I guess they do this so when you later install the program again you still have all your settings. for example firefox profiles etc. –  Daniel Feb 23 '13 at 16:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.