 
    
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>completely remove Archives - Complete, Concrete, Concise</title>
	<atom:link href="https://complete-concrete-concise.com/tag/completely-remove/feed/" rel="self" type="application/rss+xml" />
	<link>https://complete-concrete-concise.com/tag/completely-remove/</link>
	<description>Practical Information Without The Bloat</description>
	<lastBuildDate>Tue, 01 Nov 2011 12:18:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Ubuntu 11.10 &#8211; How to Completely Remove a Package</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-completely-remove-a-package/</link>
					<comments>https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-completely-remove-a-package/#comments</comments>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Tue, 01 Nov 2011 12:18:46 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[completely remove]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[package not removed]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[uninstall]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=1223</guid>

					<description><![CDATA[<p>This tutorial shows how to completely remove or uninstall a package in Ubuntu 11.10. These instructions should work for other versions of Ubuntu, it&#8217;s derivatives (Edubuntu, Kubuntu, Lubuntu, Xubuntu) and other Debian based Linux distributions &#8211; but no guarantee is made. This tutorial assumes you are comfortable with lower level operations in Ubuntu and know [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-completely-remove-a-package/">Ubuntu 11.10 &#8211; How to Completely Remove a Package</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>This tutorial shows how to completely remove or uninstall a package in Ubuntu 11.10. These instructions should work for other versions of Ubuntu, it&#8217;s derivatives (Edubuntu, Kubuntu, Lubuntu, Xubuntu) and other Debian based Linux distributions &#8211; but no guarantee is made.</p>
<div class="c2">
<p>This tutorial assumes you are comfortable with lower level operations in Ubuntu and know how to use <code>apt-get</code>. A brief introduction to <code>apt-get</code> can be found <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-understanding-sudo-apt-get-install">here</a>.</p>
<p><strong>NOTE:</strong> this introduction only covers the <code>install</code> aspect of <code>apt-get</code>. In this tutorial, we will see other <code>apt-get</code> commands: <code>remove</code>, <code>autoremove</code>, and <code>--auto-remove</code></div>
</div>
<div class="c4">
<h1>WARNING ! ! !</h1>
<p>There is a <u>small</u> but <u>real</u> risk of <strong><u>data loss</u></strong> or making other programs or Ubuntu <u><strong>unusable</strong></u>.</p>
<p><strong>Ensure</strong> you have a backup before proceeding</p>
</div>
<h1>The Problem</h1>
<p>A package is installed using either <u>Ubuntu Software Center</u> or <code>apt-get</code>. Later it is uninstalled, but you discover that not everything has been removed. Usually, this happens when you install and then uninstall one of the alternate Ubuntu desktops (Edubuntu, Kubuntu, Lubuntu, or Xubuntu) &#8211; the result is a mess.</p>
<p>This happens because a number of <u>Recommended</u> and <u>Extra</u> packages are installed along with the requested package. Unfortunately, many times, these <u>Recommended</u> and <strong>Extra</strong>packages are not removed during uninstallation.</p>
<h3>Example 1 &#8211; an easy to clean up install</h3>
<p>Installing the package <code>stellarium</code> causes an extra package called <code>stellarium-data</code> to be installed as well:</p>
<pre>richard@richard-VirtualBox:~$ sudo apt-get install <span class="i4">stellarium</span>
[sudo] password for richard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  <span class="i2">stellarium-data</span>
The following NEW packages will be installed:
  stellarium stellarium-data
0 upgraded, 2 newly installed, 0 to remove and 100 not upgraded.
Need to get 35.6 MB of archives.
After this operation, 48.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? </pre>
<p>Uninstalling the package <code>stellarium</code> does <u><strong>not</strong></u> uninstall the extra package.</p>
<p>When using <code>apt-get</code> to remove <code>stellarium</code> (yellow) we are informed that an extra package had been installed (red) and should be removed using <code>apt-get autoremove</code>. The only package being removed by <code>apt-get</code> is the <code>stellarium</code> package (blue):</p>
<pre>richard@richard-VirtualBox:~$ <span class="i4">sudo apt-get remove stellarium</span>
[sudo] password for richard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer
required:
  <span class="i3">stellarium-data</span>
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  <span class="i2">stellarium
</span>0 upgraded, 0 newly installed, 1 to remove and 100 not upgraded.
After this operation, 7,090 kB disk space will be freed.
Do you want to continue [Y/n]? </pre>
<p>Running the command <code>apt-get autoremove</code> removes certain types of packages. It removes packages that <u>depend</u> on other packages, but those packages no longer exist:</p>
<pre>richard@richard-VirtualBox:~$ <span class="i4">sudo apt-get autoremove</span>
[sudo] password for richard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  <span class="i2">stellarium-data</span>
0 upgraded, 0 newly installed, 1 to remove and 123 not upgraded.
After this operation, 41.1 MB disk space will be freed.
Do you want to continue [Y/n]? </pre>
<p>Those two steps of running the <code>apt-get</code> with the commands <code>remove</code> and <code>autoremove</code> can be combined into a single step. In this case, you specify the <code>remove</code> command and the <code>--auto-remove</code> flag / switch (yes, I know, it is spelled differently from the command, I have no idea why). This is how the <u>Ubuntu Software Center</u> runs the command when you use it to remove <u>Remove</u> a package:</p>
<pre>richard@richard-VirtualBox:~$ <span class="i4">sudo apt-get remove --auto-remove stellarium</span>
[sudo] password for richard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  <span class="i2">stellarium stellarium-data</span>
0 upgraded, 0 newly installed, 2 to remove and 100 not upgraded.
After this operation, 48.2 MB disk space will be freed.
Do you want to continue [Y/n]? </pre>
<h3>Example 2 &#8211; a hard to clean up install</h3>
<p>Not all recommended and extra packages that <code>apt-get</code> installs are easy to uninstall.</p>
<p>If you install one of the Ubuntu based desktops, like <code>edubuntu-desktop</code>, <code>kubuntu-desktop</code>, <code>lubuntu-desktop</code>, or <code>xubuntu-desktop</code>, you will find they install many recommended and extra packages. These extra packages might add to the experience of the installed package, but they don&#8217;t get removed when you uninstall the package. For example, installing <code>lubuntu-desktop</code> will also install the Abiword word processor, a number of games, the Chromium web browser along with many other packages.</p>
<p>Notice all the extra packages (blue) being installed along with <code>lubuntu-desktop</code> (yellow):</p>
<pre>richard@richard-VirtualBox:~$ sudo apt-get install lubuntu-desktop
[sudo] password for richard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  abiword abiword-common abiword-plugin-grammar
  abiword-plugin-mathview ace-of-penguins audacious
  audacious-plugins chromium-browser chromium-browser-l10n
  chromium-codecs-ffmpeg elementary-icon-theme
  esound-common galculator gdebi gdebi-core giblib1
  gnome-icon-theme-full gnome-mplayer gnome-time-admin
  gnumeric gnumeric-common gnumeric-doc gpicview guvcview
  hardinfo indicator-status-provider-pidgin leafpad libabiword-2.8
  libaiksaurus-1.2-0c2a libaiksaurus-1.2-data
  libaiksaurusgtk-1.2-0c2a libaudclient2 libaudcore1 libaudiofile0
  libbinio1ldbl libcddb2 libcompfaceg1 libcue1 libdiscid0 libesd0
  libexo-1-0 libexo-common libfluidsynth1 libfm-data libfm-gtk-data
  libfm-gtk1 libfm1 libgdome2-0 libgdome2-cpp-smart0c2a
  libgoffice-0.8-8 libgoffice-0.8-8-common libgringotts2
  libgsf-1-114 libgsf-1-common libgtkmathview0c2a libimlib2
  libjpeg-progs liblink-grammar4 libloudmouth1-0 libmcrypt4 libmcs1
  libmenu-cache1 libmowgli2 libmusicbrainz3-6 libobrender27 libobt0
  libonig2 libopenal1 libopts25 libots0 libpisock9
  libresid-builder0c2a libsidplay2 libsvga1 libtar0 libuniconf4.6
  libvdpau1 libwebcam0 libwv-1.2-3 libwvstreams4.6-base
  libwvstreams4.6-extras libxfce4ui-1-0 libxfce4util-bin
  libxfce4util-common libxfce4util4 libxfcegui4-4 libxfconf-0-2
  libxvidcore4 link-grammar-dictionaries-en lm-sensors
  lubuntu-artwork lubuntu-core lubuntu-default-settings
  lubuntu-icon-theme lxappearance lxappearance-obconf lxde-common
  lxde-core lxdm lxinput lxkeymap lxlauncher lxmenu-data lxpanel
  lxpanel-indicator-applet-plugin lxrandr lxsession lxsession-edit
  lxshortcut lxtask lxterminal mplayer mtpaint ntp obconf openbox
  openbox-themes osmo pcmanfm pidgin pidgin-data pidgin-libnotify
  pidgin-microblog plymouth-theme-lubuntu-logo
  plymouth-theme-lubuntu-text python-xklavier scrot sylpheed
  sylpheed-doc sylpheed-i18n sylpheed-plugins transmission ttf-lyx
  uvcdynctrl uvcdynctrl-data wvdial xfburn xfce-keyboard-shortcuts
  xfce4-power-manager xfce4-power-manager-data xfconf xfonts-100dpi
  xpad xscreensaver
Suggested packages:
  gecko-mediaplayer gnumeric-plugins-extra epiphany-browser
  docbook-xsl mesa-utils evince-gtk libmcrypt-dev mcrypt
  libmcs-backend-gconf libmcs-utils jpilot pilot-link kpilot
  gnome-pilot claws-mail nvidia-vdpau-driver vdpau-driver fancontrol
  sensord read-edid i2c-tools indicator-application-gtk2
  indicator-messages-gtk2 indicator-sound-gtk2 mplayer-doc netselect
  fping ntp-doc menu ttf-dejavu libxml2-dev gnome-panel
  kdebase-workspace-bin docker claws-mail-tools bsfilter
  xfce4-power-manager-plugins xfs xserver xfishtank xdaliclock
  fortune qcam streamer gdm3 kdm-gdmcompat
Recommended packages:
  amixer locales-all
The following NEW packages will be installed:
<span class="i2">  abiword abiword-common abiword-plugin-grammar
  abiword-plugin-mathview ace-of-penguins audacious
  audacious-plugins chromium-browser chromium-browser-l10n
  chromium-codecs-ffmpeg elementary-icon-theme esound-common
  galculator gdebi gdebi-core giblib1 gnome-icon-theme-full
  gnome-mplayer gnome-time-admin gnumeric gnumeric-common
  gnumeric-doc gpicview guvcview hardinfo
  indicator-status-provider-pidgin leafpad libabiword-2.8
  libaiksaurus-1.2-0c2a libaiksaurus-1.2-data
  libaiksaurusgtk-1.2-0c2a libaudclient2 libaudcore1 libaudiofile0
  libbinio1ldbl libcddb2 libcompfaceg1 libcue1 libdiscid0 libesd0
  libexo-1-0 libexo-common libfluidsynth1 libfm-data libfm-gtk-data
  libfm-gtk1 libfm1 libgdome2-0 libgdome2-cpp-smart0c2a
  libgoffice-0.8-8 libgoffice-0.8-8-common libgringotts2
  libgsf-1-114 libgsf-1-common libgtkmathview0c2a libimlib2
  libjpeg-progs liblink-grammar4 libloudmouth1-0 libmcrypt4 libmcs1
  libmenu-cache1 libmowgli2 libmusicbrainz3-6 libobrender27 libobt0
  libonig2 libopenal1 libopts25 libots0 libpisock9
  libresid-builder0c2a libsidplay2 libsvga1 libtar0 libuniconf4.6
  libvdpau1 libwebcam0 libwv-1.2-3 libwvstreams4.6-base
  libwvstreams4.6-extras libxfce4ui-1-0 libxfce4util-bin
  libxfce4util-common libxfce4util4 libxfcegui4-4 libxfconf-0-2
  libxvidcore4 link-grammar-dictionaries-en lm-sensors
  lubuntu-artwork lubuntu-core lubuntu-default-settings</span>
  <span class="i4">lubuntu-desktop</span> <span class="i2">lubuntu-icon-theme lxappearance
  lxappearance-obconf lxde-common lxde-core lxdm lxinput
  lxkeymap lxlauncher lxmenu-data lxpanel
  lxpanel-indicator-applet-plugin lxrandr lxsession lxsession-edit
  lxshortcut lxtask lxterminal mplayer mtpaint ntp obconf openbox
  openbox-themes osmo pcmanfm pidgin pidgin-data pidgin-libnotify
  pidgin-microblog plymouth-theme-lubuntu-logo
  plymouth-theme-lubuntu-text python-xklavier scrot sylpheed
  sylpheed-doc sylpheed-i18n sylpheed-plugins transmission ttf-lyx
  uvcdynctrl uvcdynctrl-data wvdial xfburn xfce-keyboard-shortcuts
  xfce4-power-manager xfce4-power-manager-data xfconf xfonts-100dpi
  xpad xscreensaver</span>
0 upgraded, 145 newly installed, 0 to remove and 19 not upgraded.
Need to get 86.9 MB of archives.
After this operation, 315 MB of additional disk space will be used.
Do you want to continue [Y/n]? </pre>
<p>Uninstalling <code>lubuntu-desktop</code> using <code>sudo apt-get remove lubuntu-desktop</code> <strong>only</strong> removes the <code>lubuntu-desktop</code> package (yellow) but none of the other packages that were installed installed with it:</p>
<pre>richard@richard-VirtualBox:~$ sudo apt-get remove --auto-remove lubuntu-desktop
[sudo] password for richard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  <span class="i4">lubuntu-desktop</span>
0 upgraded, 0 newly installed, 1 to remove and 123 not upgraded.
After this operation, 32.8 kB disk space will be freed.
Do you want to continue [Y/n]? </pre>
<p>This is because none of those packages depend on <code>lubuntu-desktop</code> to function. They are recommended and installed because they contribute to the overall &#8220;Lubuntu experience&#8221;. They all have to be removed separately.</p>
<div class="c3">
<h3>Next page -> &#8220;The Solution&#8221;</h3>
<p>(page navigation is just under the Related posts at the bottom of the page).</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-completely-remove-a-package/">Ubuntu 11.10 &#8211; How to Completely Remove a Package</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-completely-remove-a-package/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
