# How to fully remove Yugabyted from Ubuntu?

**URL:** <https://forum.yugabyte.com/t/how-to-fully-remove-yugabyted-from-ubuntu/2686>\
**Category:** General\
**Created:** [May 31, 2024, 1:01am UTC](https://forum.yugabyte.com/t/how-to-fully-remove-yugabyted-from-ubuntu/2686 "2024-05-31T01:01:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuberman](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/stuberman/32/811_2.png) [@stuberman](https://forum.yugabyte.com/u/stuberman)\
**Post date:** [May 31, 2024, 1:01am UTC](https://forum.yugabyte.com/t/how-to-fully-remove-yugabyted-from-ubuntu/2686/1 "2024-05-31T01:01:23Z")

</div>

I am running Ubuntu 22.04 server and initially installed Yugabyte 2.21.0.1-b1-linux-x86\_64. I tried to delete the directories ~/var… and the Yugabyte program files and reinstall Yugabyte 2.20.4.0.

The problem is that I am using an application that keeps throwing this error, even after a fresh install:

> Error connecting to Yugabyte database: cannot create schema: ERROR: Table system.transactions not found: OBJECT\_NOT\_FOUND (SQLSTATE XX000)

The application I use works well on a different Ubuntu 22.04 server, but I can’t seem to get Yugabyte to work on this particular server even though the two servers are almost identical.

The status looks fine:  
yugabyted |  
±---------------------------------------------------------------------------------------------------------+  
| Status : Running. |  
| Replication Factor : 1

I would love to reset this with whatever the standard Yugabyte default are in terms of tables. Or figure out how to reinstall with a default installation.

Thank you!

---

<div class="post-metadata">

**Author:** ![dorian\_yugabyte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dorian_yugabyte/32/206_2.png) [@dorian\_yugabyte](https://forum.yugabyte.com/u/dorian_yugabyte)\
**Post date:** [May 31, 2024, 7:06am UTC](https://forum.yugabyte.com/t/how-to-fully-remove-yugabyted-from-ubuntu/2686/2 "2024-05-31T07:06:03Z")

</div>

Hi @stuberman

You can do `yugabyted destroy` and then start a new one. Does that work?

---

<div class="post-metadata">

**Author:** ![stuberman](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/stuberman/32/811_2.png) [@stuberman](https://forum.yugabyte.com/u/stuberman)\
**Post date:** [May 31, 2024, 2:07pm UTC](https://forum.yugabyte.com/t/how-to-fully-remove-yugabyted-from-ubuntu/2686/3 "2024-05-31T14:07:55Z")

</div>

Excuse my ignorance, does the local Yugabyted download include a basic schema (system.transactions)? I tried ‘destroy’ and did that remove that as well? It seems that I now get errors trying to use the UI dashboard showing no YSQL databases. Is there a command to create the basic (original) tables that a new vanilla install includes?

---

<div class="post-metadata">

**Author:** ![dorian\_yugabyte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dorian_yugabyte/32/206_2.png) [@dorian\_yugabyte](https://forum.yugabyte.com/u/dorian_yugabyte)\
**Post date:** [May 31, 2024, 2:21pm UTC](https://forum.yugabyte.com/t/how-to-fully-remove-yugabyted-from-ubuntu/2686/4 "2024-05-31T14:21:49Z")

</div>

> [@stuberman](#):
>
> Excuse my ignorance, does the local Yugabyted download include a basic schema (system.transactions)?

No. The download only includes the software, no data.

> [@stuberman](#):
>
> Is there a command to create the basic (original) tables that a new vanilla install includes?

Destroy removes all data/schemas that were previously created.

You have to do `yugabyted start` again to install a new cluster.

---

<div class="post-metadata">

**Author:** ![XIAOLI](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/xiaoli/32/851_2.png) [@XIAOLI](https://forum.yugabyte.com/u/XIAOLI)\
**Post date:** [August 20, 2024, 7:56am UTC](https://forum.yugabyte.com/t/how-to-fully-remove-yugabyted-from-ubuntu/2686/5 "2024-08-20T07:56:37Z")

</div>

but, the same problem also there

---

<div class="post-metadata">

**Author:** ![dorian\_yugabyte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dorian_yugabyte/32/206_2.png) [@dorian\_yugabyte](https://forum.yugabyte.com/u/dorian_yugabyte)\
**Post date:** [August 21, 2024, 6:54am UTC](https://forum.yugabyte.com/t/how-to-fully-remove-yugabyted-from-ubuntu/2686/6 "2024-08-21T06:54:59Z")

</div>

Please create a new thread with more details.
