[source,bash]
----
-apt-get update
-apt-get install proxmox-mailgateway
+apt update
+apt install proxmox-mailgateway
----
Installing on top of an existing Debian installation looks easy, but
used ensure that the container always leases the same IP, for example, by
reserving one with the containers network MAC address.
-It is also possible to install {pmg} in a regular Debian LXC or VM, just as you would
-xref:pmg_install_on_debian[on a normal Debian].
+Additionally you can also install this on top of a container based Debian
+installation. After configuring the
+xref:pmg_package_repositories[Package repositories], you need to run:
+
+[source,bash]
+----
+apt update
+apt install proxmox-mailgateway-container
+----
[[pmg_package_repositories]]
Package Repositories
management tool. The list of repositories is defined in
`/etc/apt/sources.list` and `.list` files found inside
`/etc/apt/sources.d/`. Updates can be installed directly using
-`apt-get`, or via the GUI.
+`apt`, or via the GUI.
Apt `sources.list` files list one package repository per line, with
the most preferred source listed first. Empty lines are ignored, and a
`#` character anywhere on a line marks the remainder of that line as a
comment. The information available from the configured sources is
-acquired by `apt-get update`.
+acquired by `apt update`.
.File `/etc/apt/sources.list`
----
:pmg-toplevel:
endif::manvolnum[]
-This is a small wrapper around `apt-get dist-upgrade`. We use this to
-print additional information (kernel restart required?), and
-optionally run an interactive shell after the update. It is
-invoked when starting an upgrade using the web GUI.
+This is a small wrapper around `apt full-upgrade`. We use this to print
+additional information, like when a node reboot due to a kernel update is
+required. Additionally, it can run an interactive shell after the update, this
+is used when starting an upgrade using the web GUI.
If you are already logged in on the console, it is preferable to invoke
-`apt-get` directly.
+`apt` directly.
----
-# apt-get dist-upgrade
+# apt update
+# apt full-upgrade
----
ifdef::manvolnum[]