You cannot compare Agile to RUP.
First, Agile is not a methodology but a set of principle documented in the Agile Manifesto
RUP is a methodology for software and system delivery when the principles are documented, but also the roles, activities, and delivery processes (Work Breakdown structure to achieve a specific goal). So while Agile is identifying the theory, RUP gives elements also at the project plan level(WBS)
Second, Agile and RUP principles
are very similar in essence. I know this statement is not popular in the Agile community, but it is so true. Take a look at Agile principles, and compare to RUP principles. It fits
* Adapt the Process
* Balance Competing Stakeholder Priorities
* Collaborate Across Teams
* Demonstrate Value Iteratively
* Elevate Level of Abstraction
* Focus Continuously On Quality
You can compare two different Agile methodologies though. Like RUP and XP for instance.
Some references can help: Comparison of XP and RUP using RUP for small projects
last, but not least, RUP is not only one methodology. It is a family of methodologies, all based on a common Core. And the most Agile element of that family is OpenUP
Other elements of the family are listed here