{"id":11724,"date":"2019-03-16T00:42:40","date_gmt":"2019-03-16T00:42:40","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11724"},"modified":"2019-03-16T00:42:40","modified_gmt":"2019-03-16T00:42:40","slug":"how-to-upgrade-to-ubuntu-18-04-bionic-beaver","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/16\/how-to-upgrade-to-ubuntu-18-04-bionic-beaver\/","title":{"rendered":"How to Upgrade to Ubuntu 18.04 Bionic Beaver"},"content":{"rendered":"<p><strong>Ubuntu 18.04<\/strong>\u00a0<strong>LTS<\/strong>\u00a0(codenamed \u201c<strong>Bionic Beaver<\/strong>\u201d) stable version has been released. It will be supported for 5 years until April 2023.<\/p>\n<p>In this article, we will explain how to upgrade to\u00a0<strong>Ubuntu 18.04 Bionic Beaver<\/strong>\u00a0from\u00a0<strong>Ubuntu 16.04 LTS<\/strong>\u00a0or 17.10.<\/p>\n<h4>What\u2019s New in Ubuntu 18.04<\/h4>\n<p>Before we proceed to the upgrade instructions, let\u2019s look at some of the base system new features and changes in\u00a0<strong>18.04<\/strong>:<\/p>\n<ul>\n<li>Ships in with Linux kernel 4.15.<\/li>\n<li>OpenJDK 10 is the default JRE\/JDK.<\/li>\n<li>Gcc is now set to default to compile applications.<\/li>\n<li>The default CIFS\/SMB protocol version change in CIFS mounts.<\/li>\n<li>Supports mitigations to protect against Spectre and Meltdown.<\/li>\n<li>Bolt and thunderbolt-tools have been promoted to main.<\/li>\n<li>Libteam which is available in the Network manager, offers teaming support.<\/li>\n<li>Systemd-resolved is the default resolver.<\/li>\n<li>ifupdown has been deprecated in favor of netplan.io, in new installs.<\/li>\n<li>networkctl command can be used to view a summary of network devices.<\/li>\n<li>GPG binary is provided by gnupg2.<\/li>\n<li>Swap file will be used by default instead of a swap partition, in new installs.<\/li>\n<li>Python 2 is no longer comes preinstalled, and Python 3 has been updated to 3.6.<\/li>\n<li>For new installs, the installer no longer offers the encrypted home option using ecryptfs-utils.<\/li>\n<li>OpenSSH no longer uses RSA keys smaller than 1024 bits and much more under desktop and server versions.<\/li>\n<\/ul>\n<p><strong>Warning<\/strong>: Start by backing up your existing Ubuntu installation or important files (documents, images and many more), before performing an upgrade. This is recommended because, sometimes, upgrades do not go well as planned.<\/p>\n<p><center>A backup will ensure that your data remains intact, and you can recover it, in case of any failures during the upgrade process, that could lead to data loss.<\/center><\/p>\n<h3>Upgrade to Ubuntu 18.04 Desktop<\/h3>\n<p><strong>1.<\/strong>\u00a0First of all, ensure that your existing Ubuntu system is up-to-date, otherwise run the commands below to update the apt package source cache and perform an upgrade of installed packages, to the latest versions.<\/p>\n<pre>$ sudo apt update\r\n$ sudo apt upgrade \r\n<\/pre>\n<p>Then, restart your system to finish installing the updates.<\/p>\n<p><strong>2.<\/strong>\u00a0Next, launch the \u201c<strong>Software &amp; Updates<\/strong>\u201d application from\u00a0<strong>System Settings<\/strong>.<\/p>\n<div id=\"attachment_29230\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Ubuntu-Software-and-Updates.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29230\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Ubuntu-Software-and-Updates.png\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Ubuntu-Software-and-Updates.png 818w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Ubuntu-Software-and-Updates-768x362.png 768w\" alt=\"Ubuntu Software and Updates\" width=\"818\" height=\"386\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Ubuntu Software and Updates<\/p>\n<\/div>\n<p><strong>3.<\/strong>\u00a0Then click on the third Tab \u201c<strong>Updates<\/strong>\u201d.<\/p>\n<div id=\"attachment_29231\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Select-Updates.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29231\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Select-Updates.png\" sizes=\"auto, (max-width: 1009px) 100vw, 1009px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Select-Updates.png 1009w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Select-Updates-768x476.png 768w\" alt=\"Select Updates\" width=\"1009\" height=\"625\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Updates<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0Next, On Ubuntu\u00a0<strong>17.04<\/strong>, set the \u201c<strong>Notify me of a new Ubuntu version<\/strong>\u201d dropdown menu to \u201c<strong>For any new version<\/strong>\u201d. You will be asked to authenticate, enter your password to continue. On\u00a0<strong>Ubuntu 16.04<\/strong>, leave this setting to \u201c<strong>For long-term support versions<\/strong>\u201d.<\/p>\n<div id=\"attachment_29232\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Notify-New-Ubuntu-Version.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29232\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Notify-New-Ubuntu-Version.png\" sizes=\"auto, (max-width: 997px) 100vw, 997px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Notify-New-Ubuntu-Version.png 997w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Notify-New-Ubuntu-Version-768x475.png 768w\" alt=\"Notify New Ubuntu Version\" width=\"997\" height=\"617\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Notify New Ubuntu Version<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0Then search for \u201c<strong>Software Updater<\/strong>\u201d and launch it or open a terminal and run the\u00a0<strong>update-manager<\/strong>\u00a0command as shown.<\/p>\n<pre>$ update-manager -cd \r\n<\/pre>\n<p>The update manager should open up and inform you like this:\u00a0<strong>New distribution release \u201818.04\u2019 is available<\/strong>.<\/p>\n<div id=\"attachment_29233\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Run-Update-Manager.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29233\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Run-Update-Manager.png\" alt=\"Run Update Manager\" width=\"736\" height=\"439\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Run Update Manager<\/p>\n<\/div>\n<p><strong>6.<\/strong>\u00a0Next, click on \u201c<strong>Upgrade<\/strong>\u201d and enter your password to continue. Then you will be shown the\u00a0<strong>Ubuntu 18.04<\/strong>release notes page. Read through it and click\u00a0<strong>Upgrade<\/strong>.<\/p>\n<div id=\"attachment_29234\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Upgrade-to-Ubuntu-18.04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29234\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Upgrade-to-Ubuntu-18.04.png\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Upgrade-to-Ubuntu-18.04.png 797w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Upgrade-to-Ubuntu-18.04-768x570.png 768w\" alt=\"Upgrade to Ubuntu 18.04\" width=\"797\" height=\"592\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Upgrade to Ubuntu 18.04<\/p>\n<\/div>\n<p><strong>7.<\/strong>\u00a0Now your upgrade process will start as shown in the following screenshot.<\/p>\n<div id=\"attachment_29235\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Ubuntu-Upgrade-Process.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29235\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Ubuntu-Upgrade-Process.png\" alt=\"Ubuntu Upgrade Process\" width=\"731\" height=\"442\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Ubuntu Upgrade Process<\/p>\n<\/div>\n<p><strong>8.<\/strong>\u00a0Read the details of the upgrade and confirm that you want to upgrade by clicking on \u201c<strong>Start Upgrade<\/strong>\u201d.<\/p>\n<div id=\"attachment_29236\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Start-Ubuntu-Upgrade.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29236\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Start-Ubuntu-Upgrade.png\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Start-Ubuntu-Upgrade.png 796w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Start-Ubuntu-Upgrade-768x530.png 768w\" alt=\"Start Ubuntu Upgrade\" width=\"796\" height=\"549\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Start Ubuntu Upgrade<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0Once you have confirmed that you want the upgrade, the\u00a0<strong>update manager<\/strong>\u00a0will start downloading\u00a0<strong>Ubuntu 18.04<\/strong>\u00a0packages as shown in the following screenshot. When all packages have been retrieved, the process can not be canceled. You can click on \u201c<strong>Terminal<\/strong>\u201d to see how the upgrade process is unfolding.<\/p>\n<div id=\"attachment_29237\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Downloading-Ubuntu-18.04-Packages.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29237\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Downloading-Ubuntu-18.04-Packages.png\" alt=\"Downloading Ubuntu 18.04 Packages\" width=\"730\" height=\"443\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Downloading Ubuntu 18.04 Packages<\/p>\n<\/div>\n<p><strong>10.<\/strong>\u00a0Afterwards, all the\u00a0<strong>Ubuntu 18.04<\/strong>\u00a0packages will be installed on the system (this will take some time), then you will be asked to either remove or keep obsolete packages. After clean up and restart the system to complete the upgrade.<\/p>\n<div id=\"attachment_29238\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/restart-machine-to-complete-upgrade.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29238\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/restart-machine-to-complete-upgrade.png\" sizes=\"auto, (max-width: 790px) 100vw, 790px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/restart-machine-to-complete-upgrade.png 790w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/restart-machine-to-complete-upgrade-768x579.png 768w\" alt=\"Restart Ubuntu to Complete Upgrade\" width=\"790\" height=\"596\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Restart Ubuntu to Complete Upgrade<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0Then, you can login and start using\u00a0<strong>Ubuntu 18.04 LTS<\/strong>.<\/p>\n<div id=\"attachment_29239\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/log-into-ubuntu-18.04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29239\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/log-into-ubuntu-18.04.png\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/log-into-ubuntu-18.04.png 797w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/log-into-ubuntu-18.04-768x573.png 768w\" alt=\"Ubuntu 18.04 Login\" width=\"797\" height=\"595\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Ubuntu 18.04 Login<\/p>\n<\/div>\n<div id=\"attachment_29241\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/ubuntu-18.04-Desktop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29241\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/ubuntu-18.04-Desktop.png\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/ubuntu-18.04-Desktop.png 797w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/ubuntu-18.04-Desktop-768x577.png 768w\" alt=\"Ubuntu 18.04 Desktop\" width=\"797\" height=\"599\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Ubuntu 18.04 Desktop<\/p>\n<\/div>\n<div id=\"attachment_29240\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/ubuntu-18.04-Summary.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29240\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/ubuntu-18.04-Summary.png\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/ubuntu-18.04-Summary.png 793w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/ubuntu-18.04-Summary-768x577.png 768w\" alt=\"Ubuntu 18.04 Summary\" width=\"793\" height=\"596\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Ubuntu 18.04 Summary<\/p>\n<\/div>\n<h3>Upgrade to Ubuntu 18.04 Server<\/h3>\n<p>If you do not have physical access to your server, the upgrade can be performed over SSH, though this method has one major limitation; in case of loss of connectivity, it is harder to recover. However, the\u00a0<a href=\"https:\/\/www.tecmint.com\/screen-command-examples-to-manage-linux-terminals\/\" target=\"_blank\" rel=\"noopener\">GNU screen program<\/a>\u00a0is used to automatically re-attach in case of dropped connection problems.<\/p>\n<p><strong>1.<\/strong>\u00a0Begin by installing the\u00a0<strong>update-manager-core<\/strong>\u00a0package, if it is not already installed as shown.<\/p>\n<pre>$ sudo apt install update-manager-core\r\n<\/pre>\n<p><strong>2.<\/strong>\u00a0Next, ensure that the prompt line in\u00a0<strong>\/etc\/update-manager\/release-upgrades<\/strong>\u00a0is set to\u00a0<code>normal<\/code>. If that is the case, launch the upgrade tool with the following command.<\/p>\n<pre>$ sudo do-release-upgrade \r\n<\/pre>\n<p><strong>3.<\/strong>\u00a0Then follow the on-screen instructions to continue.<\/p>\n<p>You can find more information, especially concerning changes in desktop and server releases, from the\u00a0<a href=\"https:\/\/wiki.ubuntu.com\/BionicBeaver\/ReleaseNotes#Official_flavors\" target=\"_blank\" rel=\"nofollow noopener\">Ubuntu 18.04 release notes<\/a>\u00a0page.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/upgrade-ubuntu-16-04-to-18-04\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 18.04\u00a0LTS\u00a0(codenamed \u201cBionic Beaver\u201d) stable version has been released. It will be supported for 5 years until April 2023. In this article, we will explain how to upgrade to\u00a0Ubuntu 18.04 Bionic Beaver\u00a0from\u00a0Ubuntu 16.04 LTS\u00a0or 17.10. What\u2019s New in Ubuntu 18.04 Before we proceed to the upgrade instructions, let\u2019s look at some of the base system &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/16\/how-to-upgrade-to-ubuntu-18-04-bionic-beaver\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Upgrade to Ubuntu 18.04 Bionic Beaver&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11724","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11724"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11724\/revisions"}],"predecessor-version":[{"id":11725,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11724\/revisions\/11725"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}