How to get a "free" textbook on Abstract Algebra:
http://abstract.ups.edu/index.html
The full name is "Abstract Algebra: Theory and Applications" and it is by Tom Judson
with the Sage material it is here http://abstract.ups.edu/sage-aata.html