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

This widget could not be displayed.

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

This widget could not be displayed.

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
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

158 views 2 4
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