Pakistan were happy to return to playing cricket after the recent controversy
Tour match, Taunton: Pakistan 264 (47.3 ovs) bt Somerset 256-9 (50 ovs) by eight runs
Pakistan all-rounder Abdul Razzaq is a doubt for Sunday's Twenty20 game against England after injuring his back during their one-day win over Somerset.
Razzaq, who scored only two runs as the tourists were all out for 264, suffered the problem while warming up between innings and was unable to bowl.
Zander de Bruyn hit an unbeaten 122 for Somerset who fell eight runs short.
It was Pakistan's first game since allegations of corruption led to three players being provisionally suspended.
Test captain Salman Butt and fast bowlers Mohammad Asif and Mohammad Amir, the trio at the centre of the spot-fixing allegations, were not involved in the match and will play no further part in the tour after being provisionally suspended by the International Cricket Council.
On Thursday, team manager Yawar Saeed confirmed that Pakistan would not be replacing the three players, who are in London helping the Metropolitan Police with their enquiries, for the forthcoming Twenty20 matches against England.
However, batsman Asad Shafiq and fast bowler Mohammad Irfan have been called up as cover for the five one-day 50-over matches that follow.
The duo and are currently on tour with the Pakistan A team in Sri Lanka and are expected to arrive in England next week to boost the depleted 13-man squad.
The team's management will decide at a later stage if another replacement is needed.
In addition to the absence of Butt, Asif and Amir, Pakistan were struck by two further setbacks in the form of injuries to Umar Akmal and Razzaq.
Umar was hit through the grill of his helmet during the warm-up and suffered a facial injury but should be fit to play on Sunday in Cardiff, while Razzaq was unable to bowl after hurting his back and faces a fitness test.
A request to allow 12th man Wahab Riaz to bowl was declined by Somerset captain Peter Trego, who explained it was to protect 18-year-old Lewis Gregory, who took three wickets in an over and claimed figures of 4-49 from his 10 overs.
"My understanding of it is that the game started as a List A game and to my knowledge, you're not allowed to play 12 players in a List A game," Trego said.
"Our youngster got four wickets on debut, so I was concerned if we played 12 it would be deemed a friendly - and he would lose his four wickets."
The tour match at Taunton was the Pakistan's first since they were thrashed by an innings and 225 runs against England in the final Test at Lord's on Sunday, the day when the spot-fixing allegations appeared in a British tabloid newspaper.
One-day captain Shahid Afridi returned to lead the side on a sunny day in the south-west, and the tourists were given a warm reception by an appreciative crowd of about 4,000, which contained a small Pakistan contingent, who observed the match in quiet fashion.
Pakistan lost two wickets in the fourth over of their innings but opener Shahzaib Hasan hit two sixes in 105 and Fawad Alam also struck two maximums in an attacking 97.
In Somerset's reply, England Twenty20 batsman Craig Kieswetter made only five and was out in the fourth over as paceman Gul returned from a hamstring injury to take 3-66, and Afridi captured two wickets to increase the pressure on the batsmen.
De Bruyn kept Somerset in the hunt but when he missed a chance to hit a full toss for his second six from the penultimate ball of the match, Pakistan knew they would win.
Pakistan now face Twenty20 internationals against England at Cardiff on Sunday and Tuesday, before beginning a five-match one-day international series from 10-22 September.