Possibly from Byzantine Greek ἀγγούριον (angoúrion, “small cucumber”), related to Polish ogórek, Russian огурец (ogurec).
agurkas m