Back to the terminal after Installing Gedit and Terminal on Ubuntu server
Solution 1:
Gedit and terminal emulators are programs that run in a graphical environmement. Therefore, installing one of these on a command line system will pull in an entire graphical environment as well, and configure that to auto load.
Of course, you can configure the system to again boot to the terminal. You will, however, need to load the graphical environment each time when you want to use Gedit or the graphical terminal emulator you installed.
To remove every package you installed while installing Gedit and Gnome Terminal is more difficult if you did not take note of all packages that were installed because key packages also will be marked as 'manually installed'.