The object of investigation in this paper is a scalar linear fractional differential equation with generalized proportional derivative of Riemann–Liouville type (LFDEGD). The main goal is the obtaining an explicit solution of the initial value problem of the studied equation. Note that the locally solvability, being the same as the existence of solutions to the initial value problem, is connected with the symmetry of a transformation of a system of differential equations. At the same time, several criteria for existence of the initial value problem for nonlinear fractional differential equations with generalized proportional derivative are connected with the linear ones. It leads to the necessity of obtaining an explicit solution of LFDEGD. In this paper two cases are studied: the case of no impulses in the differential equation are presented and the case when instantaneous impulses at initially given points are involved. All obtained formulas are based on the application of Mittag–Leffler function with two parameters. In the case of impulses, initially the appropriate impulsive conditions are set up and later the explicit solutions are obtained.