# HowTo install Tryton on a VM

**URL:** <https://discuss.tryton.org/t/howto-install-tryton-on-a-vm/6115>\
**Category:** User\
**Created:** [May 3, 2023, 9:30am UTC](https://discuss.tryton.org/t/howto-install-tryton-on-a-vm/6115 "2023-05-03T09:30:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![damies13](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/edb3f5/32.png) [@damies13](https://discuss.tryton.org/u/damies13)\
**Post date:** [May 3, 2023, 10:15am UTC](https://discuss.tryton.org/t/howto-install-tryton-on-a-vm/6115/3 "2023-05-03T10:15:25Z")

</div>

Hi All,

(New users can only put 2 lines in a new post, here’s my original post)

Basically what I hope to achieve is to replicate demo. tryton. org on a local virtual machine/container (not docker), unfortunately the documentation for how to do this is not clear and I couldn’t find any how-to’s

I have a proxmox cluster, so I can use an LXC container (preferred) or a virtual machine, it shouldn’t really make a difference, but i’ve added this for reference.

So starting with [How to install Tryton — Tryton server](https://docs.tryton.org/projects/server/en/latest/topics/install.html)

> There are three options to install Tryton:
> 
> - Install the version provided by your operating system distribution. This is the quickest and recommended option for those who has operating system that distributes Tryton.
> - Install the published package. You first need to have pip installed. Then to install `trytond` run:

“Install the version provided by your operating system distribution” would have been nice if I could just do something like `apt-get install trytond trytond-webclient` but the deb packages don’t seem to install the webclient (sao?) and also seem to install Tryton version 5.x where I would prefer to start with something more recent at least in the version 6.x range but ideally \>6.6

So onto the next option “Install the published package”

Here’s what I have so far:

- Install OS (in my case I used Debian 11 that comes with Python 3.9.x)
- apt update & apt upgrade (ensure OS is up to date)
- apt-get install python3-pip (Install pip)
- apt install nodejs npm (tryton web client / sao? needs nodejs? [Setup web client with Debian 10](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125), This installs nodejs v12.22.12 and npm v7.5.2 are these OK?)
- pip install trytond (from install docs)
- pip install trytond\_sale (from install docs)

Here’s where it gets really unclear:

- what other modules are used for the demo site?
- what pip module do I install for the webclient?
- Is there anything else I’m missing?
- If I’ve understood correctly, if I don’t specify a database like Postgres Tryton will default to sqlite, is this correct? This will be fine for me for now.

Sorry if this is all clearly documented somewhere I couldn’t find it.

Dave.

---

_[View the full topic](https://discuss.tryton.org/t/howto-install-tryton-on-a-vm/6115)._
