It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

3 votes
Answer accepted
Nic Brough Community Leader Nov 19, 2011

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

Nic Brough Community Leader Nov 19, 2011

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

I did not but have a picture captcha that will not let me win. please help me.

Nic Brough Community Leader Jul 31, 2019

You don't get a captcha when using a command line to issue a simple remove command on a file.  I think you need to explain what you're actually trying to do.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

627 views 4 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you