Inkscape
You asked: How to rotate rectangle in inkscape?
If you hold down the Alt key while you press the open square bracket ([) or close square bracket (]) key, Inkscape rotates the object one degree. You can also use the menu, the Tools Control bar, or the Transform dialog box to rotate.