(Reuters) - Dell Inc will buy IT management company Quest Software Inc for $2.4 billion to expand its software business and decrease its dependence on the declining personal computer market.