The direct boundary integral equation of two-dimensional Laplace equation for Dirichlet problem is(con-sidered).It is deduced by Green's formula and the fundamental solution.The most-used numerical method for solving(direct) boundary integral equation is collocation method,and seldom have been used the Galerkin scheme in this case.The direct boundary integral eqution is changed into the variational eqution.Using linear element,it is solved by Galerkin boundary method.In the variational eqution double integrations shall be carried out.The paper presents the analytical formula to calculate the inner integration and the Gaussian quadrature is used for the outer integration. The numerical experimentation proved thefaesibility and the efficiency.