DerfK's answer suggests pdftk
, which is a good fit but isn't provided in Fedora since at least Fedora 21.
pdf-stapler
An alternative (actually listed in Fedora 23 when searching for a pdftk
package) is pdf-stapler
:
pdf-stapler cat input.pdf 1D output.pdf
will rotate by 180° (D
) the first page (1
) of input.pdf into output.pdf. See pdf-stapler -h
.
pdfjam
I just noticed tab completion suggested me pdf180
(along with pdf90
and pdf270
). This is a wrapper for pdfjam --suffix rotated180 --angle 180 --fitpaper true input.pdf
, which you can use as simply as
pdf180 input.pdf -o output.pdf
(-o output
being optional, if not provided pdf180
will output to $PWD/input-rotated180.pdf
).
Other alternatives
Answers to this question on ask.fedora.org, in addition to explaining why pdftk
isn't available for Fedora since (at least) Fedora 21, are worth checking since they list several other alternatives, which presumably are able to rotate PDFs.