# Upgrading to the latest version

**URL:** https://discuss.tryton.org/t/upgrading-to-the-latest-version/2762
**Category:** User
**Created:** [May 24, 2020, 3:36pm UTC](https://discuss.tryton.org/t/upgrading-to-the-latest-version/2762 "2020-05-24T15:36:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![johnf](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/848f3c/32.png) [@johnf](https://discuss.tryton.org/u/johnf)
#### Post date: [May 24, 2020, 3:36pm UTC](https://discuss.tryton.org/t/upgrading-to-the-latest-version/2762/1 "2020-05-24T15:36:16Z")

</div>

I installed Tryton using the install package (rpm) from my distro’s package manager (Yast - opensuse). The package installed 4.6 and I would like to upgrade to 5.6. Is there an how-to or something that provides a step by step?

Johnf

---

<div class="post-metadata">

### Author: ![German](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/german/32/143_2.png) [@German](https://discuss.tryton.org/u/German)
#### Post date: [May 24, 2020, 7:56pm UTC](https://discuss.tryton.org/t/upgrading-to-the-latest-version/2762/2 "2020-05-24T19:56:07Z")

</div>

Tryton is a python software, you should better install it using pip3 . You can define which version want using pip3 install trytond==5.6.0

---

<div class="post-metadata">

### Author: ![johnf](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/848f3c/32.png) [@johnf](https://discuss.tryton.org/u/johnf)
#### Post date: [May 24, 2020, 8:13pm UTC](https://discuss.tryton.org/t/upgrading-to-the-latest-version/2762/3 "2020-05-24T20:13:32Z")

</div>

Thanks but I was hoping that someone would provide the steps after the pip3 install. Also that command deals with the demon trytond (the server?) but what about the client? I am a newbie and maybe I don’t realize that I don’t know what I’m talking about.  
Johnf

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [May 25, 2020, 6:55am UTC](https://discuss.tryton.org/t/upgrading-to-the-latest-version/2762/4 "2020-05-25T06:55:02Z")

</div>

> [@johnf](#):
>
> Thanks but I was hoping that someone would provide the steps after the pip3 install.

Once you’ve installed the new version, you just need to run the following command to perform the upgrade:

```sh
trytond-admin -c trytond.conf -d <database> --all 

```

Please replace trytond.conf to the route where you have the configuration file and database with the name of the database you want to upgrade.

Note that the migration to a new version may require some manual operations. There are all explained on the [migration category](https://discuss.tryton.org/c/migration) of this forum. If you are performing a migration from multiple versions, you should check all the posts of the version involved.

> [@johnf](#):
>
> Also that command deals with the demon trytond (the server?) but what about the client?

You should also upgrade your clients to match your server version. If you are runing 5.6 series on the server, you should run a 5.6 client to connect to it. Otherwise the client will refuse to connect.

---

<div class="post-metadata">

### Author: ![nicoe](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/nicoe/32/2880_2.png) [@nicoe](https://discuss.tryton.org/u/nicoe)
#### Post date: [May 25, 2020, 9:47am UTC](https://discuss.tryton.org/t/upgrading-to-the-latest-version/2762/5 "2020-05-25T09:47:06Z")

</div>

> [@johnf](#):
>
> The package installed 4.6 and I would like to upgrade to 5.6. Is there an how-to or something that provides a step by step?

I think that a good tip (no related to opensuse or tryton) when managing a package from a distribution is not to mix a package from the distribution with a manual installation / upgrade. You should go one way or the other because mixing them might result in strange behaviours.

And by the way the opensuse maintainer is on this forum as @coogor he might drop by to help you.

---

<div class="post-metadata">

### Author: ![coogor](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/coogor/32/47_2.png) [@coogor](https://discuss.tryton.org/u/coogor)
#### Post date: [May 25, 2020, 10:09am UTC](https://discuss.tryton.org/t/upgrading-to-the-latest-version/2762/6 "2020-05-25T10:09:02Z")

</div>

> [@nicoe](#):
>
> > [@johnf](#):
> >
> > The package installed 4.6 and I would like to upgrade to 5.6. Is there an how-to or something that provides a step by step?
> 
> I think that a good tip (no related to opensuse or tryton) when managing a package from a distribution is not to mix a package from the distribution with a manual installation / upgrade. You should go one way or the other because mixing them might result in strange behaviours.

You are absolutely right - mixing package and vanilla installation is not recommended

> [@](#):
>
> And by the way the opensuse maintainer is on this forum as @coogor he might drop by to help you.

Currently there is no plan to package Tryton 5.6 for openSUSE, unless someone steps up with a funding. Sorry
