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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

913 views 23 12
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