Transaction Categories

How does one eliminate the default transaction categories which come by default with the software, and set one’s own categories and subcategories?

That depends on what you mean by “categories.” Start by reading the Guides under the First Steps and Structuring Accounts headings.