Archives For News

Free open-source software updates and Linux news

Linux Kernel

Linux Kernel 4.9 was finally released last night as ‘the biggest release’ said in the announcement. Linus Torvalds wrote on lkml.org:

So Linux 4.9 is out, and the merge window for 4.10 is thus open.

With the extra week for 4.9, the timing for the merge window is obviously a bit awkward, and it technically closes in two weeks on Christmas Day. But that is a pure technicality, because I will certainly stop pulling on the 23rd at the latest, and if I get roped into xmas food prep, even that date might be questionable.

I could extend the merge window rather than cut it short, but I’m not going to. I suspect we all want a nice calm winter break, so if your stuff isn’t ready to be merged early, the solution is to just not merge it yet at all, and wait for 4.11. Just so you all know (I already bcc’d the main merge window suspects in a separate mailing last week, I’m just repeating myself here to avoid anybody being confused about timing).

Anyway, back to 4.9 itself.

I’m pretty sure this is the biggest release we’ve ever had, at least in number of commits. If you look at the number of lines changed, we’ve had bigger releases in the past, but they have tended to be due to specific issues (v4.2 got a lot of lines from the AMD GPU register definition files, for example, and we’ve had big re-organizations that caused a lot of lines in the past: v3.2 was big due to staging, v3.7
had the automated uapi header file disintegration, etc). In contrast, 4.9 is just big.

Admittedly a chunk of that is the new greybus staging support, but that really isn’t the bulk of it – it’s just another small detail in the overall “yes, v4.9 is big” picture.

Other than just the size, 4.9 looks fairly normal. A bit over two thirds drivers (staging, GPU and networking are the bulk of it, but it’s all over), with the rest looking fairly normal too: arch updates, documentation, generic networking, filesystems..

The shortlog (16k+ commits, with another 1100 merge commits to round things out) is obviously much too big to put here, and wouldn’t be legible anyway. So as is my wont, I’m appending just the log of my merges.

New Features in Linux Kernel 4.9:

  • Virtual Display Support and improved GPU reset for AMDGPU.
  • Various fixes and improvements to Intel DRM.
  • Memory protection keys (MPK) support.
  • Support for vmapped kernel stacks.
  • 29 more ARM machines support, including Raspberry Pi Zero, LG Nexus 5, etc.
  • Various file-system improvements and more.

How to Install Linux Kernel 4.9:

The Ubuntu kernel team has build the new kernel release, and the binaries are available for download at the link below:

Download Kernel 4.9 (.deb)

Depends on your OS type, grab and install the packages below one by one:

  • linux-headers-4.9.0-xxxxxx_all.deb
  • linux-headers-4.9.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  • linux-image-4.9.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

To get the Kernel 4.9 from the command console, run the commands below one by one:

For 64-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb

sudo dpkg -i *.deb

After installed these .debs, restart and enjoy!

Uninstall Linux Kernel 4.9:

Start/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then use Ubuntu Tweak, or other system tool to remove the Kernel 4.9, or you may see this post that teach you how to remove old kernels.

Audacious music player

Audacious audio player has reached the 3.8.1 release one day ago with new feature opus cover art support in the info bar, and following bug-fixes:

  • Fix randomly freezes in Windows.
  • Time value can become larger than the track length by dragging the progress bar beyond the end of the trough.
  • The ‘Do not load metadata for songs until played’ option appears twice in the QT interface preferences
Audacious GTK and Winamp like interface

Audacious GTK and Winamp like interface

How to Install Audacious 3.8.1 in Ubuntu:

The new release has been made into Webupd8Team PPA, available for all current Ubuntu releases and derivatives, e.g., Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Linux Mint 17 and 18.

1. To add the PPA, open terminal (Ctrl+Alt+T) and run command:

webupd8ppa

2. Then upgrade Audacious player from a previous by launching Software Updater:

upgrade-audacious

Or install it for the first time via your package manager or using the commands:

sudo apt update

sudo apt install audacious audacious-plugins

Kxstitch cross stitch

Kxstitch, an open-source cross stitch pattern and chart creation software for KDE, has now reached the 2.0 release with KF5 port, a number of improvements and lots of new language translations.

Patterns can be created from scratch on a user defined size of grid, which can be enlarged or reduced in size as your pattern progresses. Alternatively you can import images from many graphics formats which will allow you to reduce the number of colours and to restrict the conversion to full stitches or optionally use fractional stitches.

You may also use an image as a background. These imported images can then be modified using the supplied tools to produce your final design.

Kxstitch cross stitch creation

Kxstitch Features:

  • Creation of new patterns
  • Editing of existing patterns – KXStitch is also capable of reading PC Stitch 5 files.
  • Use of various floss pallets, DMC, Anchor, Madeira, JP Coates
  • Creation of custom palettes and colours.
  • Use of standard stitches
  • Free use of backstitching
  • Importing of various picture formats
  • Printing of patterns and floss keys

How to Install Kxstitch 2.0 in Ubuntu 16.04, 16.10:

Due to lack of official deb binaries, I’ve made the 2.0 release into an Ubuntu PPA, available for Ubuntu 16.04, Ubuntu 16.10, Linux Mint 18, and derivatives.

You can either run commands in terminal (Ctrl+Alt+T) to add the PPA and install kxstitch:

  1. Run command to add the PPA:
    sudo add-apt-repository ppa:ubuntuhandbook1/kxstitch

    kxstitch-ppa-xenial

  2. Update the system package index:
    sudo apt update
  3. And finally install the software:
    sudo apt install kxstitch

or grab the .deb directly from THIS PAGE (amd64.deb for 64-bit, or i386.deb for 32-bit), and click install via Ubuntu Software.

mkvtoolnix-icon

The free and open-source MKVToolNix MKV (Matroska) manipulation tool has reached the 9.6.0 release. Here’s how to install or upgrade it in Ubuntu 16.04, Ubuntu 14.04, and/or Ubuntu 16.10.

MKVToolNix 9.6.0 fixes one major bug in mkvmerge (an endless loop) when appending files. It mostly occurred when muxing MPLS playlists. Several other minor bug fixes and usability enhancements were implemented.

  • mkvmerge and mkvextract now support HDMV TextST subtitles.
  • MKVToolNix GUI has option to only show the list of often used languages/country codes/character sets.
  • mkvextract has been updated to add a “langidx” line to the .idx file upon extraction
  • multiplexer enhancement: added a column “source file’s directory” to the track list
  • multiplexer enhancement: added an option for selecting all tracks of the currently selected source files in the source file context menu

MKVToolNix-GUI

How to Install MKVToolNix 9.6.0 in Ubuntu:

The official MKVToolNix repository for Linux has been updated for Ubuntu 16.04, Ubuntu 14.04, Ubuntu 16.10 and derivatives.

1. To add the repository, first open terminal (Ctrl+Alt+T) and run command to setup the key:

wget -q -O - https://mkvtoolnix.download/gpg-pub-moritzbunkus.txt | sudo apt-key add -

mkvtoolnix-key

2. Go to System Settings -> Software & Updates -> Other Software tab, then click Add and paste following line:

deb http://mkvtoolnix.download/ubuntu/ xenial main

You may replace xenial (16.04) in the line with yakkety for Ubuntu 16.10, or trusty for Ubuntu 14.04 and their derivatives.

add-mkvtoolnix-repo

3. Finally upgrade the software from a previous release via Software Updater:

upgrade-mkvtoolnix

Or install it for the first time via command:

sudo apt update && sudo apt install mkvtoolnix mkvtoolnix-gui

HP Linux Imaging and Printing

HP Linux Imaging and Printing (HPLIP), HP Linux solution for printing, scanning, and faxing with HP inkjet and laser based printers, has reached the 3.16.11 release one day ago.

HPLIP 3.16.11 adds following new printers support:

  • HP LaserJet M101-M106 Printer
  • HP LaserJet Pro M203-M206 Printer
  • HP LaserJet Pro MFP M227-M231 Printer
  • HP LaserJet Pro MFP M129-M134

Also new Linux Distro’s Fedora 25 and OpenSuse 42.2 are supported in this release.

hplip-3-16-11-about

How to Install HPLIP 3.16.11 in Ubuntu:

Download the official Linux binary from the link below:

Download HPLIP (.run)

Then open terminal (Ctrl+Alt+T), run commands to give executable permission, and finally run the installer:

cd ~/Downloads/ && chmod +x hplip-3.16.11.run && ./hplip-3.16.11.run

Follow the terminal prompts and finally restart your computer when everything’s done.

install-hplip3-16-11

PyCharm IDE

PyCharm 2016.3, the third update in the 2016 series of the cross-platform PyCharm and Django IDE, has been released a few days ago.

PyCharm 2.16.3 features:

  • Better Django support
  • Improved Python console
  • Full support for Python 3.6
  • Enhanced version control integration
  • A better variable explorer
  • Upgrades to coverage and profiling tools
  • And much more, see the what’s new page.

How to Install PyCharm 2016.3 in Ubuntu:

Thanks to Mystic-Mirage, both professional and community editions are made into PPA, available for Ubuntu 16.04, Ubuntu 16.10, Linux Mint 18 and derivatives.

1. To add the PPA, open terminal (Ctrl+Alt+T) and run command:

sudo add-apt-repository ppa:mystic-mirage/pycharm

Type in your password (no visual feedback) when it asks and hit Enter.

PyCharm PPA

2. Then update system package index and install the IDE via commands:

sudo apt update

sudo apt install pycharm-community

Or use sudo apt install pycharm to install the professional version.

Uninstall:

The packages can be easily removed by using apt command with remove flag:

sudo apt remove pycharm pycharm-community && sudo apt autoremove

And the PPA can be removed by going to System Settings -> Software & Updates -> Other Software tab.

intel graphics update tool

Intel Graphics Update Tool, formerly known as the Intel Graphics Installer, has now reached the 2.0.3 release with support for Ubuntu 16.10 and Fedora 24.

The Intel® Graphics Update Tool for Linux* OS (formerly known as the Intel® Graphics Installer for Linux*) was renamed starting from version 2.0.2, in order to more accurately reflect the purpose of the tool. Linux distributions already include by default an Intel® graphics driver, without needing any extra installation. This tool aims to make the latest Intel® Graphics Stack available before it gets officially released by Linux* OS vendors. Specifically, it benefits those Linux* users of both Ubuntu* and Fedora* distributions who want to update their graphics subsystems for Intel® platforms.

Version 2.0.3 of the update tool is targeted specifically at both Ubuntu* 16.10 and Fedora* 24. Earlier revisions for those Linux distributions are now deprecated and are no longer being supported by the update tool. Please upgrade to a more recent version of your OS distribution if you want to take advantage of this release.

The 2.0.3 release includes the Mesa 12.0.3 3D Graphics Library, Cairo 1.15.2 graphics library, libva-intel-driver 1.7.2, as well as all the libva related libraries, such as libva-wayland, libva-tpi, libva-glx, libva-egl, libva-drm, libva-x11, and libva-utils. Also Intel Graphics Stack Recipe 2016Q3 for Linux is supported in this release.

intel graphics update tool

Download & Install Intel Graphics Update Tool 2.0.3:

Download the installer from the link below:

Intel Graphics Update Tool 2.0.3

For Ubuntu, they are .deb binaries, just grab the one matches your OS type, and click to open & install via Ubuntu Software.

intel-graphics-update-tool-deb

Once installed, launch it from Unity Dash and enjoy!

Mozilla Firefox 50 Released! [How-to-upgrade]

Last updated: November 15, 2016

Firefox 50

Mozilla Firefox browser has now reached the 50 release, with updated keyboard shortcuts, other new features, various security fixes and more.

According to the release note, Firefox 50 features:

  • Updates to keyboard shortcuts
    • Set a preference to have Ctrl+Tab cycle through tabs in recently used order
    • View a page in Reader Mode by using Ctrl+Alt+R (command+alt+r on Mac)
  • Added option to Find in page that allows users to limit search to whole words only
  • Increased availability of WebGL to more than 98 percent of users on Windows 7 and newer
  • Added download protection for a large number of executable file types on Windows, Mac and Linux
  • Improved performance for SDK extensions or extensions using the SDK module loader
  • Playback video on more sites without plugins with WebM EME Support for Widevine on Windows and Mac
  • Fixed rendering of dashed and dotted borders with rounded corners
  • Added a built-in Emoji set for operating systems without native Emoji fonts (Windows 8.0 and lower and Linux)

Download / Install Firefox 50 in Ubuntu:

For the portable non-install version, please go to mozilla.org.

For Ubuntu 16.10, Ubuntu 16.04, Ubuntu 14.04, Ubuntu 12.04, and derivatives, Canonical will soon offer the new Firefox 50 updates via the updates/security repository. Check out the build page.

At that time, just launch Software Updater and upgrade Firefox after checking for updates.

upgrade firefox 46

0 A.D. PPA

The twenty-first alpha version of 0 A.D., a free open-source RTS game of ancient warfare, was released one day ago. And the PPA repository is ready for Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04 and their derivatives.

0 A.D. Alpha 21 “Ulysses” features new game modes, plenty of new maps, the official introduction of the final civilization: The Seleucid Empire and more! See the announcement for more details.

How to Install 0 A.D. Alpha 21 in Ubuntu:

The official 0 A.D. PPA just built the new release a few hours ago, available for Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, and Linux Mint 18, Elementary OS Loki, etc.

To install it, open terminal (Ctrl+Alt+T) and do:

1. Run command to add PPA (Type in password when it asks and hit Enter.):

sudo add-apt-repository ppa:wfg/0ad

oad-xenial-ppa

2. To upgrade from a previous release, now launch Software Updater and install the updates for the game:

upgrade 0 A.D.

To install it for the first time or upgrade it from the command line, run command:

sudo apt update && sudo apt install 0ad

Uninstall:

To remove the game, use Ubuntu Software or Synaptic Package Manager. The PPA can be removed via System Settings -> Software & Updates -> Other Software tab.

To downgrade to the stock version of 0 A.D. in official Ubuntu repository, purge the PPA via command:

sudo apt install ppa-purge && sudo ppa-purge ppa:wfg/0ad

KStars

KStars, an open-source and cross-platform Astronomy Software, has reached 2.7.0 release with speed improvements, better cross-platform support, and Android mobile/tablet support.

KStars provides an accurate graphical simulation of the night sky, from any location on Earth, at any date and time. The display includes up to 100 million stars, 13,000 deep-sky objects,all 8 planets, the Sun and Moon, and thousands of comets, asteroids, supernovae, and satellites. For students and teachers, it supports adjustable simulation speeds in order to view phenomena that happen over long timescales, the KStars Astrocalculator to predict conjunctions, and many common astronomical calculations.

KStars 2.7.0 features:

  • much better experience on embedded devices such as Raspberry PI
  • object internet lookup from online catalogs
  • Ekos GUI improvements, especially on low-resolution displays.
  • guide module rewritten to support multiple external guiders
  • guide drift graphics written, minor improvements to alignment module, significant updates to Focus module.
  • And much more, see the official announcement.

How to install KStars 2.7.0 in Ubuntu 16.04, 16.10:

1. Open terminal (Ctrl+Alt+T) and run command to add the PPA:

sudo add-apt-repository ppa:mutlaqja/ppa

Type in your password when it asks (no visual feedback) and hit Enter.

kstars-ppa

2. After added the PPA, run commands in terminal to update the index and install the software:

sudo apt update

sudo apt install indi-full kstars-bleeding

3. (Optional) To uninstall KStars, simply run apt command with remove option:

sudo apt remove indi-full kstars-bleeding && sudo apt autoremove

And the PPA can be removed via System Settings -> Software & Updates -> Other Software tab.