UnInstall

sudo apt-get install aptitude deborphan localepurge
dpkg-query -W -f='${Package}\n' | sudo tee -a /etc/local/packages.txt
deborphan | sudo tee -a /etc/local/removed.txt
sudo aptitude remove $(sort /etc/local/packages-rm.txt | uniq)
sudo apt-get autoremove
sudo aptitude remove ~poptional
sudo aptitude remove ` apt-cache search lib dev | cut -d' ' -f 1 | grep -e '^lib.*-dev$'  `
sudo dpkg -l '*lib*dev*'  | awk '/^ii/ { print $2 }' | grep -e '^lib.*-dev$'  | xargs echo sudo aptitude remove 
sudo dpkg -l '*kde*' | awk '/^ii/ { print $2 }' | xargs echo sudo aptitude remove 
sudo dpkg -l '*gnome*' | awk '/^ii/ { print $2 }' | xargs echo sudo aptitude remove 
sudo aptitude purge `dpkg --get-selections | grep ":i386" | awk '{print $1}'`

# dpkg -S /usr/lib/i386-linux-gnu/libX11.so.6.3.0 # libx11-6
sudo aptitude remove libx11-6
sudo aptitude remove ` apt-cache search emacs | cut -d' ' -f 1 `
sudo aptitude remove libqtcore4 libqt4-core
sudo aptitude remove $(deborphan ) \
  kdegames kdegames-card-data kstars kstars-data kalzium  \
  psi kcc kmail  kopete lapack3  \
  xemacs21 xemacs21-mulesupport bug-buddy
# [[Ubuntu]] dapper / [[Debian]]
sudo aptitude remove \
  gnumeric-common kalzium-data evolution-common \
  gnome doc-linux-text manpages-fr \
# [[Debian]]
sudo aptitude remove openoffice.org-common openoffice.org-*

java

sudo aptitude remove \
 java-common java-package \
 free-java-sdk gcj libgcj-dev kaffe gcjwebplugin java-gcj-compat-dev \
 classpath fastjar tomcat4 jikes sablevm japitools \
 j2sdk1.4 j2re1.4 \
 sun-java5-jre sun-java5-plugin sun-java5-fonts \
 tuxguitar eclipse \
 sun-java6-jre tuxguitar-alsa tuxguitar-jsa tuxguitar-oss 

no sound

sudo aptitude remove $(deborphan) libjack0 libasound2 pulseaudio libesd0

no network

sudo aptitude remove $(deborphan) zeroconf rdesktop evolution

no fun

sudo aptitude remove kdegames-card-data kde-wallpapers-default amarok gwibber

no hardware

sudo aptitude install rt2400-source rt2500-source rt2570-source rtai-source \
  xserver-xorg-input-wacom xserver-xorg-video-geode xserver-xorg-video-mga xserver-xorg-video-tdfx

[[Ubuntu]]

sudo aptitude remove \
  evolution evolution-exchange evolution-plugins evolution-webcal \
  xscreensaver-gl rss-glx evms app-install-data-commercial 

Lang

sudo aptitude remove \
 ttf-arabeyes ttf-arphic-ukai ttf-arphic-uming ttf-baekmuk ttf-bengali-fonts \
 ttf-devanagari-fonts ttf-gentium ttf-gujarati-fonts ttf-indic-fonts \
 ttf-kannada-fonts  ttf-kochi-gothic ttf-kochi-mincho ttf-lao \
 ttf-malayalam-fonts ttf-oriya-fonts ttf-punjabi-fonts ttf-tamil-fonts \
 ttf-telugu-fonts ttf-thai-tlwg \
 xfonts-intl-japanese xfonts-intl-japanese-big \
 language-pack-kde-a* \
 language-pack-kde-b* \
 language-pack-kde-c* \
 language-pack-kde-d* \
 language-pack-kde-g*    language-pack-kde-h*    language-pack-kde-i*    language-pack-kde-j*  \
 language-pack-kde-k*    language-pack-kde-l*    language-pack-kde-m*   language-pack-kde-n* \
 language-pack-kde-o*   language-pack-kde-p*    language-pack-kde-q*    language-pack-kde-r* \
 language-pack-kde-s*    language-pack-kde-t*    language-pack-kde-u*    language-pack-kde-v* \
 language-pack-kde-w*    language-pack-kde-x*    language-pack-kde-y*    language-pack-kde-z*

MISC

sudo apt-get autoremove

MORE

uninstall.txt · Last modified: 2017/06/19 02:24 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki