We designed the experimental generation system of the optical GHZ-like and cluster-like quadripartite entangled states for continuous variables.We theoretically demonstrated that the two different types of quadripartite entangled states can be obtained by the linearly optical transformation of four amplitude-quadrature and phase-quadrature squeezed states produced from a pair of nondegenerate optical parametric amplifiers under appropriate phase relations.The criteria for full inseparability of quadripartite cluster-like state were deduced,and the dependency of the quadripartite entanglement on the initial squeezing degree,the transmission efficiencies of the system and the detection efficiency of homodyne detection were numerically calculated.