Kernel 6.1 (6.1.6) Available to Install in Ubuntu 22.04 via Mainline PPA

For those who want to try out the latest Linux Kernel 6.1.x, the Mainline Kernel PPA finally works again.

Ubuntu developer team maintains the Mainline Kernel PPA with latest Kernel packages. It however failed to build for all the Kernel releases since v6.0.10.

After more than a month until the release of Kernel 6.1.4, the maintainers finally fixed the issue and built the kernel packages correctly for Ubuntu 22.04 +.

How to Install Kernel 6.1.x in Ubuntu 22.04

NOTE: Mainline Kernels are built for testing purpose! They are not supported and are not appropriate for production use. Use them at your own risk

Unlike normal Ubuntu PPAs, there’s no need to add the Mainline PPA into system repository. Just download the .deb packages from the repository page and install them.

1. At the moment of writing, the latest version is Kernel 6.1.6, available to download at the link below. For other versions, go to this page.

For modern 64-bit computer/laptop, select download the top 4 amd64/build packages. For arm64 devices, download the 3 of next 6 packages (either with or without 64k). There are as well the packages for armhf, ppc64el, and s390x available to download.

Or, user can run commands below one by one in terminal to download the packages (64-bit only):

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.6/amd64/linux-headers-6.1.6-060106-generic_6.1.6-060106.202301141035_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.6/amd64/linux-headers-6.1.6-060106_6.1.6-060106.202301141035_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.6/amd64/linux-image-unsigned-6.1.6-060106-generic_6.1.6-060106.202301141035_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.6/amd64/linux-image-unsigned-6.1.6-060106-generic_6.1.6-060106.202301141035_amd64.deb

2. After downloading the packages, install them via apt command.

If you downloaded the packages via web browser link, you may first open the Downloads folder in file manager. Then, right-click on blank area and select “Open in Terminal” first to open that folder as working directory in terminal.

Finally, run command to install all .deb packages in the folder:

sudo apt install ./*.deb

3. When done, restart your machine and verify your kernel via command:

uname -a

NOTE: Mainline Kernels are not signed. You may need to disable Secure Boot in BIOS to make it work.

Uninstall Kernel 6.1.x

For any reason, you can easily remove the Kernel by doing following steps.

1. Firstly, reboot and select the old Kernel in boot menu under “Advanced Options for Ubuntu”.

2. Open terminal (Ctrl+Alt+T), and run command to remove Kernel you just installed (change version number accordingly):

sudo apt remove --autoremove linux-modules-6.1.6-060106-generic linux-headers-6.1.6-060106

Tip: you may type linux-modules-6 and hit Tab key to auto-complete the package name. Also type linux-headers-6 and hit Tab for the second.

OBS Studio 29.0 is Out! How to Install via PPA in Ubuntu 22.04 | 22.10

OBS Studio, the popular free and open-source video recording and live streaming software, announced a new major 29.0 today.

The new release came with great improvements for Windows users, including AMD AV1 Encoder for the RX7000 series GPUs, Intel AV1 Encoder for Arc GPUs, and Intel HEVC Encoder.

It also introduced native HEVC and ProRes encoders, including P010 and HDR and Desk View support for macOS.

Other changes OBS Studio 29.0 include:

  • Upward compressor filter
  • 3-band equalizer filter
  • Update channels for opting into receiving beta/release-candidate builds to Windows
  • Websockets 5.1.0
  • Add media key support in Linux
  • Encryption and authentication support for SRT and RIST outputs
  • Support for higher refresh rates in the Video Capture Device source on Windows
  • Apple VT Hardware encoder to the Auto Configuration Wizard

How to Install OBS Studio 29.0 in Ubuntu:

It provides official binary packages for Windows, macOS and Linux in its official website.

For Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, Linux Mint 21, and their based systems, there’s also an official PPA repository contains the latest packages.

1. Firstly, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:obsproject/obs-studio

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Then, either use Software Updater to upgrade the software package is an old version was installed on your system.

Or, use apt command to install/upgrade the software package:

sudo apt install obs-studio

NOTE: Linux Mint may need to run sudo apt update first to update package cache.

Once installed, search for and launch OBS Studio from ‘Activities’ overview or start menu depends on your desktop environment and enjoy!

Uninstall OBS Studio

To downgrade the software to the stock version that your system repository provides, run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:obsproject/obs-studio

Or, either open Software & Updates and remove the PPA source line under ‘Other Software’ tab:

or run command in terminal to remove the PPA repository:

sudo add-apt-repository --remove ppa:obsproject/obs-studio

Also, remove the OBS Studio if you want by running command in terminal:

sudo apt remove --autoremove obs-studio

Krita 5.1.5 Released! How to Install via PPA in Ubuntu 22.04

Krita graphics editor 5.1.5 released few days ago. Here’s how to install it in Ubuntu 22.04 and/or Ubuntu 22.10 via PPA repository.

Krita 5.1 was released months ago with improved Webp, photoshop files support, extended fill tools, and configurable touch controls. The 5.1.5 is a new point release with following bug-fixes:

  • Fixed issue with banding when using the gradient map filter as a filter layer.
  • Only center paste into active layer if contents are outside image bounds.
  • EXR: Fixed opening EXR files that have only a luma channel.
  • Fixed an issue building with XSIMD 10.0 and up.
  • Properly use the resolution of a .KRA file when that file is used as a file layer.
  • Fixed a regression in loading PSD files.
  • Android: Fixed loading and creating images on Android and ChromeOS.
  • Android: Fixed an issue with loading translations.

How to Install Krita 5.1.5 in Ubuntu:

Krita now provides official Linux package as universal AppImage available to download in its website. It’s a non-install package that can run directly (after adding executable permission) to launch the editor.

For those prefer the native .deb package, either keep an eye on Krita Community PPA (NOT updated for stable build at the moment of writing), maintained by the guy behind the old official Krita Lime PPA.

Or, use my personal PPA that contains amd64 (64-bit) and arm64/hf packages for Ubuntu 22.04 and Ubuntu 22.10. Ubuntu 20.04 is NOT supported since Krita 5.1.x switched to XSIMD which is not available in old Ubuntu repositories.

JPEG-XL is NOT supported in this PPA, since the library is not available in Ubuntu repository so far. And, building it also needs to update highway and libavif libraries that may cause potential risk factors of conflict to other packages.

1. First, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/krita

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Then, either launch Software Updater and upgrade the graphics editor from an old version:

or run the command below in terminal to install/upgrade it:

sudo apt install krita

NOTE: Linux Mint may have to run sudo apt update first.

Uninstall:

To remove the PPA as well as downgrade the Krita package to stock version, run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1/krita

Or, open Software & Updates and remove the repository source line under “Other Software” tab (Linux Mint users go to Software Sources -> PPA).

And, remove Krita graphics editor via command:

sudo apt remove --autoremove krita krita-data

That’s all. Enjoy!

Darktable 4.2 Released! How to Install in Ubuntu 22.04 via PPA

Darkable, the popular free open-source photography app and raw developer, released new 4.2.0 release a day ago.

Darktable 4.2.0 is a big release with following changes:

  • New Sigmoid display transform module
  • Two new algorithms in the highlight reconstruction module: “inpaint opposed” and “segmentation based”.
  • Possible to preview the effect of a user-generated style on an image.
  • Read and write JPEG XL images.
  • New drop-down menu to add, remove filters.
  • Read WebP images support.
  • Support for JFIF file extension.
  • Improve AVIF & EXR format support.
  • Rework pixelpipe functionality, so it can be used elsewhere.
  • Rework snapshot module to support dynamic screen capture.
  • Enhance lens correction module.
  • Introduced balanced “OpenCL vs CPU” tiling

There are also various other improvements, bug-fixes, as well as new cameras support. See the release page for details.

How to Install Darktable 4.2 in Ubuntu, Debian, & other Linux

The software website refers to the OBS repository that contains native packages for Ubuntu, Debian, Fedora and SUSE.

For choice, here’s an unofficial Ubuntu PPA contains the packages for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.04.

Due to dependency updates, Ubuntu 18.04 is no longer supported! And, no package for Ubuntu 22.10 in this release due to a compile issue.

And, JPEG-XL library is not in Ubuntu repository until 23.04. Building it requires to update few other dependency libraries that might cause package conflicts. So I excluded the file format support in Ubuntu 20.04 and Ubuntu 22.04. If you do need this function, please leave comment here.

1. First, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/darktable

2. Linux Mint use may need to run command to manually refresh package cache:

sudo apt update

3. Finally install the photography software either via the command below:

sudo apt install darktable

Or by installing package updates via Software Updater. NOTE: You are strongly advised to take a backup first.

Darktable is also available as universal Flatpak package that works in most Linux systems.

Uninstall:

To remove darktable, simple run command in a terminal window:

sudo apt remove --autoremove darktable

And, remove the Ubuntu PPA by either removing source line in ‘Software & Updates’ utility under ‘Other Software’ tab, or running command:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/darktable

If you would like to revert back the stock Darktable package in system repository, just purge the PPA instead of removing it as well as the software packages and install old version back.

sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1/darktable

How to Install Timeshift via PPA in Ubuntu 22.04 to backup whole system

This simple tutorial shows how to install the latest version of TimeShift, to backup your Ubuntu system by creating ‘system store‘ points.

Timeshift is a popular system backup tool originally developed by Tony George. It’s now a project maintained by Linux Mint, though the original developer is still one of the top contributors.

And, he is maintaining a PPA repository contains the latest packages so far for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10 and their derivatives.

Install Timeshift

Timeshift is available in Ubuntu system repository, though it’s old! User can either choose to install the old package from Ubuntu Software, or run the commands below one by one to get the latest version from PPA.

1. First, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command to add its official PPA:

sudo add-apt-repository ppa:teejee2008/timeshift

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Then, either run command below to install the package:

sudo apt install timeshift

The sudo apt update command might be required to run first in some Ubuntu based systems to refresh package cache.

Or, use Software Updater to upgrade the tool if an old version was installed.

Backup your system (Create Restore points)

After installing the tool, search for and open it either from system start menu or ‘Activities’ overview depends on your desktop environments.

On the first launch, the setup wizard will ask you to choose snapshot type, destination location, setup daily backup, whether to backup user files (excluded by default). And, it’s OK to use Default options, since there’s ‘Settings’ page to re-configure them all.

After setup wizard, click on “Create” button on the main UI to start creating the first restore point!

The first backup can take quite a few minutes and dozens of GB disk space (Make sure you have enable free space for saving the first snapshot)! The 2nd, 3rd, … backups can be faster and smaller, because it shares common files between snapshots to save disk space.

After created backups, they are listed in the main UI window. Simply highlight one, then you can browse its content, copy and save it into another storage device if want.

And, just click ‘Restore‘ will revert your system to the status when you created that snapshot, without touching user documents, music, videos, etc, unless you included them in setup Wizard.

Uninstall Timeshift

Before removing the software, you may choose to remove all the backup snapshots that you don’t need anymore to free up disk space.

Then, open terminal and run command to remove the app package:

sudo apt remove timeshift

And remove the Ubuntu PPA via command:

sudo add-apt-repository --remove ppa:teejee2008/timeshift

In case you already removed the software package, but left the backup snapshots on disk. You may try to remove them to free up disk space via command:

sudo rm -R /timeshift/

That’s all. Enjoy!

PHP 8.2 Released, How to Install in Ubuntu 22.04 | 20.04 via PPA

PHP finally released 8.2.0 release after 7 release candidates. Here are the new features and how to install guide for all current Ubuntu LTS.

PHP 8.2.0 allows to mark a class as readonly, which will add the readonly modifier to every declared property, and prevent the creation of dynamic properties. Moreover, using the AllowDynamicProperties attribute on readonly class will trigger a compile-time error.

Other release highlights in PHP 8.2.0 include:

  • Disjunctive Normal Form (DNF) Types
  • New stand-alone types: null, false, and true
  • New “Random” extension
  • Constants in traits
  • Deprecate dynamic properties

There are as well numerous bug-fixes and other changes in the release. See the changelog for details.

How to Install Php 8.2 in Ubuntu:

Not recommended for beginners. Only install PHP 8.2 for web developing purpose or there’s specific feature or bug-fix you need in this release.

The popular Ondřej Surý’s PPA has built the package for all current Ubuntu LTS: Ubuntu 18.04, Ubuntu 20.04 and Ubuntu 22.04.

1. First, open terminal or connect to your Ubuntu server and run command to add the PPA:

LC_ALL=C.UTF-8 sudo add-apt-repository ppa:ondrej/php

Run sudo apt install software-properties-common in case the command does not exist. And, type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Then, install Php packages accordingly. For example, install apache2 module and mysql module via command:

sudo apt install php8.2 libapache2-mod-php8.2 php8.2-mysql

Or install the FPM-CGI binary for use with Nginx:

sudo apt install php8.2 php8.2-fpm php8.2-mysql

For Ubuntu 18.04, run sudo apt update first to refresh package cache.

After installed it, remember to configure your http server (apache 2 or nginx) for the new PHP package, and configure php8.2 via files under ‘/etc/php/8.2/’.

Uninstall Php 8.2

To remove the package, simply run command:

sudo apt remove --autoremove php8.2 libapache2-mod-php8.2 php8.2-*

And remove the Ubuntu PPA via command:

sudo add-apt-repository --remove ppa:ondrej/php

Steam now easy to install in Ubuntu via SNAP package

Canonical, the company behind Ubuntu, is building the popular Steam game platform as Snap package!

The Ubuntu developer team is going to improve gaming experience on this popular Linux distribution. The first step is to simplify the process of setting up gaming environment. As the number 1 game platform, Steam to be first one they focus on.

Meaning Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 22.10 can easily search for and install Steam as snap package from Ubuntu Software:

Steam in Ubuntu Software as Snap package

Or, user can press Ctrl+Alt+T on keyboard to open terminal and run the single command to get it:

snap install steam --beta

The command also work in Ubuntu 18.04, though --beta flag is required at the moment, because the package so far is in earlier stage for testing purpose.

After installed the package, just search for and launch it from ‘Activities’ overview screen:

It automatically install updates and setup runtime, and finally launch the client app for you.

Other Choices

As some users do not like Snap package, there are a few other ways to install Steam app in Ubuntu.

Option 1: Steam Installer

By searching in Ubuntu Software, you’ll see a “Steam Installer” package. Which is an empty package that automatically download steam package from its server and set it up in Ubuntu.

Steam Installer in Ubuntu Software

The package however is a 32-bit package which will also install a list of 32-bit libraries as dependencies.

Option 2: Steam’s official .deb package

Steam website offers official .deb package available for Debian/Ubuntu based systems.

User can download and then double-click on the package in file manager to install it.

Option 3: Flatpak package

The game platform is also available as the universal Flatpak package that runs in sandbox.

Just for choice, you may first run command in terminal (Ctrl+Alt+T) to install the Flatpak daemon:

sudo apt install flatpak

Then, install steam as flatpak package by running command:

flatpak install https://dl.flathub.org/repo/appstream/com.valvesoftware.Steam.flatpakref

Summary:

Ubuntu starts working on its official Steam package as Snap. Meaning user can now directly search for and install the game platform from Ubuntu Software. Besides that, there are also an installer script in Ubuntu Software, official .deb package from steam website, and Flatpak package available for choices.

Mozilla Firefox 107 Available to Install via Ubuntu PPA

A new monthly release of Firefox web browser to be released soon! Users of Mozilla team PPA should already received the updates.

Though it’s not officially announced at the moment of writing, user can however check what’s new in the release via the Github Releases page.

And, here are the changes in Firefox 107 according to it:

  • Improved the performance of the instance when Microsoft’s IME and Defender retrieve the URL of a focused document in Windows 11 version 22H2.
  • Power profiling visualizing performance data recorded from web browsers is now also supported on Linux and Mac with Intel CPUs, in addition to Windows 11 and Apple Silicon.
  • A couple of helpful improvements in Firefox DevTools making it easier to debug WebExtensions:
    • New webext argument to automatically open DevTools.
    • Simple to inspect popup windows (implemented by WebExtension) using DevTools.
    • Reload button in the DevTools toolbox to see the changes you made in source code.
  • Various bug fixes and new policies implemented.

How to Install Firefox 107 in Ubuntu:

The best way to install the new Firefox release package is just wait! Wait until Ubuntu developer team build the package and publish into official system repository. So, just keep your system up-to-date, you’ll get Firefox 107 in next few days!

For Ubuntu 22.04 and Ubuntu 22.10 users who prefer the classic .deb package, the 107 release is already available in the Mozillateam PPA. Simply open terminal by pressing Ctrl+Alt+T on keyboard, and run commands below one by one:

NOTE: This PPA now supports all current Ubuntu releases, meaning Ubuntu 16.04, Ubuntu 18.04 and Ubuntu 20.04 are also supported.

  • 1. Add the Mozillateam PPA by running command:
    sudo add-apt-repository ppa:mozillateam/ppa
  • 2. Check updates for old Ubuntu releases:
    sudo apt update
  • 3. Finally, install Firefox from the PPA via command:
    sudo apt install -t "o=LP-PPA-mozillateam" firefox

IMPORTANT: to avoid Ubuntu 22.04+ to override the PPA package with system built-in Snap package, you have to create a config file under ‘/etc/apt/preferences.d’, and write following rules (See this guide for details):

# Prefer Firefox package from Mozillateam PPA

Package: firefox*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 501

How to Install KDE Plasma 5.26 in (K)Ubuntu 22.10 via PPA

The latest KDE Plasma desktop 5.26 is finally made into PPA for (K)Ubuntu 22.10 / Ubuntu Studio 22.10, the next Ubuntu edition to be released soon.

KUbuntu 22.10 to ship with KDE Plasma 5.25.5. But KUbuntu PPA has made the new 5.26 packages for those who would like to try out the exciting new features including:

  • Adaptive wallpaper that change automatically depends on system light/dark mode.
  • Animated wallpaper support. Just right-click on your ani, avif, avifs, gif or webp file and select ‘Set as wallpaper’.
  • Resizable panel widget.
  • New web browsing and video playback apps for TV.

Wallpaper change automatically according to color scheme

1. Add the PPA

The new packages are made into KUbuntu Backports PPA this time for (K)Ubuntu 22.10 only.

First, search for and open terminal (Koncole) from start menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:kubuntu-ppa/backports

Type user password when it asks while no asterisk feedback,and hit Enter to continue.

2. Update package cache

Adding PPA should automatically refresh the package cache now. But in case you’re trying this in a Ubuntu based system that does not do the update, run command in terminal to manually refresh cache:

sudo apt update

3. Install KDE Plasma 5.26

Finally, KUbuntu 22.10 user or Ubuntu Studio 22.10 (not tested) can upgrade to Plasma desktop 5.26 by running command below in terminal (koncole):

sudo apt full-upgrade

Non-KDE user may also install the desktop environment by running command:

sudo apt install kubuntu-desktop

However it’s better to write down all the packages it’s going to install, so you can uninstall them to restore your system easily.

After installation, restart your computer and verify by going to System Settings -> About this System.

How to Install OpenShot 2.6.1 via PPA in Ubuntu 22.04 | 20.04 | 18.04

For those looking for the native .deb package of OpenShot 2.6.1, here’s an unofficial Ubuntu PPA for all current Ubuntu releases.

Just found that the official openshot PPA seems not being updated for quite a period of time, when I was trying to get the latest package of this video editor today. Though, the software is still being developed.

So I tried building myself and uploaded into this unofficial PPA for those who prefer native .deb package to AppImage or Flatpak.

NOTE this unofficial PPA contains the packages for Ubuntu 22.04, Ubuntu 20.04, and Ubuntu 18.04, though has only minor tests in Ubuntu 22.04.

1. Add the PPA

First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the command below into terminal and hit Enter to add PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/openshot

Type user password when it asks (no asterisk feedback) and hit Enter to continue.

2. Refresh package cache

Ubuntu 20.04 and higher will automatically refresh system package cache while adding PPA. Though old Ubuntu 18.04 and Linux Mint do not.

To manually update the cache, run command:

sudo apt update

3. Install/Update OpenShot

Finally, either install the video editor by running command in terminal:

sudo apt install openshot-qt python3-openshot

Or use ‘Software Updater’ to update it from an old version.

Uninstall:

To remove the Ubuntu PPA, either open “Software & Updates” and delete the source from ‘Other Software’ tab:

or run the command below in terminal:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/openshot

And remove the editor for choice by running command:

sudo apt remove --autoremove openshot-qt python3-openshot