upgrade Linux Kernel

Linux Kernel 4.2 was released yesterday, at noon. Linus Torvalds wrote on lkml.org:

So judging by how little happened this week, it wouldn’t have been a mistake to release 4.2 last week after all, but hey, there’s certainly a few fixes here, and it’s not like delaying 4.2 for a week should have caused any problems either.

So here it is, and the merge window for 4.3 is now open. I already have a few pending early pull requests, but as usual I’ll start processing them tomorrow and give the release some time to actually sit.

The shortlog from rc8 is tiny, and appended. The patch is pretty tiny too…

What’s New in Kernel 4.2:

  • rewrites of Intel Assembly x86 code
  • support for new ARM boards and SoCs
  • F2FS per-file encryption
  • The AMDGPU kernel DRM driver
  • VCE1 video encode support for the Radeon DRM driver
  • Initial support for Intel Broxton Atom SoCs
  • Support for ARCv2 and HS38 CPU cores.
  • added queue spinlocks support
  • many other improvements and updated drivers.

How to Install Kernel 4.2 in Ubuntu:

The binary packages of this kernel release are available for download at link below:

Download Kernel 4.2 (.DEB)

First check out your OS type, 32-bit (i386) or 64-bit (amd64), then download and install the packages below in turn:

  1. linux-headers-4.2.0-xxx_all.deb
  2. linux-headers-4.2.0-xxx-generic_xxx_i386/amd64.deb
  3. linux-image-4.2.0-xxx-generic_xxx_i386/amd64.deb

After installing the kernel, you may run sudo update-grub command in terminal (Ctrl+Alt+T) to refresh grub boot-loader.

If you need a low latency system (e.g. for recording audio) then download & install below packages instead:

  1. linux-headers-4.2.0_xxx_all.deb
  2. linux-headers-4.2.0-xxx-lowlatency_xxx_i386/amd64.deb
  3. linux-image-4.2.0-xxx-lowlatency_xxx_i386/amd64.deb

For Ubuntu Server without a graphical UI, you may run below commands one by one to grab packages via wget and install them via dpkg:

For 64-bit system run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb

sudo dpkg -i linux-headers-4.2.0-*.deb linux-image-4.2.0-*.deb

For 32-bit system, run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb

sudo dpkg -i linux-headers-4.2.0-*.deb linux-image-4.2.0-*.deb

Finally restart your computer to take effect.

To revert back, remove old kernels, see install kernel simply via a script.

easytag audio tag editor

EasyTag audio tag editor has reached the 2.4.0 version this weekend, as the first release of a new stable series.

EasyTag 2.4.0 brings a few improvements and bug fixes listed below:

  • Correct the disc number format specifier to %z
  • Fix multiple CDDB searches during a single run
  • Improve handling of tags with empty images
  • Link to the online application help on Windows
  • Remember the paned position in the main window between restarts
  • Improve handling of file list selection
  • Fix a crash when deleting files from within the application
  • Fix a crash when reading FLAC files
  • Fix a crash when navigating the directory browser with the keyboard
  • Remove a few internal FIXMEs with some refactoring

If you’re still using EasyTag 2.2.x, there are also lots of fixes, translation updates and below features added since the 2.3 unstable series:

  • preliminary support for HiDPI displays
  • album artist support for APE tags

easytag-mainwindow

Install / Upgrade EasyTag in Ubuntu:

For Ubuntu 14.04 and derivatives, select download the .deb installer from the link below depends on your OS type:

easytag 2.4 for 32-bit | easytag 2.4 for 64-bit

Or you may grab it from Lauchpad page. Finally click to open it via Ubuntu Software Center and install the software.

nvidia-logo-1

NVIDIA driver 352.41 for Linux was released a few hours ago with GeForce GTX 950, Quadro M4000 and M5000 GPUs support.

The new driver also brings two important fixes:

  • Fixed a bug that caused VDPAU to only display the top half of a video frame when decoding and displaying H.265/HEVC encoded video streams.
  • Fixed a bug that caused the X server to crash if an OpenGL application tried to allocate a drawable when GPU-accessible memory is exhausted.

Install / Upgrade to Nvidia 352.41 in Ubuntu:

Thanks the Ubuntu community for maintaining a new NVIDIA PPA that contains the most recent Nvidia proprietary GPU drivers. So far Ubuntu 15.04, Ubuntu 15.10, and Ubuntu 14.04 are supported.

1. To add the PPA.

Open terminal from the Dash, App Launcher, or via Ctrl+Alt+T shortcut keys. When it opens, run command:

sudo add-apt-repository ppa:graphics-drivers/ppa

nvidia-ppa

For those who’ve added Xorg-edgers PPA and Michael Marley’s Nvidia PPA (deprecated), remove them via:

sudo add-apt-repository --remove ppa:xorg-edgers/ppa

sudo add-apt-repository --remove ppa:mamarley/nvidia

2. After that, update system cache and install new driver package via either Synaptic Package Manager after clicking Refresh button or below commands in terminal:

sudo apt-get update

sudo apt-get install nvidia-352 nvidia-settings

upgrade Linux Kernel

Want to install the latest Linux Kernel? A simple script can always do the job and make things easier in Ubuntu.

Michael Murphy has created a script makes installing the latest RC, stable, or lowlatency Kernel easier in Ubuntu. The script asks some questions and automatically downloads and installs the latest Kernel packages from Ubuntu kernel mainline page.

Install / Upgrade Linux Kernel via the Script:

1. Download the script from the right sidebar of the github page (click the “Download Zip” button).

2. Decompress the Zip archive by right-clicking on it in your user Downloads folder and select “Extract Here”.

3. Navigate to the result folder in terminal by right-clicking on that folder and select “Open in Terminal”:

open-terminal

It opens a terminal window and automatically navigates into the result folder. If you DON’T find the “Open in Terminal” option, search for and install nautilus-open-terminal in Ubuntu Software Center and then log out and back in (or run nautilus -q command in terminal instead to apply changes).

4. When you’re in terminal, give the script executable permission for once.

chmod +x *

FINALLY run the script every time you want to install / upgrade Linux Kernel in Ubuntu:

./*

run-script

I use * instead of the SCRIPT NAME in both commands since it’s the only file in that folder.

If the script runs successfully, restart your computer when done.

Revert back and Uninstall the new Kernel:

To revert back and remove the new kernel for any reason, restart your computer and select boot with the old kernel entry under Advanced Options menu when you’re at Grub boot-loader.

When it boots up, see below section.

How to Remove the old (or new) Kernels:

1. Install Synaptic Package Manager from Ubuntu Software Center.

2. Launch Synaptic Package Manager and do:

  • click the Reload button in case you want to remove the new kernel.
  • select Status -> Installed on the left pane to make search list clear.
  • search linux-image- using Quick filter box.
  • select a kernel image “linux-image-x.xx.xx-generic” and mark for (complete) removal
  • finally apply changes

remove-old-kernel1

Repeat until you removed all unwanted kernels. DON’T carelessly remove the current running kernel, check it out via uname -r (see below pic.) command.

For Ubuntu Server, you may run below commands one by one:

uname -r

dpkg -l | grep linux-image-

sudo apt-get autoremove KERNEL_IMAGE_NAME

remove-kernel-terminal

KDE Plasma 5.4

The KDE Community finally announced the release of Plasma Desktop 5.4.0 yesterday morning.

Plasma 5.4 brings much improved high DPI support, a new fullscreen launcher, a new Audio Volume applet, over 1400 new icons, KRunner auto-completion and search history support.

With Plasma 5.4 the first technology preview of a Wayland session is released. On systems with free graphics drivers it is possible to run Plasma using KWin, Plasma’s Wayland compositor and X11 window manager, through kernel mode settings.

For more details, read the official announcement.

plasma-desktop

Install / Upgrade Plasma 5.4 in (K)Ubuntu 15.04/(K)Ubuntu 15.10:

KDE Plasma 5.4 now is available in Kubuntu CI PPA for both KUbuntu 15.04 and Kubuntu 15.10. To install it, open a terminal emulator from launcher and run below commands one by one:

1. Add Kubuntu CI Stable PPA:

sudo add-apt-repository ppa:kubuntu-ci/stable

kubuntu-ci-ppa

If you’ve added Kubuntu backports PPA, and it does not yet update with Plasma 5.4. You may remove it via:

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

2. Update system cache and upgrade your system:

sudo apt-get update

sudo apt-get dist-upgrade

If you’re not in Kubuntu, you may run below command to install KDE:

sudo apt-get install plasma-desktop

If everything goes well, restart your computer to apply changes.

To revert back your (K)ubuntu to previous status, install ppa-purge and purge the PPA as well as downgrade installed packages:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:kubuntu-ci/stable