I downloaded the latest (plant-1.2023.6.jar) to ubuntu jammy (22.04), ran it on the following which I copied from this example from the deployment diagram page. It gave a "Syntax Error?" at the line "port p1"
@startuml
[c]
node node {
port p1
port p2
port p3
file f1
}
c --> p1
c --> p2
c --> p3
p1 --> f1
p2 --> f1
@enduml