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

1 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,367 views 25 10
Join discussion

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