0744689
diff --git a/Makefile b/Makefile
0744689
index 9389aa8..a6b3974 100644
0744689
--- a/Makefile
0744689
+++ b/Makefile
0744689
@@ -31,7 +31,7 @@ install:
0744689
 	$(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/usr/share/yum-cli', 1, '/usr/share/yum-cli', 1)"
0744689
 
0744689
 	mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/sbin
0744689
-	install -m 755 bin/yum.py $(DESTDIR)/usr/bin/yum
0744689
+	install -m 755 bin/yum.py $(DESTDIR)/usr/bin/yum-deprecated
0744689
 	install -m 755 bin/yum-updatesd.py $(DESTDIR)/usr/sbin/yum-updatesd
0744689
 
0744689
 	mkdir -p $(DESTDIR)/var/cache/yum
0744689
diff --git a/bin/yum.py b/bin/yum.py
0744689
index 7ccee31..01627f4 100755
0744689
--- a/bin/yum.py
0744689
+++ b/bin/yum.py
0744689
@@ -1,5 +1,11 @@
0744689
 #!/usr/bin/python
0744689
 import sys
0744689
+
0744689
+sys.stderr.write("""\
0744689
+Yum command has been deprecated, use dnf instead.
0744689
+See 'man dnf' and 'man yum2dnf' for more information.\n
0744689
+""")
0744689
+
0744689
 try:
0744689
     import yum
0744689
 except ImportError:
04e63d0
diff --git a/docs/Makefile b/docs/Makefile
04e63d0
index 8cc7f9f..318ce1b 100644
04e63d0
--- a/docs/Makefile
04e63d0
+++ b/docs/Makefile
04e63d0
@@ -8,7 +8,7 @@ clean:
04e63d0
 install:
04e63d0
 	mkdir -p $(DESTDIR)/usr/share/man/man5
04e63d0
 	mkdir -p $(DESTDIR)/usr/share/man/man8
04e63d0
-	install -m 644 yum.8 $(DESTDIR)/usr/share/man/man8/yum.8
04e63d0
+	install -m 644 yum.8 $(DESTDIR)/usr/share/man/man8/yum-deprecated.8
04e63d0
 	install -m 644 yum-shell.8 $(DESTDIR)/usr/share/man/man8/yum-shell.8
04e63d0
 	install -m 644 yum.conf.5 $(DESTDIR)/usr/share/man/man5/yum.conf.5
04e63d0
 	install -m 644 yum-updatesd.8 $(DESTDIR)/usr/share/man/man8/yum-updatesd.8