Eu encontrei a minha própria solução para isso, e estou me chutando porque deveria ter sido óbvio o tempo todo.
Instale seu programa a partir do terminal e simplesmente copie / cole a lista de dependências que ele sugere em um arquivo de texto. Eles já estão no formato perfeito para reentrar / colar no terminal em uma data posterior (se você quiser removê-los).
Por exemplo:
sudo apt-get install unity
me apresenta:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
lib32stdc++6 libdmx1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
account-plugin-flickr appmenu-gtk appmenu-gtk3 appmenu-qt bamfdaemon compiz
compiz-gnome geoclue geoclue-ubuntu-geoip gir1.2-accounts-1.0
gir1.2-gdata-0.0 gir1.2-goa-1.0 gir1.2-signon-1.0 gir1.2-ubuntuoneui-3.0
indicator-appmenu indicator-datetime indicator-printers libbamf3-0
libdbusmenu-qt2 libglewmx1.8 libgnome-menu2 libnux-3.0-0 libnux-3.0-common
libpackagekit-glib2-14 libsyncdaemon-1.0-1 libtimezonemap1
libubuntuoneui-3.0-1 libunity-core-6.0-5 libunity-misc4 libunity-webapps0
nux-tools python3-crypto python3-httplib2 python3-oauthlib
rhythmbox-ubuntuone unity-asset-pool unity-common unity-lens-applications
unity-lens-files unity-lens-music unity-lens-photos unity-lens-shopping
unity-lens-video unity-scope-gdocs unity-scope-musicstores
unity-scope-video-remote unity-services unity-webapps-service
Suggested packages:
python3-crypto-dbg python-crypto-doc
The following NEW packages will be installed
account-plugin-flickr appmenu-gtk appmenu-gtk3 appmenu-qt bamfdaemon compiz
compiz-gnome geoclue geoclue-ubuntu-geoip gir1.2-accounts-1.0
gir1.2-gdata-0.0 gir1.2-goa-1.0 gir1.2-signon-1.0 gir1.2-ubuntuoneui-3.0
indicator-appmenu indicator-datetime indicator-printers libbamf3-0
libdbusmenu-qt2 libglewmx1.8 libgnome-menu2 libnux-3.0-0 libnux-3.0-common
libpackagekit-glib2-14 libsyncdaemon-1.0-1 libtimezonemap1
libubuntuoneui-3.0-1 libunity-core-6.0-5 libunity-misc4 libunity-webapps0
nux-tools python3-crypto python3-httplib2 python3-oauthlib
rhythmbox-ubuntuone unity unity-asset-pool unity-common
unity-lens-applications unity-lens-files unity-lens-music unity-lens-photos
unity-lens-shopping unity-lens-video unity-scope-gdocs
unity-scope-musicstores unity-scope-video-remote unity-services
unity-webapps-service
0 upgraded, 49 newly installed, 0 to remove and 6 not upgraded.
Need to get 6,194 kB of archives.
After this operation, 23.8 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Eu simplesmente copio e colo a lista abaixo de The following NEW packages will be installed
em um arquivo de texto. Então eu apenas substituo a 'nova linha' por um espaço e tudo está pronto para colar de volta em sudo apt-get remove
quando eu precisar.
Então, para remover o Unity (para mim), o comando é:
sudo apt-get remove account-plugin-flickr appmenu-gtk appmenu-gtk3 appmenu-qt bamfdaemon compiz compiz-gnome geoclue geoclue-ubuntu-geoip gir1.2-accounts-1.0 gir1.2-gdata-0.0 gir1.2-goa-1.0 gir1.2-signon-1.0 gir1.2-ubuntuoneui-3.0 indicator-appmenu indicator-datetime indicator-printers libbamf3-0 libdbusmenu-qt2 libglewmx1.8 libgnome-menu2 libnux-3.0-0 libnux-3.0-common libpackagekit-glib2-14 libsyncdaemon-1.0-1 libtimezonemap1 libubuntuoneui-3.0-1 libunity-core-6.0-5 libunity-misc4 libunity-webapps0 nux-tools python3-crypto python3-httplib2 python3-oauthlib rhythmbox-ubuntuone unity unity-asset-pool unity-common unity-lens-applications unity-lens-files unity-lens-music unity-lens-photos unity-lens-shopping unity-lens-video unity-scope-gdocs unity-scope-musicstores unity-scope-video-remote unity-services unity-webapps-service
Fácil! E funciona para qualquer programa.