1677556920
Ubuntu 22.04 LTS (Jammy Jellyfish) was released on April 21, 2022, and it will be supported for five years. It comes with many new packages and major software upgrades, including the latest versions of OpenSSL, GCC, Python, Ruby, and PHP. This release is based on the Linux 5.15 LTS kernel and adds support for new hardware and filesystems.
The desktop edition comes with kernel v5.17, GNOME 42, and a new screenshot and screen recording tool.
This tutorial explains how to upgrade to Ubuntu 22.04 LTS from Ubuntu 20.04 or Ubuntu 21.10.
The upgrade operation must be run with superuser privileges. You need to be logged in as a root or a user with sudo privileges . Generally, the user that is created when Ubuntu is first installed has superuser privileges by default.
You can upgrade directly to version 22.04 from Ubuntu 20.04 or Ubuntu 21.10. If you run any previous release, you must first upgrade to Ubuntu 20.04 or 21.10.
Be sure you have a working Internet connection.
First and foremost, make sure you backup your data before starting the major upgrade of your operating system. If you are running Ubuntu on a virtual machine, it is best to take a complete system snapshot to quickly restore your machine in case the update goes wrong.
Before starting the release upgrade, it is recommended to update all your currently installed packages to their latest versions.
Packages marked as held back cannot be automatically installed, upgraded, or removed. This may cause issues during the upgrade process. To check whether there are held back packages on your systems, run:
sudo apt-mark showhold
An empty output means there are no held back packages.
If there are on hold
packages, you should unhold the packages with:
sudo apt-mark unhold package_name
Refresh the apt list and upgrade all installed packages:
sudo apt update
sudo apt upgrade
If the kernel is upgraded, reboot the machine, and once booted, log back in.
Perform a system upgrade:
sudo apt full-upgrade
apt full-upgrade
may remove some currently installed packages that prevents upgrading the system as a whole.
Remove old kernels and all automatically installed dependencies that are no longer needed by any package:
sudo apt --purge autoremove
Upgrading to the latest Ubuntu version is a pretty straightforward process. You can upgrade either from the command line with do-release-upgrade
or the GUI update tool.
We’ll perform the update from the command line, which should work for both Desktop and Server systems.
do-release-upgrade
is part of the “update-manager-core” package that is installed by default on most Ubuntu systems. If, for some reason, it is not installed on your system, install it with:
sudo apt install update-manager-core
Make sure default upgrade policy in the /etc/update-manager/release-upgrades
file is set to “Prompt=normal” or “Prompt=lts”. Otherwise, the upgrade process will not start.
If you are upgrading over ssh and run a firewall on your machine, you need to open the port 1022
temporarily:
sudo iptables -I INPUT -p tcp --dport 1022 -j ACCEPT
Start the upgrade process by entering:
sudo do-release-upgrade
The do-release-upgrade
command will disable all third-party repositories and change the apt list to point to the “jammy” repositories. You will be prompted several times to confirm that you want to continue with the upgrade. When asked whether you want the services to be automatically restarted during the upgrade type y
.
During the upgrade process, the command will ask you various questions, like whether you want to keep an existing configuration file or to install the package maintainer’s version. If you didn’t make any custom changes to the file, it should be safe to type Y
. Otherwise, is recommended to keep the current configuration. Read the questions carefully before making a selection.
The upgrade runs inside a GNU screen session and will automatically re-attach if connection drops.
The whole process may take some time depending on the number of updates and your Internet speed.
Once the new packages are installed, the update tool will ask you if you want to remove the obsolete software. If, you are not sure type d
and check the list of obsolete packages. Generally, it is safe to enter y
and remove all obsolete packages.
When the upgrade process is complete and assuming all went well, you’ll be asked to reboot your machine. Type y
to continue:
System upgrade is complete.
Restart required
To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.
Continue [yN] y
Wait for a few moments until your system boots up and log in.
If you are a desktop user, you will be greeted with a new graphical boot splash and login screen.
You can also check the Ubuntu version by entering the following command:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
That’s it. Enjoy your new Ubuntu 22.04 installation.
Upgrading to Ubuntu 22.04 LTS is a relatively easy and painless task.
If you encounter any error, visit the release notes page, which covers the known issues that might happen during the upgrade process.
Feel free to leave a comment if you have any questions.
Original article source at: https://linuxize.com/
1625719345
Ubuntu 21.04, codenamed Hirsute Hippo, is released on April 22, 2021. This tutorial is going to you 2 ways to upgrade Ubuntu 20.04/Ubuntu 20.10 to 21.04. The first method uses the graphical update manager and the second method uses command line. Usually, you use the graphical update manager to upgrade Ubuntu desktop and use the command line to upgrade Ubuntu server, but the command-line method works for desktops too.
Ubuntu 20.04 is a long-term support (LTS) release, which will be supported for 5 years. Ubuntu 21.04 is a non-LTS release, which means it will be supported for 9 months only, until January 2022. If you prefer stability over bleeding edge, then stick with Ubuntu 20.04. But if you are the other way around, you can follow this tutorial to upgrade from Ubuntu 20.04 to 21.04.
#ubuntu #ubuntu desktop #ubuntu server #upgrade #ubuntu 20.04
1591066673
This tutorial is going to you 2 ways to upgrade Ubuntu 18.04 and Ubuntu 18.10 to 19.04. The first method uses the graphical update manger and the second method uses command line. Usually you use the graphical update manager to upgrade Ubuntu desktop and use command line to upgrade Ubuntu server, but the command-line method works for desktops too.
#ubuntu #linux #ubuntu 19.04 #ubuntu desktop #ubuntu server
1595429220
Microsoft Teams is a communication platform used for Chat, Calling, Meetings, and Collaboration. Generally, it is used by companies and individuals working on projects. However, Microsoft Teams is available for macOS, Windows, and Linux operating systems available now.
In this tutorial, we will show you how to install Microsoft Teams on Ubuntu 20.04 machine. By default, Microsoft Teams package is not available in the Ubuntu default repository. However we will show you 2 methods to install Teams by downloading the Debian package from their official website, or by adding the Microsoft repository.
01- First, navigate to teams app downloads page and grab the Debian binary installer. You can simply obtain the URL and pull the binary using wget
;
$ VERSION=1.3.00.5153
$ wget https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_${VERSION}_amd64.deb
#linux #ubuntu #install microsoft teams on ubuntu #install teams ubuntu #microsoft teams #teams #teams download ubuntu #teams install ubuntu #ubuntu install microsoft teams #uninstall teams ubuntu
1596719640
Jenkins is an open-source automation server that helps to automate the repetitive tasks involved in the software development process, which includes building, testing, and deployments.
Jenkins was forked from the Oracle Hudson project and written in Java.
Here, we will see how to install Jenkins on Ubuntu 20.04 / Ubuntu 18.04.
Since Jenkins is written in Java, it requires Java 8 or Java 11 to run. Here, I will install the OpenJDK 11 for Jenkins installation.
sudo apt update
sudo apt install -y default-jre apt-transport-https wget
If you want to use the Oracle Java in place of OpenJDK, then use any one of the links to install it.
READ: How To Install Oracle Java on Ubuntu 20.04
READ: How To Install Oracle Java on Ubuntu 18.04
Verify the Java version after the installation.
java -version
Output:
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
Jenkins provides an official repository for its packages. To use the Jenkins repository, first, we will need to add the Jenkins public key to the system.
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
Then, add the Jenkins repository to your system.
echo "deb https://pkg.jenkins.io/debian-stable binary/" | sudo tee /etc/apt/sources.list.d/jenkins.list
Install Jenkins package using the apt command.
sudo apt update
sudo apt install -y jenkins
The Jenkins service should now be up and running. You can check the status of the Jenkins service using the below command.
sudo systemctl status jenkins
#ubuntu #jenkins #ubuntu 18.04 #ubuntu 20.04
1625711252
Add PHP Repository
Install PHP
Install PHP 8.0 on Ubuntu 20.04 / Ubuntu 18.04
Install PHP 7.x on Ubuntu 20.04 / Ubuntu 18.04
Verify PHP Version
PHP Support for Web Server
Both Apache and Nginx do not support PHP language by default when the browser requests the PHP page. So, we need to install the PHP module package to support PHP.
#ubuntu #php 8.0 #ubuntu 20.04 #ubuntu 18.04