The main concerns of this paper are the linear equations with one term and one unknown of the forms: a(xa) =r, a(xb ) = r and (ax)b =r, and the linear equations with two terms and one unknown of the forms: (ax)b +(g x)d =r and a (xb )+g (xd ) =r over the octonion field. Explicit general solutions of the equations in forms a(xa) = r, a(xb ) = r and (ax)b = r are given, and solutions of the octonionic equations form (ax)b +(g x)d = r and a (xb )+g (xd ) = r by matrix representation of octonions are derived using some particular cases. Examples of numerical equations are considered