 
    
<?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>ubuntu Archives - Complete, Concrete, Concise</title>
	<atom:link href="https://complete-concrete-concise.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://complete-concrete-concise.com/tag/ubuntu/</link>
	<description>Practical Information Without The Bloat</description>
	<lastBuildDate>Sat, 09 Mar 2019 21:58:33 +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>5 Minute Vim Tutorial</title>
		<link>https://complete-concrete-concise.com/blog/5-minute-vim-tutorial/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Wed, 26 Oct 2016 18:11:54 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[Web Tools]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[understanding]]></category>
		<category><![CDATA[vim]]></category>
		<guid isPermaLink="false">http://www.complete-concrete-concise.com/?p=3186</guid>

					<description><![CDATA[<p>This tutorial won't turn you into a Vim wizard, but at least you will be able to open, navigate, edit, and save files using Vim.</p>
<p>The post <a href="https://complete-concrete-concise.com/blog/5-minute-vim-tutorial/">5 Minute Vim Tutorial</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="preamble">
Vim works differently from other editors you are used to, but it only takes about 5 minutes to learn the basics you need to edit with Vim. You won’t be a Vim wizard, but you will be able to:</p>
<ul>
<li>Open a file</li>
<li>Move around in a file</li>
<li>Edit text in a file</li>
<li>Save a File</li>
</ul>
<p>The slightly longer <a href="#Extended">Extended 5 Minute Tutorial</a> you will show you how to <strong>search</strong> in a file, get <strong>help</strong>, and <strong>access</strong> Vim’s own built-in tutorial.
</div>
<h2 id="contents">Contents</h2>
<ol type="1">
<li><a href="#Vim-in-5">Vim in 5 Minutes (or less)</a></li>
<li><a href="#Extended">The Extended 5+ Minute Tutorial</a>
<ol type="1">
<li><a href="#Normal">Normal Mode</a></li>
<li><a href="#Opening">Opening a File</a></li>
<li><a href="#Saving">Saving a File</a></li>
<li><a href="#Exiting">Exiting Vim</a></li>
<li><a href="#Navigating">Navigating a File</a></li>
<li><a href="#Inserting">Inserting and Deleting Text</a></li>
<li><a href="#Searching">Searching</a></li>
<li><a href="#Help">Getting Help</a></li>
</ol>
</li>
<li><a href="#Final">Final Words</a></li>
</ol>
<h2 id="Vim-in-5">Vim in 5 Minutes (or less)</h2>
<ul>
<li>Vim operates in <span class="mark">Modes</span>. Vim always starts in <span class="mark">Normal Mode</span>.</li>
<li><span class="mark">Normal Mode</span> is your base mode and you should always return to it.</li>
<li>All command / control keys are <strong>case sensitive</strong>.</li>
<li>If you are not in <span class="mark">Normal Mode</span>, you (usually) get back to <span class="mark">Normal Mode</span> by pressing the <span class="kbd">Escape</span> key twice.</li>
<li>If you see <span class="mark">recording</span> in the lower left corner of the screen, press the <span class="kbd">q</span> key to return to <span class="mark">Normal Mode</span>.</li>
<li>If you’ve messed stuff up, return to <span class="mark">Normal Mode</span> and type <span class="kbd">:q!</span> followed by the <span class="kbd">Enter</span> key to exit Vim <strong>without</strong> saving the file.</li>
<li>In <span class="mark">Normal Mode</span> you can navigate the file using the <span class="kbd">h</span>, <span class="kbd">j</span>, <span class="kbd">k</span>, <span class="kbd">l</span> keys (left, down, up, right). You might also be able to use the arrow keys on the keyboard<a id="fnref1" class="footnote-ref" href="#fn1"><sup>1</sup></a>.</li>
<li>When you have navigated to where you want to edit the file (inserting or deleting text), press the <span class="kbd">i</span> key to enter <span class="mark">Insert Mode</span>.</li>
<li>In <span class="mark">Insert Mode</span> you can <strong>only</strong> enter or delete text from the current cursor position &#8211; you <strong>cannot</strong> navigate. To navigate, press the <span class="kbd">Escape</span> key to return to <span class="mark">Normal Mode</span>.</li>
<li>To save (write) the file, return to <span class="mark">Normal Mode</span> and type <span class="kbd">:w</span> followed by the <span class="kbd">Enter</span> key.</li>
<li>To exit (quit) Vim, return to <span class="mark">Normal Mode</span> and type <span class="kbd">:q</span> followed by the <span class="kbd">Enter</span> key.</li>
</ul>
<h2 id="Extended">The Extended 5 Minute Tutorial</h2>
<p>This adds <span class="mark">searching</span> and <span class="mark">help</span> to the 5 Minute Tutorial, but, otherwise, keeps the information to the bare minimum so you can quickly be functional in Vim instead of frustrated.<br />
All command / control keys are <strong>case sensitive</strong>: <span class="kbd">h</span> is not the same as <span class="kbd">H</span>!</p>
<h3 id="Normal">Normal Mode</h3>
<p><span class="mark">Normal Mode</span> is the default mode and it should be the mode you always go back to.<br />
Most times, you press the <span class="kbd">Escape</span> key once or twice<a id="fnref2" class="footnote-ref" href="#fn2"><sup>2</sup></a> to return to <span class="mark">Normal Mode</span>.<br />
If you see <span class="mark">recording</span> in the lower left corner of the screen, press the lowercase <span class="kbd">q</span> key to return to <span class="mark">Normal Mode</span>.</p>
<h3 id="Opening">Opening a File</h3>
<p>The simplest way to open a file is to type <span class="kbd">vim</span> at the command line followed by the name of the file:</p>
<div id="cb1" class="sourceCode">
<pre class="sourceCode bash"><code><a id="cb1-1" class="sourceLine" data-line-number="1"></a><span class="ex">user@COMPUTER</span>:~$ vim file.txt</code></pre>
</div>
<p>If it is a <strong>new</strong> file you should see something like this:</p>
<pre class="vim"><code>
~
~
~
~
~
"file.txt" [New File]                       0,0-1          All</code></pre>
<p>If it is an <strong>existing</strong> file, you should see something like <span class="note" data-note="The actual contents will depend on the file you opened.">this</span>:</p>
<pre class="vim"><code>&lt;!doctype html&gt;
&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;Basic HTML5 Template&lt;/title&gt;
    &lt;link rel="stylesheet" href="style.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;!-- page content goes here --&gt;
    &lt;p&gt;This is some dummy content that is not lorem ipsum.&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;
~
~
~
"basic.html" 12L, 290C                      1,1           All</code></pre>
<p>The status line<a id="fnref3" class="footnote-ref" href="#fn3"><sup>3</sup></a> (at the bottom of the screen) displays the following information:</p>
<ul>
<li>file name</li>
<li>total number of lines in the file</li>
<li>total number of characters in the file</li>
<li>current line the cursor is on</li>
<li>current column the cursor is in</li>
<li>percentage showing the position in the file (if <span class="mark">All</span> : the entire file is visible, <span class="mark">Bot</span> : at the bottom (end) of the file, <span class="mark">Top</span> : at the top of the file)</li>
</ul>
<p>In <span class="mark">Normal Mode</span> load a file by typing <span class="kbd">:edit</span> followed by the filename and then pressing the <span class="kbd">Enter</span> key.:</p>
<pre class="vim"><code>:edit basic.html</code></pre>
<p>This discards the current file (if any) and loads the specified file.<br />
If the file to be discarded has been modified, but not saved, you will see the following warning in the status line:</p>
<pre class="vim"><code>E37: No write since last change (add ! to override)</code></pre>
<p>If you don’t care about saving the file, simply append <span class="kbd">!</span> to the <span class="kbd">:edit</span> command:</p>
<pre class="vim"><code>:edit! basic.html</code></pre>
<p>The <span class="kbd">!</span> tells Vim to “just do it!” and ignore any warnings.</p>
<h3 id="Saving">Saving a File</h3>
<p>You need to be in <span class="mark">Normal Mode</span> to save a file.<br />
Save a file by typing <span class="kbd">:w</span> followed by the <span class="kbd">Enter</span> key.<br />
If you want to save the file with a different name, type <span class="kbd">:w</span> followed by the new file name and then press the <span class="kbd">Enter</span> key:</p>
<pre class="vim"><code>:w new-filename.txt</code></pre>
<h3 id="Exiting">Exiting Vim</h3>
<p>You need to be in <span class="mark">Normal Mode</span> to exit Vim.<br />
Type <span class="kbd">:q</span> followed by the <span class="kbd">Enter</span> key to exit Vim.<br />
If Vim warns you that the file has been modified, you can choose to <a href="#Saving">save it</a> or you can force Vim to exit without saving the file by typing <span class="kbd">:q!</span> followed by the <span class="kbd">Enter</span> key. The <span class="kbd">!</span> tells Vim to “just do it” and exit without saving the file.</p>
<h3 id="navigating-a-file-navigating">Navigating a File {Navigating}</h3>
<p>You need to be in <span class="mark">Normal Mode</span> to navigate a file.<br />
The letters <span class="kbd">h</span>, <span class="kbd">j</span>, <span class="kbd">k</span>, <span class="kbd">l</span> navigate the cursor through the file. (You may also be able to use the arrow keys present on most keyboards.)<br />
They act like arrow keys and are conceptually laid out like this:</p>
<table style="font-size: 2em; text-align: centered; font-family: inconsolata,monospace; border-collapse: collapse;">
<tbody>
<tr>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">h<br />
←</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">j<br />
↓</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">k<br />
↑</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">l<br />
→</td>
</tr>
</tbody>
</table>
<p>When you navigate left (<span class="kbd">h</span>) to the beginning of a line, the cursor will stop. It will <strong>not</strong> wrap around and up to the previous line.<br />
When you navigate right (<span class="kbd">l</span>) to the end of a line, the cursor will stop. It will <strong>not</strong> wrap around and down to the next line.<br />
If you type a <strong>positive</strong> integer (which will not be displayed), followed by one of the navigation keys, the cursor will move that many characters / lines.<br />
For example, in <span class="mark">Normal Mode</span>, if you type <span class="kbd">10j</span>, the cursor will move down 10 lines.</p>
<h3 id="Inserting">Inserting and Deleting Text</h3>
<p>In <span class="mark">Insert Mode</span> the only thing you can do is insert or delete text. (You <strong>may</strong> be able to use the arrow keys on your keyboard to navigate the text while in this mode, but there is no guarantee, navigating is supposed to be done in <span class="mark">Normal Mode</span>)<br />
Enter <span class="mark">Insert Mode</span> by pressing the <span class="kbd">i</span>, <span class="kbd">a</span>, <span class="kbd">I</span>, or <span class="kbd">A</span> key.</p>
<ul>
<li><span class="kbd">i</span> insert / delete before the cursor (what you would intuitively expect when entering or deleting text).</li>
<li><span class="kbd">a</span> append / delete after the current cursor position.</li>
<li><span class="kbd">I</span> insert / delete at the beginning of the line.</li>
<li><span class="kbd">A</span> append / delete at the end of the line.</li>
</ul>
<p>You will (probably) be using <span class="kbd">i</span> most frequently.<br />
When you enter <span class="mark">Insert Mode</span> you will see <span class="mark">– INSERT –</span> displayed in the lower left corner:</p>
<pre class="vim"><code>The navigation keys are h, j, k, l.
h moves the̲ cursor one character left
l moves the cursor one character right
j moves the cursor one line down
k moves the cursor one line up
~
~
~
~
-- INSERT --                       3,11      All</code></pre>
<p>Press the <span class="kbd">Escape</span> key to return to <span class="mark">Normal Mode</span>.</p>
<h3 id="Searching">Searching</h3>
<p>You must be in <span class="mark">Normal Mode</span> to search.<br />
In a large file, it is useful to locate items of interest by searching for them.<br />
To search, type <span class="kbd">/</span> followed by the text you want to find, followed by the <span class="kbd">Enter</span> key.<br />
Vim treats the search string as a regular expression &#8211; which means some characters have a special meaning. If you need to search for the following characters, you will need to type them as follows:</p>
<table style="border-collapse: collapse;">
<tbody>
<tr style="font-weight: bold;">
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">Name</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">Character</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">Need to Type</td>
</tr>
<tr>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">Period</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">.</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">.</td>
</tr>
<tr>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">Asterisk</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">*</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">\*</td>
</tr>
<tr>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">Backslash</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">&lt;/td&gt;</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">\</td>
</tr>
<tr>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">Dollar Sign</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">$</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">$</td>
</tr>
<tr>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black;">Forward Slash</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">/</td>
<td style="padding: 0.2em 1em 0 1em; border: 1px solid black; text-align: center;">/</td>
</tr>
</tbody>
</table>
<p>Searches are case sensitive.<br />
You can navigate between search results by pressing <span class="kbd">n</span> (next) or <span class="kbd">N</span> (previous).</p>
<h3 id="Help">Getting Help</h3>
<p>You need to be in <span class="mark">Normal Mode</span> to use help.<br />
To get help on something in Vim, simply type <span class="kbd">:help</span> followed by the thing you want help on.<br />
For example, to get help on the navigation key <span class="kbd">h</span>, type <span class="kbd">:help h</span> followed by the <span class="kbd">Enter</span> key.<br />
You should see something similar to the following:</p>
<pre class="vim"><code>h         or          *h*
&lt;Left&gt;    or          *&lt;Left&gt;*
CTRL-H    or          *CTRL-H* *&lt;BS&gt;*
&lt;BS&gt;      [count] characters to the left.  |exclusive| motion.
          Note: If you prefer &lt;BS&gt; to delete a character, use
          the mapping:
             :map CTRL-V&lt;BS&gt;    X
          (to enter "CTRL-V&lt;BS&gt;" type the CTRL-V key, followed
          by the &lt;BS&gt; key)
          See |:fixdel| if the &lt;BS&gt; key does not do what you
          want.
m̲o̲t̲i̲o̲n̲.̲t̲x̲t̲ ̲[̲H̲e̲l̲p̲]̲[̲R̲O̲]̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲1̲7̲2̲,̲1̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲1̲2̲%̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
Vim will split the display into two panes. In the upper pane
you will see the help text. In the lower pane you will see your
current editing buffer.
Now you know that Vim supports multiple editing buffers - but
that is not the point of this tutorial.
~
~
~
~
a-file.txt                     4,5              All
</code></pre>
<p>The help can be pretty dense and not user friendly, but it <em>may</em> be helpful.<br />
To close the help window, type <span class="kbd">:q</span> followed by the <span class="kbd">Enter</span> key.<br />
If you type <span class="kbd">:help</span>, it will bring up the general help file. You can navigate through it for topics of interest.<br />
You might also try <span class="kbd">:help tutor</span> for instructions on accessing the Vim tutor which is included with every Vim installation.</p>
<h3 id="Final">Final Words</h3>
<p>Vim may not be the easiest or most intuitive editor you will come across. However, it (or its ancestor Vi) is quite ubiquitous and this tutorial gives you the basics you need so you are minimally functional with it.<br />
The basics are simple:</p>
<ol type="1">
<li>Vim operates in <span class="mark">Modes</span>.</li>
<li>All command / control keys are <strong>case sensitive</strong> : <span class="kbd">k</span> is not the same as <span class="kbd">K</span>.</li>
<li>The base mode is <span class="mark">Normal Mode</span>. You (usually) get back to it by pressing the <span class="kbd">Escape</span> key once or twice.</li>
<li>Navigating a file is done in <span class="mark">Normal Mode</span> using the <span class="kbd">h</span>, <span class="kbd">j</span>, <span class="kbd">k</span>, <span class="kbd">l</span> keys.</li>
<li>When the cursor is where you want to insert or delete text, you press the <span class="kbd">i</span> key to enter <span class="mark">Insert Mode</span>.</li>
<li>Search in <span class="mark">Normal Mode</span> by typing <span class="kbd">/</span> followed by the string you want to find and then the <span class="kbd">Enter</span> key. Navigate the search results using the <span class="kbd">n</span> and <span class="kbd">N</span> keys.</li>
<li>Save a file by typing <span class="kbd">:w</span> in <span class="mark">Normal Mode</span>.</li>
<li>Exit Vim by typing <span class="kbd">:q</span> in <span class="mark">Normal Mode</span>.</li>
<li>In <span class="mark">Normal Mode</span> you can get help by typing <span class="kbd">:help</span></li>
</ol>
<section class="footnotes">
<hr />
<ol>
<li id="fn1">Vi (the precursor to Vim) was developed in 1976. Arrow keys were not commonly found on keyboards, so <span class="kbd">h</span>, <span class="kbd">j</span>, <span class="kbd">k</span>, <span class="kbd">l</span> were used.<a class="footnote-back" href="#fnref1">↩</a></li>
<li id="fn2">Some modes require one key press, others require two. If you press it too many times, the computer will just beep at you. Vim newbies often repeatedly press the <span class="kbd">Escape</span> key in the hopes of returning to <span class="mark">Normal Mode</span><a class="footnote-back" href="#fnref2">↩</a></li>
<li id="fn3">This is true for the default Status Line. It is always possible that someone has modified the Status Line to display different information, or in a different arrangement.<a class="footnote-back" href="#fnref3">↩</a></li>
</ol>
</section>
<p>The post <a href="https://complete-concrete-concise.com/blog/5-minute-vim-tutorial/">5 Minute Vim Tutorial</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu 13.04 &#8211; How to Change the Timout Period for sudo</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-change-the-timout-period-for-sudo/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Wed, 01 May 2013 10:32:28 +0000</pubDate>
				<category><![CDATA[Ubuntu 13.04]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[timeout]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 13.04]]></category>
		<category><![CDATA[visudo]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2930</guid>

					<description><![CDATA[<p>The instructions are for Ubuntu 13.04, but should be the same for other versions.</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-change-the-timout-period-for-sudo/">Ubuntu 13.04 &#8211; How to Change the Timout Period for sudo</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 is for Ubuntu 13.04.</p>
<p>It is probably the same for other versions of Ubuntu and (probably) most other Linux distributions, but no guarantee is made.</p>
<p>Detailed instructions for opening a command line / terminal can be found <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-get-a-command-line-shell-or-terminal">here</a>.</p>
</div>
<p>By default, <code>sudo</code> temporarily grants administrative privileges for 15 minutes. This means the first time you run <code>sudo</code> you will be prompted for your password. Then, for the next 15 minutes, you can run <code>sudo &lt;command&gt;</code> without having to re-enter your password.</p>
<p>This should be fine for most users because the average user probably rarely drops to a command line to run an administrative command or two.</p>
<p><strong>1) Open</strong> a terminal using <code>Ctrl + Alt + T</code>:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-1.png" alt="" border="0" class="centered" /></p>
<p><strong>2) Enter</strong> the following command:</p>
<pre><code>sudo visudo</code></code></pre>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-2.png" alt="" border="0" class="centered" /></p>
<p><strong>3) Enter</strong> your password:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-3.png" alt="" border="0" class="centered" /></p>
<div class="c1">
<p><strong>Note:</strong> when you type your password, nothing will happen on the screen. This is normal. As a security feature, Linux does not echo back any indication of the characters you are typing in.</p>
</div>
<p>This will bring up the <code>sudo</code> configuration file in the <code>nano</code> editor. <span class="i1"><strong>Note:</strong> in other versions of Linux (or if Ubuntu has been modified), the configuration file may be opened with a different editor &#8211; in which case, you will need to Google for instructions on using that editor.</span></p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-4-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-4-thumb.png" alt="" border="0" class="centered" /></a></p>
<div class="c1">
<p>The command <code>visudo</code> does more than just open the <code>sudo</code> configuration file with the <code>nano</code> editor. It also <u>checks</u> to ensure the configuration file is correct (i.e. it will not let you edit the file and make it invalid). <strong>Note:</strong> you can still edit the file, so <code>sudo</code> becomes unusable, but the configuration file is (technically speaking) valid.</p>
</div>
<p><strong>4) Locate</strong> the line <code>Defaults</code> (highlighted in <span class="i4">yellow</span>) and navigate to the end of it using the arrow / cursor keys on your keyboard (your mouse will not work). <strong>Add</strong> the following:</p>
<pre><code>,timestamp_timeout=0</code></pre>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-5-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-5-thumb.png" alt="" border="0" class="centered" /></a></p>
<div class="c1">
<p>The number tells <code>sudo</code> for many minutes it should grant administrator privileges in this session.</p>
<p>A value of 0 tells <code>sudo</code> to <u>always</u> prompt for a password. Personally, this is the only setting that makes sense for me because if you are momentarily away from your computer, no one else can accidentally (or intentionally) run an administrative command while your <code>sudo</code> privilege is still active.</p>
<p>A positive number tells <code>sudo</code> to grant administrative privileges that that number of minutes. The number must be a whole number: 5, 15, 42, etc. Number like 3.1415 are not valid.</p>
<p>A negative number tells <code>sudo</code> to permanently grant administrative privileges during that session. The only use I see for this is if you want to have to type <code>sudo</code> before administrative commands, but not have to enter the password for subsequent commands.</p>
</div>
<p><strong>5) Save</strong> your changes by pressing <code>Ctrl + O</code>:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-6-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-6-thumb.png" alt="" border="0" class="centered" /></a></p>
<p>You will be prompted to save the file as <code>/etc/sudoers.tmp</code>.</p>
<p><strong>6) Press</strong> <u>Enter</u> to write the changes.</p>
<p><strong>7) Observe</strong> that the changes were written:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-7-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-7-thumb.png" alt="" border="0" class="centered" /></a></p>
<p><strong>8) Exit</strong> <code>visudo</code> by <strong>pressing</strong> <code>Ctrl + X</code>.</p>
<p>Starting a new command line session should pick up the changes you just made.</p>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-13-04/ubuntu-13-04-how-to-change-the-timout-period-for-sudo/">Ubuntu 13.04 &#8211; How to Change the Timout Period for sudo</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Understanding the differences between various Linux distro&#039;s</title>
		<link>https://complete-concrete-concise.com/blog/understanding-the-differences-between-various-linux-distros/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Tue, 19 Mar 2013 14:57:05 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[differences]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pear linux]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[understanding]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2706</guid>

					<description><![CDATA[<p>There are many different operating systems (OS) out there. The most commonly known being Microsoft Windows and Mac OS, and then there is that OS called Linux that people keep talking about. It is not always clear what Linux is except that it is an operating system (sometimes claimed to be better than any other [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/blog/understanding-the-differences-between-various-linux-distros/">Understanding the differences between various Linux distro&#039;s</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>There are many different operating systems (OS) out there. The most commonly known being Microsoft Windows and Mac OS, and then there is that OS called Linux that people keep talking about. </p>
<p>It is not always clear what Linux is except that it is an operating system (sometimes claimed to be better than any other operating system on the planet). When you look it up,  you are faced with a bewildering choice of operating systems that all claim to be Linux: Red Hat, Ubuntu, Slackware, Mandrake, Linux mint, PC Linux OS, Pear Linux, OpenSUSE, etc.</p>
<div class="c1">
<h1>Summary</h1>
<p>Fundamentally, all Linux distros are very similar. They are based on the Linux kernel which forms the core of all distros.</p>
<p>The difference between distros fundamentally boils down to:</p>
<ul>
<li>ease of installation</li>
<li>which GUI (Graphical User Interface) they provide (changeable in all distros)</li>
<li>the look and feel (colours, wallpapers, keyboard shortcuts, etc) they provide (customizable in all distros)</li>
<li>what applications (programs) they provide by default (again, users can install applications they feel they need)</li>
</ul>
<p>The last three are normally completely customizable by the user.</p>
<p>Each distro packages the Linux kernel with a bunch of programs and configures the way it looks, feels, and interacts with the user.</p>
<p>It does not make sense to change distributions because you don&#8217;t like the default interface or applications or colours.</p>
<p>It does make sense to change distributions because you are not getting the necessary hardware or software support you would like.</p>
</p></div>
<h1>What is an operating system</h1>
<p>An operating system is the first program that runs on the computer and continues to run even while you are running other programs.</p>
<div class="c1">
<p>Strictly speaking, the boot loader is the first program to run because it loads the operating system. But that&#8217;s being really picky.</p>
</div>
<h1>What does an operating system do</h1>
<p>An operating system hides all the fiddly details about the hardware from programs that are running on the computer.</p>
<p>There are many keyboards, mice, hard disks, printers, graphics cards, and other hardware that do not necessarily operate or function the same way.</p>
<p>Before there were operating systems, programmers wrote code specifically for the hardware connected to the computer. If the hardware changed (suppose the printer was changed) it usually meant that all programs using that hardware had to be rewritten because the hardware was now different.</p>
<p>An operating system shields the program from the nitty-gritty details of the hardware and provides it with a standard interface to the hardware. Consider a printer: regardless of what printer is connected to the computer the operating system presents the same standard interface and the program uses this interface. The operating system handles communicating with the printer through something called a driver. The driver is a special program that converts information passed through the standard interface into something the hardware can use.</p>
<div class="c1">
<p>A common problem in Linux is the lack of drivers for hardware. It is not uncommon to buy a piece of hardware (printer, scanner, video card, Wi-Fi adapter, etc) only to discover that Linux does not support it. </p>
</div>
<p>At the heart of every Linux distro is the Linux kernel. This is the core operating system. There is only one Linux kernel. You can find the source code for the Linux kernel <a href="https://www.kernel.org/">here</a>.</p>
<p>There are various versions of the Linux kernel:</p>
<ul>
<li>older versions that are no longer being developed but have long-term support </li>
<li>versions that are current and stable</li>
<li>future versions under development &#8211; these may or may not be stable and may include new features</li>
<li>finally, there are often several branches of the main kernels that contain experimental features &#8211; these may or may not find their way into the main kernel</li>
</ul>
<h1>If all Linux distro&#8217;s use the same kernel why are there so many Linux distro&#8217;s?</h1>
<p>Each Linux distro decides which kernel it will use:</p>
<ul>
<li>some distro&#8217;s play it safe and use only a stable kernel</li>
<li>more conservative distros may only use older kernels</li>
<li>other distro&#8217;s like to use the latest stable version</li>
<li>other distro&#8217;s are more cutting edge and use the development branch including changes that are still under development and possibly experimental.</li>
</ul>
<p>The kernel itself is not very exciting &#8211; it just runs on your hardware, stays in the background and manages the computer. What makes a computer useful is not the operating system that&#8217;s running on it but the programs and applications that are run on the computer.</p>
<h1>Four key areas where distros differ:</h1>
<ol>
<li>installation</li>
<li>the kernel</li>
<li>the look and feel</li>
<li>programs and applications</li>
</ol>
<h1>Installation</h1>
<p>This is usually the first experience a user has with a Linux distro.</p>
<p>The way in which various Linux distros install themselves is usually the first experience a user has with the distro.</p>
<p>Some distros focus on a very simple installation procedure &#8211; essentially, the user provides some basic and non-technical information and the distro uses preconfigured settings for everything else. Ubuntu is a distro that takes this approach &#8211; it is not exactly a one-click installation process, but it comes very close. This is suitable for the typical user.</p>
<p>Other distros have a more involved installation procedure that requires the user to answer a number of technical questions before installing. These questions may include questions about partitioning the hard disk, what file system to format each partition, etc. There is a wide range of how technical these installations can be.</p>
<p>Finally, some distros give the user complete control over the installation process and are very technical. Slackware is a distro that takes this approach &#8211; it assumes a technical and knowledgeable user is doing the installation.</p>
<p>Of course, you don&#8217;t have to install from a distro &#8211; you can download the Linux kernel, build it yourself, and install it yourself.</p>
<h1>The Kernel</h1>
<p>The kernel is the core of the operating system. It is the program that always runs on the computer and provides the necessary services to access all the devices on the computer, as well as handling memory management, program loading, etc.</p>
<p>Most Linux distros released around the same time use the same base kernel.</p>
<p>Some distros, like Slackware, use the kernel as is from the kernel repository &#8211; if you want something extra, you have to add it yourself.</p>
<p>Other distros, like Ubuntu, modify the kernel by including changes and patches that provide support for more hardware. These changes may not be fully stable for new hardware (which is why they are not part of the base kernel) or they may not be fully open or they may contain patented technology.</p>
<div class="c1">
<p>A problem I have observed with Ubuntu is that interim releases (like 11.10 and 12.10) often have problems (eventually they get fixed). I have not noticed any problems with the Long Term Support (LTS) releases (like 12.04 LTS).</p>
</div>
<div class="c2">
<p>Linux is licensed under the GPL license, which, basically, allows free copying and distribution of the code but also requires developers to share their code under the same license. Some developers (notably hardware manufacturers) are reluctant to release the source code (because this means competitors can see how their code and devices work &#8211; thus giving them insider information on a competitors product). Instead of releasing source code (which can be ported to other platforms or modified by other developers) they release BLOBs (Binary Large OBjects) which only work on certain hardware platforms. For example, a BLOB released for x86 compatible processors, will not work on ARM based processors.</p>
<p>Patented technology (unless freely licensed) is not compatible with the GPL because the GPL requires that everything be freely available and redistributable &#8211; including the use and implementation of patents.</p>
</div>
<p>Some distros are ideologically based and refuse to include non-open and non-free code and technology. <a href="http://www.gnewsense.org/">gNewSense</a> is an example of such a distro. This means they support fewer hardware devices than distros that include BLOBs or potentially unlicensed patented technology. As well, some commonly expected features / behaviour may not work either &#8211; for example, viewing videos on YouTube.</p>
<p>Other distros are more specialized and may include patches (changes) necessary to support hard real time requirements. These changes are not trivial and consequently, real time distros tend to be based on older kernels. <a href="http://www.lynuxworks.com/rtos/rtos.php">LynxOS</a> is an example of a real time OS that is based on the older version 2.6 Linux kernel.</p>
<p>Having said all that, the core of the kernel is pretty much the same from one Linux distro to the next and from the typical user&#8217;s perspective, you can expect they behave pretty much the same way.</p>
<h1>Look and Feel</h1>
<p>This is what most users see and experience when they interact with a Linux system.</p>
<p>The system can be command line driven, in which case it looks something like this:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/linux-differences-1-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/linux-differences-1-thumb.png" alt="" border="0" class="centered" /></a></p>
<p>or it can be a GUI based system &#8211; in which case there are many, many variations. Some of which are shown below:</p>
<div class="c1">
<p>The MATE desktop running on Ubuntu:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-mate-desktop-big1.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-mate-desktop-thumb1.png" alt="" border="0" class="centered" /></a></p>
</div>
<div class="c2">
<p>The basic LXDE desktop:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-lxde-desktop-big.jpg" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-lxde-desktop-thumb.jpg" alt="" border="0" class="centered" /></a></p>
</div>
<p>All GUI based distros use <code>X-server</code> to provide the graphical control. <code>X-server</code> in turn communicates with video hardware drivers.</p>
<p>On top of <code>x-server</code> distros will install a window manager. There are four major window managers: GNOME, KDE, LXDE, and XFCE (roughly listed in order of popularity). There are also dozens of other window managers. These are then customized with how the windows actually look, the colours, the background wallpaper or colour, keyboard shortcuts, etc.</p>
<p>Even if two distros use the same window manager, they can look radically different. Below are screenshots from some GNOME based distros:</p>
<div class="c1">
<p>This is the Cinnamon desktop running on Ubuntu. Cinnamon is a customized version of the GNOME desktop. Notice it uses the Ubuntu colour scheme (but you can change that):</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-install-cinnamon-desktop-big.jpg" target="_blank"><img fetchpriority="high" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-install-cinnamon-desktop-thumb.jpg" width="480" height="395" alt="" border="0" class="centered" /></a></p>
</div>
<div class="c2">
<p>This is the Unity desktop running on Ubuntu. Unity is a customized version of the GNOME desktop:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/linux-differences-2-big.jpg" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/linux-differences-2-thumb.jpg" width="480" height="234" alt="" border="0" class="centered"/></a></div>
<h1>Programs and Applications</h1>
<p>The kernel and look and feel of  a Linux system is not particularly useful because the typical user expects to be able to use the system to do work. Whether this is editing documents, surfing the web, developing programs, editing audio or video files, playing games, etc.</p>
<p>All this is done with programs or applications. There are usually many different programs for various tasks a user might want to perform.</p>
<p>For example, browsing the web: there is FireFox, Chrome, Konqueror, and many other web browsers. Each distro includes programs that they feel the user wants (or needs).</p>
<p>For example, Ubuntu is a general purpose desktop OS. It includes a number of basic applications that of use to users: LibreOffice (office suite), FireFox (web browser), gedit (file editor), Nautilus (file manager), etc.</p>
<p>Ubuntu Studio, which is based on Ubuntu, includes a number of applications that are of interest to media developers: GIMP (image editing program), Blender (a 3D content creation suite), OpenShot (a simple video editor), Scribus (a pdf document creator), etc.</p>
<p>Many Linux distros are based on other distros. Essentially, there are four fundamental distros from which all the rest are derived:</p>
<ol>
<li><a href="http://www.slackware.com/">Slackware</a></li>
<li><a href="http://www.debian.org/">Debian</a></li>
<li><a href="http://www.redhat.com/">Red Hat</a></li>
<li><a href="https://www.archlinux.org/">Arch</a></li>
</ol>
<p><a href="http://www.linuxmint.com/">Linux Mint</a> and <a href="http://pearlinux.fr/">Pear Linux</a> are based on <a href="http://www.ubuntu.com/">Ubuntu</a> which, in turn, is based on Debian.</p>
<h1>Should You Change Distros?</h1>
<p>A common refrain in the Linux community is that if you don&#8217;t like a particular Linux distro, you can choose to install a different distro.</p>
<h3>Does this make sense?</h3>
<p>It depends.</p>
<p>Installing a different distro means that you may potentially lose all your work (unless you&#8217;ve made backups) because installing a new distro will over write the existing one.</p>
<p>Most times, what users want is a different GUI interface (look and feel) or maybe a different application.</p>
<p>Linux distros are developed and maintained by many different individuals and groups. Some distros are produced by just one person, others by a few enthusiasts, and others by companies.</p>
<p>If you choose a distro developed by a single developer, can you be sure the person is going to continue developing and maintaining their distro? If a distro is developed by a company, can you be sure the company is going to be around the next time you want to upgrade?</p>
<p>Personally, I would choose to go with a major distributor that has been around a while. My personal preference is for Ubuntu (even if you don&#8217;t like Unity, you can change it for some other desktop and customize it yourself) because they have the easiest installation, good support and, in general, just works &#8220;out of the box&#8221;.</p>
<p>Having said that, if you go with Linux Mint or Pear Linux, you are still getting a distro based on Ubuntu (they even use Ubuntu&#8217;s servers for much of their base), and make use of Ubuntu&#8217;s simple installation process and, like Ubuntu, just work out of the box.</p>
<p>The only time I would consider switching distributions is if the support (whether hardware or software) is not there. Otherwise, I would recommend customizing what you have to look and work the way you want it.</p>
<p>Looked at another way, would you move because you no longer like the colour of the walls in your living room, or would you repaint the living room?</p>
<h1>Additional Resources</h1>
<p>For more information about specific Linux distributions you can always check the distro&#8217;s website.</p>
<p>An excellent resource is <a href="http://distrowatch.com/">DistroWatch</a> which has information on several hundred Linux distros (it also includes information on other Unix like OSes, like BSD).</p>
<p>There is a search bar in the top left of the site where you can type in the name of the distro, or a drop down menu from which you can select a distro:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/linux-differences-3.png" alt="" border="0" class="centered"/></p>
<p>There are many other search options available. You can see a ranking of weekly and monthly distro popularity.</p>
<p>Another good resource is the Wikipedia <a href="http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions">Comparison of Linux Distributions</a>. It is not as exhaustive as DistroWatch, but it does present the information in table form.</p>
<p>A graphical representation of Linux distributions based on (1) their base origin and (2) the year they were introduced is available <a href="http://futurist.se/gldt/">here</a>. It currently lists over 450 Linux distributions &#8211; some of which no longer exist.</p>

<p>The post <a href="https://complete-concrete-concise.com/blog/understanding-the-differences-between-various-linux-distros/">Understanding the differences between various Linux distro&#039;s</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu 12.04 &#8211; How to Change the Timeout Period for sudo</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-change-the-timeout-period-for-sudo/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Wed, 13 Mar 2013 11:25:43 +0000</pubDate>
				<category><![CDATA[Ubuntu 12.04]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[timeout]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[visudo]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2666</guid>

					<description><![CDATA[<p>This tutorial is for Ubuntu 12.04. It should be the same for other versions of Ubuntu and (probably) most other Linux distributions, but no guarantee is made. Detailed instructions for opening a command line / terminal can be found here. By default, sudo temporarily grants administrative privileges for 15 minutes. This means the first time [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-change-the-timeout-period-for-sudo/">Ubuntu 12.04 &#8211; How to Change the Timeout Period for sudo</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 is for Ubuntu 12.04.</p>
<p>It should be the same for other versions of Ubuntu and (probably) most other Linux distributions, but no guarantee is made.</p>
<p>Detailed instructions for opening a command line / terminal can be found <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-get-a-command-line-shell-or-terminal">here</a>.</p>
</div>
<p>By default, <code>sudo</code> temporarily grants administrative privileges for 15 minutes. This means the first time you run <code>sudo</code> you will be prompted for your password. For the next 15 minutes, you can run <code>sudo &lt;command&gt;</code> without having to enter a password.</p>
<p>This should be fine for most users because the average user is likely to drop down to a command line to run an administrative command or two rarely.</p>
<p><strong>1) Open</strong> a terminal using <code>Ctrl + Alt + T</code></p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-1.png" alt="" border="0" class="centered"/></p>
<p><strong>2) Enter</strong> the following command:</p>
<pre><code>sudo visudo</code></code></pre>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-2.png" alt="" border="0" class="centered"/></p>
<p><strong>3) Enter</strong> your password:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-3.png" alt="" border="0" class="centered"/></p>
<div class="c1">
<p><strong>Note:</strong> when you type your password, nothing will happen on the screen. This is normal. As a security feature, Linux does not echo back any indication of the characters you are typing in.</p>
</div>
<p>This will bring up the <code>sudo</code> configuration file in the <code>nano</code> editor. <span class="i1"><strong>Note:</strong> in other versions of Linux (or if Ubuntu has been modified), the configuration file may be opened with a different editor &#8211; in which case, you will need to Google for instructions on using that editor.</span></p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-4-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-4-thumb.png" alt="" border="0" class="centered"/></a></p>
<div class="c1">
<p>The command <code>visudo</code> does more than just open the <code>sudo</code> configuration file with the <code>nano</code> editor. It also <u>checks</u> to ensure the configuration file is correct (i.e. it will not let you edit the file and make it invalid). <strong>Note:</strong> you can still edit the file, so <code>sudo</code> becomes unusable, but the configuration file is valid.</p>
</div>
<p><strong>4) Locate</strong> the line <code>Defaults</code> (highlighted in <span class="i4">yellow</span>) and navigate to the end of it using the arrow / cursor keys on your keyboard. <strong>Add</strong> the following:</p>
<pre><code>,timestamp_timeout=0</code></pre>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-5-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-5-thumb.png" alt="" border="0" class="centered"/></a></p>
<div class="c1">
<p>The number tells <code>sudo</code> the number of minutes it should grant administrator privileges in this session.</p>
<p>A value of 0 tells <code>sudo</code> to <u>always</u> prompt for a password. Personally, this is the only setting that makes sense for me because if you are momentarily away from your computer, no one else can accidentally (or intentionally) run an administrative command while your <code>sudo</code> privilege is still active.</p>
<p>A positive number tells <code>sudo</code> to grant administrative privileges that that number of minutes. The number must be a whole number: 5, 15, 42, etc. Number like 3.1415 are not valid.</p>
<p>A negative number tells <code>sudo</code> to permanently grant administrative privileges during that session. The only use I see for this is if you want to have to type <code>sudo</code> before administrative commands, but not have to enter the password for subsequent commands.</p>
</div>
<p><strong>5) Save</strong> your changes by pressing <code>Ctrl + O</code>:<br />
<a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-6-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-6-thumb.png" alt="" border="0" class="centered"/></a></p>
<p>You will be prompted to save the file as <code>/etc/sudoers.tmp</code>.</p>
<p><strong>6) Press</strong> <u>Enter</u> to write the changes.</p>
<p><strong>7) Observe</strong> that the changes were written:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-7-big.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/03/ubuntu-12.04-change-sudo-timeout-7-thumb.png" alt="" border="0" class="centered"/></a></p>
<p><strong>8) Exit</strong> <code>visudo</code> by <strong>pressing</strong> <code>Ctrl + X</code>.</p>
<p>Starting a new command line session should pick up the changes you just made.</p>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-change-the-timeout-period-for-sudo/">Ubuntu 12.04 &#8211; How to Change the Timeout Period for sudo</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VirtualBox &#8211; How to Access USB Devices</title>
		<link>https://complete-concrete-concise.com/virtualbox-2/virtualbox-how-to-access-usb-devices/</link>
					<comments>https://complete-concrete-concise.com/virtualbox-2/virtualbox-how-to-access-usb-devices/#comments</comments>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Thu, 26 Jul 2012 17:18:25 +0000</pubDate>
				<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[accessing usb ports]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[virtualbox]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2285</guid>

					<description><![CDATA[<p>These instructions are for VirtualBox 4.1.18 running on Windows 7 with Service Pack 1 with Ubuntu 12.04 (running the Unity Interface) as the guest OS. I believe the instructions are the same (or very similar) regardless of which host OS and guest OS combination you are running, but I make no guarantee. Sometimes you want [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/virtualbox-2/virtualbox-how-to-access-usb-devices/">VirtualBox &#8211; How to Access USB Devices</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>These instructions are for VirtualBox 4.1.18 running on Windows 7 with Service Pack 1 with Ubuntu 12.04 (running the Unity Interface) as the guest OS.</p>
<p>I believe the instructions are the same (or very similar) regardless of which host OS and guest OS combination you are running, but I make no guarantee.</p>
</div>
<p>Sometimes you want to (or need to) directly access a USB device, like a memory stick, or a printer, or camera.</p>
<p>Normally, VirtualBox does not provide access to these devices, however, it is possible to allow the guest OS to directly access the USB device.</p>
<p>(I needed to allow Linux to directly access a SD card so I could use the <code>dd</code> command to copy a OS image. This turned out to be very slow. I am not sure if this was because I was accessing it via VirtualBox or because <code>dd</code> is inherently slow writing to flash cards.)</p>
<div class="c4">
<p><strong>NOTE:</strong> when a USB device is used by VirtualBox, the device will no longer be available or visible to the host operating system when the guest OS is running.</p>
<p>This means that if you enable access to your USB printer in VirtualBox, then the USB printer will no longer be available for use in your host OS. This is not as bad as it seems, when you shut down your VirtualBox session, the USB device will be returned to your OS.</p>
</div>
<div class="c2">
<p>Some images may be clicked for full sized versions.</p>
</div>
<h1>Installing the VirtualBox Extension Pack</h1>
<div class="c1">
<p>I don&#8217;t think it is absolutely necessary to install this, but if you don&#8217;t you will be using the slower USB 1 interface. Installing this extension pack (which is different from the Guest Additions) will enable USB 2 support.</p>
</div>
<p><strong>1) Go to</strong> the VirtualBox Downloads page. It can be found <a href="https://www.virtualbox.org/wiki/Downloads">here</a>.</p>
<p><strong>2) Click</strong> on the <u>All Platforms</u> link beside the <u>VM VirtualBox Extensions Pack</u>:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-1-big.png" target="_blank" rel="noopener noreferrer"><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-1-thumb.png" alt="" border="0" /></a></p>
<p><strong>3) Click</strong> on <u>Open</u> if you get the following confirmation request in Windows 7:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-2-big.png" target="_blank" rel="noopener noreferrer"><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-2-thumb.png" alt="" border="0" /></a></p>
<p><strong>4) Click</strong> on <u>Install</u>:</p>
<p><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-3.png" alt="" border="0" /></p>
<p><strong>5) Read</strong> the license agreement (or, at the very least, scroll all the way to the end) and the <strong>click</strong> on <u>I Agree</u> if you accept the licensing terms (if you don&#8217;t agree, then you will not be able to install the extensions):</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-4-big.png" target="_blank" rel="noopener noreferrer"><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-4-thumb.png" alt="" border="0" /></a></p>
<p>VirtualBox will then proceed to install the extensions pack. This will take a few minutes.</p>
<p><strong>6) Observe</strong> that the installation was successful and <strong>click</strong> on <u>OK</u>:</p>
<p><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-5.png" alt="" border="0" /></p>
<h1>Enabling a USB Device in VirtualBox</h1>
<p><strong>1) Plug in</strong> the USB device you want to share. <strong>Let</strong> it be detected and recognized by Windows.</p>
<p><strong>2) Start</strong> <u>VirtualBox</u>.</p>
<p><strong>3) Right-click</strong> on the virtual machine you wish to configure the USB device for, then <strong>select</strong> (left-click) <u>Settings&#8230;</u>. You could also <strong>left-click</strong> on the virtual machine and then press <code>Ctrl+S</code>:</p>
<p><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-6.png" alt="" border="0" /></p>
<p><strong>4) Click</strong> on <u>USB</u> in the left side panel:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-7-big.png" target="_blank" rel="noopener noreferrer"><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-7-thumb.png" alt="" border="0" /></a></p>
<p><strong>5) Check</strong> the checkbox <u>Enable USB 2.0 (EHCI) Controller</u>:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-13-big.png" target="_blank" rel="noopener noreferrer"><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-13-thumb.png" alt="" border="0" /></a></p>
<p><strong>6) Click</strong> on the tiny USB icon with the green plus sign (it is found on the right side of the dialog):</p>
<p><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-8.png" alt="" border="0" /></p>
<p>A menu containing the plugged in USB devices will appear:</p>
<p><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-9.png" alt="" border="0" /></p>
<div class="c2">
<p><strong>NOTE:</strong> it is very likely your list of devices will be different from this one.</p>
</div>
<div class="c2">
<p>Alternately, you can press <code>Alt + Ins</code> to bring up the list of USB devices attached to your computer.</p>
<p>Pressing <code>Alt + Ins</code> means &#8220;while holding down the <code>Alt</code> key, press the <code>Ins</code> (or insert) key as if you were going to type it.&#8221;</p>
<div class="c1">
<p><strong>NOTE:</strong> if you use the keyboard shortcut <code>Alt + Ins</code>, the menu will appear where your mouse cursor is on the screen.</p>
</div>
</div>
<p><strong>7) Click</strong> on the USB device you want (this might be tricky because the displayed name may not be obvious &#8211; for example, the <u>Unknown device</u> is a webcam):</p>
<p><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-91.png" alt="" border="0" /></p>
<p>This will add the device to the list of USB devices available to the virtual machine (again, your list will likely be different):</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-11.png" target="_blank" rel="noopener noreferrer"><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-11-thumb.png" alt="" border="0" /></a></p>
<p>The first time you start the virtual machine with <u>newly</u> attached USB device, VirtualBox will: (1) disconnect the device from your machine and (2) create a VirtualBox USB device to connect to the device (for which Windows will automatically install the necessary device driver). When this is done, you should get the following notification:</p>
<p><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-10.png" alt="" border="0" /></p>
<div class="c2">
<p><strong>NOTE:</strong> sometimes during this process, the VirtualBox machine will stop responding. It is safe (as far as I can tell because that is what I do) to kill the virtual machine and restart it.</p>
</div>
<p>When you log into your guest OS, the USB device will be attached to it.</p>
<div class="c2">
<p><strong>NOTE:</strong> it may not be obvious or easy to find where the USB device is attached.</p>
<p>For memory cards and USB drives, I find it useful to start <u>Disk Utility</u> and examine where the disk has been mounted (for some reason I don&#8217;t find it in <code>/mnt</code>):</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-12.png" target="_blank" rel="noopener noreferrer"><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2012/07/virtualbox-usb-12-thumb.png" alt="" border="0" /></a></p>
</div>
<p>In the image above you can see several attached drive locations. These are the slots in a card reader I had attached to the computer.</p>
<p>You can also see that the memory card in question was mounted as <code>sdb</code></p>
<p>If you have attached a different USB device (printer, scanner, camera, etc), the guest OS (in this case Linux) may have limited or no support for the device.</p>
<p>&nbsp;</p>
<p>The post <a href="https://complete-concrete-concise.com/virtualbox-2/virtualbox-how-to-access-usb-devices/">VirtualBox &#8211; How to Access USB Devices</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/virtualbox-2/virtualbox-how-to-access-usb-devices/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu 12.04 &#8211; How to get a Command Line, Shell, or Terminal</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-get-a-command-line-shell-or-terminal/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Thu, 26 Apr 2012 08:00:00 +0000</pubDate>
				<category><![CDATA[Ubuntu 12.04]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[opening]]></category>
		<category><![CDATA[openning]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=1695</guid>

					<description><![CDATA[<p>These instructions are for Ubuntu 12.04 using the Unity interface (although, hints are provided at the bottom of the article for those who have installed a different desktop). Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands. Often, when searching the [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-get-a-command-line-shell-or-terminal/">Ubuntu 12.04 &#8211; How to get a Command Line, Shell, or Terminal</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>These instructions are for Ubuntu 12.04 using the Unity interface (although, hints are provided at the bottom of the article for those who have installed a different desktop).</p>
<div class="c2">
<p>Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands.</p>
<p>Often, when searching the Internet for a solution to a problem, you often find terse (possibly cryptic) answers along the lines of:</p>
<blockquote><p>Test if you can reach Google with <strong>ping -c 4 google.com</strong></p></blockquote>
<p>or</p>
<blockquote><p>To recursively change your file permissions just: <strong>chmod 755 -R /opt/lampp/htdocs</strong></p></blockquote>
<p>In order to run those commands, you have to open a shell or command line or terminal (they are all synonymous, but <u>shell</u> is the preferred term in Linux and Unix circles).</p>
<div class="c3">
<p>There are many different shells, the original Unix shell is called the Bourne Shell (or sh), then came the C Shell (csh) and Korn Shell (ksh). Linux tends to use the Bourne Again Shell (bash). For the most part, they all do the same thing, so you don&#8217;t need to worry about which one you are using.</p>
<p>If you want to know which shell you are using, just enter <u>echo $SHELL</u> at the command line and press <u>Enter</u>.</p>
</div>
</div>
</div>
<div class="c1">
<p><strong>TIP:</strong> If you find a command line solution / trick / tip for a non-Ubuntu Linux distribution, there is a good chance (though not 100% guaranteed) that it might work with Ubuntu.</p>
<p>If you get a <u>Permission denied</u> or <u>Are you root?</u> response when you type in the command, try prefixing the command with <code>sudo</code>. Ubuntu requires administrator level privileges for certain commands. <code>sudo</code> temporarily gives administrator privileges (after you supply your password).</p>
</div>
<div class="c3">
<p><strong>For more information on using a command line, see this tutorial on <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-basic-command-line-techniques">Basic Command Line Techniques</a>.</strong></p>
</div>
<h1>Opening a Terminal using a Keyboard Shortcut</h1>
<div class="c2">
<p>This is the default keyboard shortcut for Ubuntu 12.04 (and probably previous Ubuntu releases) running the GNOME / Unity desktop, unless you (or someone else) has changed it, it should work.</p>
<p>This also the default keyboard shortcut if you have changed your desktop environment to GNOME Shell, LXDE, or the Lubuntu Desktop and will work unless you (or someone else) has changed it.</p>
<p>This will <strong><u>NOT</u></strong> work for the XFCE or Xubuntu Desktop unless you (or someone else) has added the keyboard shortcut.</p>
</div>
<p><strong>1) Press</strong> <code>Ctrl + Alt + T</code> to open a terminal / command line / shell.</p>
<div class="c2">
<p><strong>NOTE:</strong> pressing <code>Ctrl + Alt + T</code> means: simultaneously hold down the <code>Ctrl</code> key and <code>Alt</code> key, then press the <code>T</code> key as though you intend to type it.</p>
<p><strong>DO NOT</strong> press the <code>Shift</code> key because <code>Ctrl + Alt + Shift + T</code> is different from <code>Ctrl + Alt + T</code>.</p>
<p>It does <strong>NOT</strong> matter if your <code>Caps Lock</code> is on or off.</p>
</div>
<p>The terminal should look something like this:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-1.png" alt="" border="0" class="centered" /></p>
<h1>Opening a Terminal from Unity</h1>
<p><strong>1) Click</strong> the Dash icon (or use the keyboard shortcut by pressing the <u>Windows</u> key &#8211; don&#8217;t hold it down, just tap it as if you were going to type it):</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-2.jpg" width="200" height="227" alt="" border="0" class="centered" /></p>
<p><strong>2) Type</strong> <u>terminal</u> into the entry field:</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-3.jpg" width="480" height="283" alt="" border="0" class="centered" /></p>
<p><strong>3) Click</strong> on the <u>terminal</u> icon:</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/04/ubuntu-12.04-how-to-get-a-commandline-4.jpg" width="480" height="283" alt="" border="0" class="centered" /></p>
<div class="c2">
<p>Alternately, you can navigate to the <u>terminal</u> icon by using the arrow keys on your keyboard (if you are using the arrow keys built into your numpad ensure that <code>Num Lock</code> is off) and then pressing the <u>Enter</u> key to select it.</p>
</div>
<h1>Opening a Terminal if You are not Using Unity</h1>
<p>Because there are many different types of desktops available for Linux, it is not possible to list all possible ways to start the terminal. However … the general technique is the same:</p>
<p><strong>1) Open</strong> the <u>Main Menu</u> or <u>Applications Menu</u> (or whatever the main menu for your environment is called).</p>
<p><strong>2)</strong> If you are lucky, there will be a menu entry for a terminal (it might be called <u>Terminal</u> or <u>LXTerminal</u> or something else with <code>terminal</code> in the name.</p>
<p><strong>3)</strong> If you are unlucky, then you will have to look for it in a submenu. It is most likely to be found in a submenu called <u>Accessories</u> or <u>System</u>.</p>
<div class="c2">
<p><strong>NOTE:</strong> You may have more than one terminal application installed or the terminal application may appear in more than one menu location.</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-get-a-command-line-shell-or-terminal/">Ubuntu 12.04 &#8211; How to get a Command Line, Shell, or Terminal</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu 11.10 &#8211; Installing VirtualBox Guest Additions</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-installing-virtualbox-guest-additions/</link>
					<comments>https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-installing-virtualbox-guest-additions/#comments</comments>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Tue, 21 Feb 2012 19:19:16 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[guest additions]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[installing]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualbox]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=1474</guid>

					<description><![CDATA[<p>These instructions are for Ubuntu 11.10 running under VirtualBox 4.1.8r75467 on Windows 7 with SP1. They should be the same or similar for other version combinations, but I make no guarantee. These instructions are the same or very similar for many other distros of Linux, however, the VirtualBox Guest Additions don&#8217;t work with all distros [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-installing-virtualbox-guest-additions/">Ubuntu 11.10 &#8211; Installing VirtualBox Guest Additions</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>These instructions are for Ubuntu 11.10 running under VirtualBox 4.1.8r75467 on Windows 7 with SP1.</p>
<p>They should be the same or similar for other version combinations, but I make no guarantee.</p>
<p>These instructions are the same or very similar for many other distros of Linux, however, the VirtualBox Guest Additions don&#8217;t work with all distros of Linux. For some Linux distros the installation does not happen automatically, you have to manually start it.</p>
</div>
<div class="c3">
<p><strong>NOTE:</strong> sometimes, after Ubuntu updates have been installed, the Guest Additions will stop working.</p>
<p>See the section <a href="#tips">When <u>Install Guest Additions&#8230;</u> Doesn&#8217;t Work</a> below on how to manually run the Guest Installation procedure again.</p>
</p></div>
<h1>Why Install VirtualBox Guest Additions?</h1>
<p>Installing the VirtualBox Guest Additions better integrates Ubuntu Linux with your system and gives you the following benefits (and more):</p>
<ol>
<li>better mouse pointer integration</li>
<li>shared folders &#8211; useful for sharing data between OSes</li>
<li>better video support &#8211; more resolutions, hardware acceleration, etc</li>
<li>seamless windows (instead of having an Ubuntu desktop and a Windows desktop, the two can be combined together. While neat, it is not quite perfect. I don&#8217;t deny it is cool to see a Linux and Windows apps running side-by-side on your Windows desktop)</li>
<li>shared clipboard</li>
</ol>
<p><strong>1) Click on</strong> on the <u>Devices</u> menu and then <strong>select</strong> <u>Install Guest Additions&#8230;</u>. If you are running Ubuntu in full screen mode, move your mouse to the very bottom of the screen in the middle &#8211; this will pop up the same menu options. Alternatively, you can just hold the right Ctrl key down and press the D key (the default Host key is the right Ctrl key):<br />
<img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/02/ubuntu-11.10-virtualbox-additions-1.jpg" width="480" height="206" alt="" border="0" class="centered" /></p>
<div class="c2">
<p><strong>NOTE:</strong> in some instances, I have noticed that selecting <u>Install Guest Additions&#8230;</u> or pressing <u>Host+D</u> installs the Guest Additions CD but fails to start the install process. If you don&#8217;t get the dialog below, please see <a href="#tips">these instructions</a> at the bottom of the article.</p>
</div>
<p><strong>2) Click</strong> <u>Run</u> on the information dialog:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/02/ubuntu-11.10-virtualbox-additions-2.png" alt="" border="0" class="centered" /></p>
<p><strong>3) Enter</strong> your password and then <strong>click </strong> on <u>Authenticate</u>:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/02/ubuntu-11.10-virtualbox-additions-3.png" alt="" border="0" class="centered" /></p>
<p><strong>4) </strong>A terminal will pop up and inside will be a message about not being able to find the headers. Don&#8217;t worry about it:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/02/ubuntu-11.10-virtualbox-additions-4.png" alt="" border="0" class="centered" /></p>
<p><strong>5) </strong>The guest additions will be compiled. This takes several minutes (how long depends on how fast your machine is, how much memory the virtual machine has, etc). Once it is done, you will see a message instructing you to press <u>Enter</u> to close the terminal:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/02/ubuntu-11.10-virtualbox-additions-5.png" alt="" border="0" class="centered" /></p>
<p><strong>6) Go</strong> to the <u>System Tools</u> icon in the top right corner and <strong>select</strong> <u>Shut Down</u>:</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/02/ubuntu-11.10-virtualbox-additions-6.jpg" width="480" height="312" alt="" border="0" class="centered" /></p>
<p><strong>7) Choose</strong> to either <u>Shut Down</u> or <u>Restart</u> the system (it doesn&#8217;t matter which):</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/02/ubuntu-11.10-virtualbox-additions-7.png" alt="" border="0" class="centered" /></p>
<p>Once the virtual machine restarts, the guest additions will be installed and integrated.</p>
<p><br />
<a name="tips"></a></p>
<h1>When <u>Install Guest Additions&#8230;</u> Doesn&#8217;t Work</h1>
<p>On rare occasions, I have found that Ubuntu doesn&#8217;t start the install process after <strong>step 1)</strong> above. One of these two techniques should allow you to get around that.</p>
<h2>Trick 1</h2>
<p><strong>1) Click</strong> on the disk near the bottom of the Unity ribbon &#8211; it&#8217;s just above the trash can:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/03/ubuntu-11.10-virtualbox-additions-problem-1.png" alt="" border="0" class="centered" /></p>
<p><strong>2) Click</strong> on <u>Open Autorun Prompt</u> and then continue from <strong>step 2)</strong> above:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/03/ubuntu-11.10-virtualbox-additions-problem-2.png" alt="" border="0" class="centered" /></p>
<h2>Trick 2</h2>
<p><strong>1) Click</strong> on the <u>Folder</u> icon:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/03/Ubuntu-11.10-virtualbox-additions-problem-3a.png" alt="" border="0" class="centered" /></p>
<p><strong>2) Click </strong> on <u>File System</u>, then <strong>double-click</strong> on the <u>media</u> folder:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/03/Ubuntu-11.10-virtualbox-additions-problem-3b.png" alt="" border="0" class="centered" /></p>
<p><strong>3) Double-click</strong> the <u>VBOXADDITIONS</u> icon:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/03/ubuntu-11.10-virtualbox-additions-problem-3.png" alt="" border="0" class="centered" /></p>
<p><strong>4) Click</strong> on <u>Open Autorun Prompt</u> and then continue from <strong>step 2)</strong> above:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2012/03/ubuntu-11.10-virtualbox-additions-problem-2.png" alt="" border="0" class="centered" /></p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-installing-virtualbox-guest-additions/">Ubuntu 11.10 &#8211; Installing VirtualBox Guest Additions</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-installing-virtualbox-guest-additions/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Why aren&#039;t there Linux Upgrades?</title>
		<link>https://complete-concrete-concise.com/blog/why-arent-there-linux-upgrades/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Mon, 28 Nov 2011 18:43:55 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[edubuntu]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[lxde]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xfce]]></category>
		<category><![CDATA[xubuntu]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/blog/why-arent-there-linux-upgrades</guid>

					<description><![CDATA[<p>Over the past few weeks, I&#8217;ve been playing with various Linux distros &#8211; focussing on Ubuntu based distros. After a while, you start to see how similar they all are. In fact, they are just custom tailored versions of Ubuntu (which itself is a custom version of Debian). They come with a customized GUI, have [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/blog/why-arent-there-linux-upgrades/">Why aren&#039;t there Linux Upgrades?</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Over the past few weeks, I&#8217;ve been playing with various Linux distros &#8211; focussing on Ubuntu based distros.</p>
<p>After a while, you start to see how similar they all are. In fact, they are just custom tailored versions of Ubuntu (which itself is a custom version of Debian). They come with a customized GUI, have their own look and feel (and pretty background picture), but ultimately rely on the Ubuntu Software Center and Software Updates to keep running. One I tried out, Elementary OS, even prompted me to upgrade to Ubuntu 11.04.</p>
<p>Two days ago, Linux Mint, released version 12 of its OS. I thought that was a bad idea. Not because I think there is anything wrong with Linux Mint &#8211; it&#8217;s a fine distro, just like many other Linux distros.</p>
<p>I thought it was a bad idea because the average person isn&#8217;t interested in installing a particular Linux distribution. They are interested in installing an Operating System (OS), applications and using that combination to do work. If they already have a Linux distro installed, then then they aren&#8217;t interested in replacing it, but upgrading it. </p>
<p>This is why Ubuntu was nice. When a new version came along, you could upgrade to it and keep all your data and applications.</p>
<p>When a new Linux distro comes out, you don&#8217;t have the option of upgrading, you have to delete your old installation (along with applications and data), install the new Linux distro, reinstall all the applications you were using and, finally, restore all your data. whew! That is way too much work for the average user.</p>
<p>When Ubuntu 11.10 came out, a lot of people were unhappy that Unity was the default interface (sure, you can change it, I even wrote instructions for it <a href="//complete-concrete-concise.com/blog/ubuntu-11-10-replacing-the-unity-interface">here</a>). It was not possible to roll back the upgrade. This has caused Ubuntu to drop in popularity and other distros (like Linux Mint) to rise in popularity. Unfortunately, if Ubuntu is your main work computer, it has YOUR apps installed, it has YOUR data, it is configured to work the way YOU like it, why in the world would you want to destroy all that just so you can install a different Linux distro? It doesn&#8217;t make sense.</p>
<p>A better option, and one I haven&#8217;t seen exploited, would be to provide &#8220;upgrades&#8221; from one distro to another. If you are unhappy with Ubuntu 11.10 and Unity, then why not be able to &#8220;upgrade&#8221; to Linux Mint 12?</p>
<p>The reason is simple, each distro reflects a different approach or philosophy. Some focus on being lean, others focus on being cutting edge, others focus on being &#8220;pure&#8221; (in the sense of no proprietary software). Being able to install a &#8220;lean&#8221; distro over one considered &#8220;bloated&#8221; would kind of negate the reason for the lean distro to exist.</p>
<p>It could be argued that what I&#8217;m really going on about is just installing a new Window Manager or desktop (like GNOME or KDE or LXDE or XFCE) &#8211; which is pretty much true. Most users don&#8217;t care what&#8217;s under the hood, they care about how they interact with it &#8211; the look and feel.</p>
<p>Is Linux Mint interested in releasing a Linux Mint Desktop package for Ubuntu? Or Elementary OS in releasing an Elementary OS Desktop for Ubuntu? Or any other Ubuntu derivative interested in releasing their desktop to run on Ubuntu? Probably not &#8211; why would they want to position themselves as nothing more than an add-on to Ubuntu? The only Ubuntu derivative desktops you can install on Ubuntu are Edubuntu, Kubuntu, Lubuntu, and Xubuntu (which are all official Ubuntu derivatives).</p>

<p>The post <a href="https://complete-concrete-concise.com/blog/why-arent-there-linux-upgrades/">Why aren&#039;t there Linux Upgrades?</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu 11.10 &#8211; How to get a Command Line, Shell, or Terminal</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-get-a-command-line-shell-or-terminal/</link>
					<comments>https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-get-a-command-line-shell-or-terminal/#comments</comments>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Wed, 09 Nov 2011 19:34:07 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[opening]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-get-a-command-line-shell-or-terminal</guid>

					<description><![CDATA[<p>This article was updated for Ubuntu 12.04. The new article can be found here. These instructions are for Ubuntu 11.10 using the Unity interface. Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands. Often, when searching the Internet for a solution [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-get-a-command-line-shell-or-terminal/">Ubuntu 11.10 &#8211; How to get a Command Line, Shell, or Terminal</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c4">
<p>This article was updated for Ubuntu 12.04. The new article can be found <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-how-to-get-a-command-line-shell-or-terminal">here</a>.</div>
<div class="c1">
<p>These instructions are for Ubuntu 11.10 using the Unity interface.
</p>
<div class="c2">
<p>Linux (of which Ubuntu is a flavour) and it&#8217;s inspiration Unix, have a strong emphasis and tradition of doing everything via typed commands.</p>
<p>Often, when searching the Internet for a solution to a problem, you often find terse (possibly cryptic) answers along the lines of:</p>
<blockquote><p>Test if you can reach Google with <code>ping -c 4 google.com</code></p></blockquote>
<p>or</p>
<blockquote><p>To recursively change your file permissions just: <code>chmod 755 -R /opt/lampp/htdocs</code></p></blockquote>
<p>In order to run those commands, you have to open a shell or command line or terminal (they are all synonymous, but <u>shell</u> is the preferred term in Linux and Unix circles).</p>
<div class="c3">
<p>There are many different shells, the original Unix shell is called the Bourne Shell (or <code>sh</code>), then came the C Shell (<code>csh</code>) and Korn Shell (<code>ksh</code>). Linux tends to use the Bourne Again Shell (<code>bash</code>). For the most part, they all do the same thing, so you don&#8217;t need to worry about which one you are using.</p>
<p>If you want to know which shell you are using, just enter <code>echo $SHELL</code> and press Enter.</p>
</div>
</div>
</div>
<div class="c1">
<p><strong>TIP:</strong> If you find a command line solution / trick / tip for a non-Ubuntu Linux distribution, there is a good chance (though not 100% guaranteed) that it might work with Ubuntu.</p>
<p>If you get a <code>Permission denied</code> or <code>Are you root?</code> response when you type in the command, try prefixing the command with <code>sudo</code>. Ubuntu requires administrator level privileges for certain commands. <code>sudo</code> temporarily gives administrator privileges (after you supply your password).</p>
</div>
<h1>Opening a Terminal using a Keyboard Shortcut</h1>
<div class="c2">
<p>This is the default keyboard shortcut for Ubuntu 11.10 (and probably previous Ubuntu releases) running the GNOME / Unity desktop, unless you (or someone else) has changed it, it should work.</p>
<p>This also the default keyboard shortcut if you have changed your desktop environment to GNOME Shell, LXDE, or the Lubuntu Desktop and will work unless you (or someone else) has changed it.</p>
<p>This will <strong>NOT</strong> work for the XFCE or Xubuntu Desktop unless you (or someone else) has added the keyboard shortcut.</p>
</div>
<p>You can access the terminal by using the keyboard shortcut: <code>ctrl + alt + T</code> (while pressing down the <code>ctrl</code> and <code>alt</code> key at the same time, press the <code>T</code> key as if you were going to type the letter T, there is no need to hold it down).</p>
<h1>Opening a Terminal from Unity</h1>
<p><strong>1) Click</strong> on the Dash icon (or use the keyboard shortcut by pressing the Windows key):</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/ubuntu-11.10-apt-get-install-1.jpg" width="132" height="370" alt="" border="0" class="centered"/></p>
<p><strong>2) Type</strong> terminal into the entry field:</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/ubuntu-11.10-apt-get-install-2.jpg" width="480" height="324" alt="" border="0" class="centered"/></p>
<p><strong>3) Click</strong> on the terminal icon:</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/ubuntu-11.10-apt-get-install-3.jpg" width="480" height="324" alt="" border="0" class="centered"/></p>
<h1>Opening a Terminal if You are not Using Unity</h1>
<p>Because there are many different types of desktops available for Linux, it is not possible to list all possible ways to start the terminal. However &#8230; the general technique is the same:</p>
<p><strong>1) Open</strong> the <u>Main Menu</u> or <u>Applications Menu</u> (or whatever the main menu for your environment is called).</p>
<p><strong>2)</strong> If you are lucky, there will be a menu entry for a terminal (it might be called <u>Terminal</u> or <u>LXTerminal</u> or something else with <code>terminal</code> in the name.</p>
<p><strong>3)</strong> If you are unlucky, then you will have to look for it in a submenu. It is most likely to be found in either the submenu <u>Accessories</u> or <u>System</u></p>
<div class="c2">
<p><strong>NOTE:</strong> You may have more than one terminal application installed or the terminal application may appear in more than one menu location.</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-get-a-command-line-shell-or-terminal/">Ubuntu 11.10 &#8211; How to get a Command Line, Shell, or Terminal</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-get-a-command-line-shell-or-terminal/feed/</wfw:commentRss>
			<slash:comments>26</slash:comments>
		
		
			</item>
		<item>
		<title>Wubi &#8211; First Impression &#8211; Fail</title>
		<link>https://complete-concrete-concise.com/blog/wubi-first-impression-fail/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Mon, 07 Nov 2011 10:29:38 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[bad]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[impression]]></category>
		<category><![CDATA[not working]]></category>
		<category><![CDATA[service pack 3]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows xp]]></category>
		<category><![CDATA[wubi]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/blog/wubi-first-impression-fail</guid>

					<description><![CDATA[<p>A visitor (who was kind enough to leave a comment) brought Wubi to my attention. Wubi allows you to dual-boot your system between Windows and Ubuntu without having to repartition your hard disk. It does this by creating a large file on your Windows system that it uses as if it was its own personal [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/blog/wubi-first-impression-fail/">Wubi &#8211; First Impression &#8211; Fail</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>A visitor (who was kind enough to leave a comment) brought <a href="http://www.ubuntu.com/download/ubuntu/windows-installer">Wubi</a> to my attention.</p>
<p>Wubi allows you to dual-boot your system between Windows and Ubuntu without having to repartition your hard disk.</p>
<p>It does this by creating a large file on your Windows system that it uses as if it was its own personal hard disk.</p>
<p>Thinking this sounded cool and would allow me to try out Ubuntu on real hardware rather than in a VirtualBox virtual machine, I downloaded it.</p>
<p>According to the Ubuntu documentation all I need to do is:</p>
<blockquote><p>Run Wubi, insert a password for the new account, adjust other settings such as the disk space, and click &#8220;install&#8221;.</p></blockquote>
<p>The whole Wubi experience fell apart as soon as I ran <code>wubi.exe</code> &#8211; it kept throwing up these errors:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/wubi-installer-first-error.png" alt="" border="0" class="centered"/></p>
<p>I&#8217;m not sure how many times the message came up. I was estimating 30-40 times (because I didn&#8217;t count). However, I got the same error message when I uninstalled Wubi (and I counted): the message popped up 94 + 24 times (they came in two separate batches).</p>
<p>After the error messages ended, I got to the install screen and it looked like the one on the <a href="https://wiki.ubuntu.com/WubiGuide">Wubi page</a>. I filled in the information and it proceeded to download Ubuntu 11.10 (AMD64 version). So far, so good everything appeared normal. Well &#8230; except for the funky colour scheme on the install dialog. I&#8217;m not sure what sort of font anti-aliasing technique they were using, but the text in the box looked awful:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/wubi-installer-funky-colours.png" alt="" border="0" class="centered"/></p>
<p>It is more evident in this cropped and zoomed in image:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/wubi-installer-funky-colours-2.png" alt="" border="0" class="centered"/></p>
<p>After the install, I actually had an <code>\ubuntu</code> directory and a number of folders and files in it totalling about 8GB.</p>
<p>After restarting my computer, I didn&#8217;t get the expected OS booting options &#8211; I booted straight into XP. The same when I shut down my computer, then started it up.</p>
<p>I ran the uninstaller and it gave me the same <code>Windows - No Disk</code> message I got on startup.</p>
<p>Despite the errors, it did remove the <code>\ubuntu</code> directory.</p>
<p>Thinking it might be my system (Windows XP with Service Pack 3), I checked <a href="https://wiki.ubuntu.com/WubiGuide#Which_Operating_Systems_are_supported.3F">Ubuntu&#8217;s site</a> and:</p>
<blockquote><p>Windows 7, Vista, XP, and 2000 are known to work with Wubi. Windows 98 should also work, but has not been thoroughly tested. Windows ME is not supported. </p></blockquote>
<p>All I can say is: <strong>the latest version of Wubi does not work with Windows XP + Service Pack 3</strong>.</p>
<div class="c1">
<p>I was very impressed with Ubuntu 11.04 and felt that at least one Linux distro finally made it &#8220;mainstream&#8221;. However, the problems with Ubuntu 11.10, the Unity interface debacle (they should allow users the option of using a standard interface AND provide some sort of interactive tutorial on how to use Unity), and now this total failure of Wubi has eroded my positive impressions from 11.04.</p>
<p>Over the past few weeks, I have returned to my original impression that Linux will never be a mainstream OS because it doesn&#8217;t treat the user experience as important &#8211; users want an appliance, they don&#8217;t want to have to tinker with it, they don&#8217;t want to have to troubleshoot, they just want to be able to use it.</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/blog/wubi-first-impression-fail/">Wubi &#8211; First Impression &#8211; Fail</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<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>
		<item>
		<title>Ubuntu 11.10 &#8211; Understanding sudo apt-get install &#8230;</title>
		<link>https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-understanding-sudo-apt-get-install/</link>
					<comments>https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-understanding-sudo-apt-get-install/#comments</comments>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Tue, 01 Nov 2011 03:35:08 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[understanding]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/web-tools/ubuntu-11-10-understanding-sudo-apt-get-install</guid>

					<description><![CDATA[<p>This tutorial is for Ubuntu 11.10, however, it should be the same for other versions of Ubuntu (and derivatives, like edubuntu, kubuntu, lubuntu, and xubuntu) and other Linux distributions based on Debian. However, no guarantee is made. What makes Ubuntu very easy to use is the Ubuntu Software Center which allows users an easy way [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-understanding-sudo-apt-get-install/">Ubuntu 11.10 &#8211; Understanding sudo apt-get install &#8230;</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 is for Ubuntu 11.10, however, it should be the same for other versions of Ubuntu (and derivatives, like edubuntu, kubuntu, lubuntu, and xubuntu) and other Linux distributions based on Debian. </p>
<p>However, no guarantee is made.</p>
</div>
<p>What makes Ubuntu very easy to use is the Ubuntu Software Center which allows users an easy way to select and install or remove packages (usually programs).</p>
<p>However, when you search the web looking for help with Ubuntu, often times you see something to the effect of:</p>
<div class="c2">
<p>Enter the following command:</p>
<p><code>sudo apt-get install lubuntu-desktop</code></div>
<p>While this is clear for those who know what it means, I believe the majority of Ubuntu users are those who want a simple to install and use Linux OS &#8211; they are not interested in lower level details of managing their system.
</p>
<div class="c2">
<p>In most cases, you can enter the package name into the Ubuntu Software Center and install it that way. For example, if you found the instructions: <code>sudo apt-get install lubuntu-core</code> and didn&#8217;t want to use <code>apt-get</code> you could enter <code>lubuntu-core</code> into the search field of Ubuntu Software Center and select the appropriate package from there.</p>
</div>
<h1>Advantages of using apt-get</h1>
<p>When you use the Ubuntu Software Manager, all the details of the installation are hidden from you &#8211; you don&#8217;t know if you are installing just one package or twelve.</p>
<p>Using <code>apt-get</code>, you can see which packages are going to be installed. This also makes it easier to know which packages to uninstall if you uninstall later. </p>
<div class="c2">
<p>A common complaint about Microsoft Windows is that applications often install a lot of junk that is not removed when the application is uninstalled. Ubuntu isn&#8217;t any better in this regard. This is because installers and uninstallers are hard to write &#8211; when you uninstall you don&#8217;t want to accidentally remove packages or files that some other application is using, so uninstallers tend to be conservative and leave stuff behind.</p>
</div>
<p>Another advantage of using <code>apt-get</code> instead of the Ubuntu Software Center is that <code>apt-get</code> allows you to install multiple packages with a single command. With the Ubuntu Software Center you need to install each package separately.</p>
<p>For example, if I want to install the astronomy packages <u>Stellarium </u>and <u>Celestia GNOME</u> using the Ubuntu Software Center, I need to install each separately. Using <code>apt-get</code>, I can install both from the same command by separating them with a space:</p>
<p><pre>sudo apt-get install stellarium celestia-gnome</pre>
<h1>What it is</h1>
<p>The command is really two commands:</p>
<ol>
<li><code>sudo</code> &#8211; a command to grant <strong>s</strong>uper <strong>u</strong>ser access to the system. Ubuntu is configured to prevent administrative (or system level) changes to the operating system. This is a security measure. <code>sudo</code> allows a user to temporarily override this behaviour.</li>
<li><code>apt-get</code> &#8211; the <strong>A</strong>dvanced <strong>P</strong>ackaging <strong>T</strong>ool which allows users to install, remove, and update packages on their system.</li>
</ol>
<h1>Using apt-get</h1>
<div class="c3">
<p>Instructions on how to open a terminal can be found <a href="//complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-how-to-get-a-command-line-shell-or-terminal">here</a>.</p>
</div>
<p>1<strong>) Type</strong> the command and press <u>Enter</u> (in this case, I am installing the package <code>stellarium</code>):</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/ubuntu-11.10-apt-get-install-4.jpg" width="480" height="94" alt="" border="0" class="centered"/></p>
<p><strong>2) Type</strong> your password and press <u>Enter</u>. <span class="i1">Note: as a security measure, your keystrokes are not echoed back to you. You will be typing, but see no feedback on the screen. While weird, this is normal.</span></p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/ubuntu-11.10-apt-get-install-5.jpg" width="480" height="80" alt="" border="0" class="centered"/></p>
<p><strong>3) Examine</strong> the install information (if you like):</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/ubuntu-11.10-apt-get-install-6.jpg" width="480" height="188" alt="" border="0" class="centered"/></p>
<p>The install information shows you the following:</p>
<ul>
<li>Any extra packages that will be installed along with the selected package (yellow)</li>
<li>The list of packages to be installed this includes the package you are installing along with any extra packages needed (green)</li>
<li>A summary of (1) number of packages being upgraded, (2) number of new packages being installed, (3) number of packages being removed, (4) number of packages that are unaffected (red)</li>
<li>How large the download will be (blue)</li>
<li>How much disk space will be used by the installation (grey)</li>
</ul>
<div class="c2">
<p><code>apt-get</code> <em>may </em>display additional information, but, for this tutorial, it is not relevant.</p>
</div>
<p>4) If you want to go ahead with the installation, press <u>Enter</u>. If you changed your mind, type <u>n</u> (upper or lower case &#8211; it doesn&#8217;t matter) and press <u>Enter</u>,</p>
<p><strong>5) Wait</strong> for the installation to finish. During installation, you will see downloading information and installation information:</p>
<p><img loading="lazy" decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/11/ubuntu-11.10-apt-get-install-7.jpg" width="480" height="276" alt="" border="0" class="centered"/><br />
</p>
<p>The post <a href="https://complete-concrete-concise.com/ubuntu-2/ubuntu-11-10-understanding-sudo-apt-get-install/">Ubuntu 11.10 &#8211; Understanding sudo apt-get install &#8230;</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-understanding-sudo-apt-get-install/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
