how to uninstall confluence in ubuntu

first i try to delete the installation directory but i cann't delete it,then

i use the command

sudo uninstall

i get

sudo:uninstall:command not found

what's wrong and how can i uninstall it

2 answers

1 accepted

2 votes
Answer accepted

Um, there is no "uninstall" program in Linux and removing a program is generally done with a package manager. But it depends on how you installed it.

I'm assuming you've installed "standalone" Confluence, which is a matter of

  1. Stop the processes
  2. Drop the database (if you have not used the built-in hsql one, which is the default)
  3. Delete the data directory (confluence home)
  4. Delete the installation directory

If you're struggling to delete the installation directory, then you need to investigate that - read the error message it gives you and fix that problem first.

hi, Nic i've stoped the processes and drop the database in MySQL,I forgot where the data directory is , besides when i delete the installation directory there is not error message it just no response ,and the atlassian folder icon has a lock on it

Assuming you're using Nautilus as your file manager here, you'll find the lock means "you don't have permission to do this". I'd guess you've installed confluence under a different user id - you'll need to swap to that user or change permissions on the folder using a process with root access.

Forgetting where your data directory, we can't help you with - you'll need to find it (look in your home folder, or that of the user you installed it as, to begin with). If confluence was running, you could just look in system info, but if you've dropped the database, I don't think it'll start up.

yeah finaly I used the

sudo rm -r confluence

command to delete it ,and thanks for your answers

If you installed confluence as a service then you need to remove the start script as well

sudo su

rm /etc/init.d/confluence

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,506 views 4 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you