Keeping Bodhi Linux Up-to-Date
Revision for “Keeping Bodhi Linux Up-to-Date” created on May 1, 2023 @ 17:34:22
Title | Keeping Bodhi Linux Up-to-Date |
---|---|
Content | <h1>How to update Bodhi Linux</h1>
There are many reasons to keep your Bodhi Linux fully updated/patched - improved functionality, bug fixes, and increased security (to name a few!).
Let's get started!
<h2>Using the Command Line</h2>
To use the command line via a terminal emulator (Bodhi Linux utilizes <a href="https://www.bodhilinux.com/w/wiki/terminology/">Terminology</a>) to update/upgrade your system, navigate to <em>Main Menu > Applications > System Tools > Terminology</em>
From here type:
<pre>sudo apt update && sudo apt dist-upgrade</pre>
<p style="padding-left: 30px;"><em>Note: you may use <code>upgrade</code> or <code>dist-upgrade</code><strong> - </strong>both are explained below</em></p>
<em>What did I just type?</em>
Here is a brief explanation of the commands you just entered into your terminal:
<code>sudo</code> – <em>superuser do</em> - allows a user to run commands/programs with the privileges of another user, by default root or admin - use when programs request "elevated privileges"
<p style="padding-left: 30px;"><em>Note: In Bodhi Linux, the sudo password is your login password by default
</em></p>
<code>apt</code> – <em>Advanced Package Tool</em> - used to get and install packages/programs - replaces <em>apt-get</em>
<code>update</code> – lets package manager know about available packages/programs and their versions; does not install anything
<code>upgrade</code> – will upgrade versions for packages/programs from the update but will not remove anything nor update dependencies not already installed
<code>dist-upgrade</code> – will upgrade versions for packages/programs and will intelligently install/remove packages as necessary to complete the upgrade
That's it! Simple!
Now that you know how to update your system, why not check out software in our <a href="https://www.bodhilinux.com/a/">AppCenter</a>?
<h2>Using Synaptic Package Manager</h2>
The <a href="https://www.bodhilinux.com/w/synaptic-package-manager/">Synaptic Package Manager</a> is a utility that may be used to manage all aspects of software packages. One aspect is to update/upgrade packages. To find out more and how to use, see: How to <a href="https://www.bodhilinux.com/w/synaptic-package-manager/#Update_all_Packages">Update All Package(s)</a>
<h2>How often should I update?</h2>
Unlike some other operating systems that push updates on certain days of the month/weekly/etc, Linux is updated as vulnerabilities are discovered, bugs are uncovered or someone wants to add a great new feature to a piece of software.
To maintain a patched system, it is recommended that you run these commands regularly to ensure your system is up to date (<em>say, weekly?</em>). Many Bodhi Linux users check for updates every day or each time they boot.
<p style="padding-left: 30px;"><em>Tip: Have a difficult time remembering commands? Pressing the ↑ (up arrow) key in <a href="https://www.bodhilinux.com/w/terminology/">Terminology</a> will display commands your have previous run from your terminal history - press up until you find your needed command/s!
</em></p>
<a href="https://www.bodhilinux.com/" data-rich-text-format-boundary="true">Bodhi Linux Home</a><br data-rich-text-line-break="true" /><a href="https://www.bodhilinux.com/w/wiki/">Bodhi Linux – Wiki Home Page</a><br data-rich-text-line-break="true" /><a href="https://www.bodhilinux.com/w/bodhi-linux-how-to/">Bodhi Linux – Wiki Table of Contents</a> |
Excerpt |