Innocently I was trying to install another program (python scrapy). And terminal said it could not find libxml2. So I had the bright idea of sudo apt get remove libxml2 so as to get the most recent version.
As the program was running programs disappeared from my screen. This is bad. So I pressed control c. What have I done? How do I fix?
In recovery mode it says libxmllibxml2 is installed but that i can remove unneeded packages with autoremove.
Can that be right that all packages are unneeded. I have no gui

I think i deleted ubuntu desktop somehow. It no longer can be found. Aptget tries to install from Internet but am not connected. No cd drive on this device.
I have linux on usb stick but i can't find desktop on there