Go to the bookmarks page and export them. Then, in the new Opera installation, import them.