Archives For November 30, 1999

upgrade Linux Kernel

The latest stable Linux Kernel 5.1 was released. Linus Torvalds announced last night:

So it’s a bit later in the day than I usually do this, just because I was waffling about the release. Partly because I got some small pull requests today, but mostly just because I wasn’t looking forward to the timing of this upcoming 5.2 merge window.

On the whole, 5.1 looks very normal with just over 13k commits (plus another 1k+ if you count merges). Which is pretty much our normal size these days. No way to boil that down to a sane shortlog, with work all over.

Linux 5.1 brings many exciting changes including improved support for Intel Fastbook (enabled by default), Intel 22260 WiFi support, new I/O interface, new ACPI support, Raspberry Pi 3 Model A+ support by mainline, and a lot of new hardware support.

How to Install Linux Kernel 5.1 in Ubuntu:

The mainline kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use

The mainline kernel packages for Linux 5.1 are available for download at the link below:

Download Kernel 5.1

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-5.1.0-xxxxxx_all.deb
  2. linux-headers-5.1.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-5.1.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-5.1.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.

Alternatively you can download and install the kernel binaries via terminal commands (Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100_5.1.0-050100.201905052130_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-image-unsigned-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-modules-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100_5.1.0-050100.201905052130_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-image-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-modules-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.1:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.1:

sudo dpkg --purge linux-image-5.1.0-050100-generic linux-image-unsigned-5.1.0-050100-generic

Qmmp Qt-based multimedia player

Qmmp, Qt-based multimedia player, 1.3.2 was released last night with new features and various bug-fixes.

Qmmp 1.3.2 (and 0.12.2 for qt4) features:

  • added feature to play track on double click in the history plugin;
  • enabled mpg123 decoder for Windows;
  • using album cover from file by default;
  • fixed lyrics plugin;
  • fixed API documentation;
  • fixed issue with read-only mode for FLAC files;
  • fixed issue with missing properties for some CUE tracks;
  • fixed shortcuts displaying in context menus under Qt 5.10 or higher (1.3.2 only);
  • fixed Qt 5.13 support (1.3.2 only);
  • fixed crash under Wayland session (1.3.2 only);
  • fixed freezing on some corrupted files in the ffmpeg plugin;
  • fixed crash on some streams in the ffmpeg plugin;
  • fixed file type determination by content in the mpeg plugin.

Qmmp

How to Install Qmmp 1.3.2 in Ubuntu:

Qmmp 1.3.2 (and 0.12.2 for qt4) are available to install via its official PPA, for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04, Linux Mint 18.x and 19.x.

1. Open terminal via Ctrl+Alt+T or from app launcher, and then run command to add the PPA:

sudo add-apt-repository ppa:forkotov02/ppa

Input your password (no asterisks feedback while typing) and hit Enter to continue.

2. If a previous version exists, upgrade Qmmp using Software Updater:

Or run commands to install or upgrade Qmmp and its plugins:

sudo apt-get update

sudo apt-get install qmmp qmmp-plugin-pack

For qt4 version, use qmmp-qt4 and qmmp-plugin-pack-qt4 instead in the last command.

Uninstall:

You can manage the PPA repository via Software & Updates utility, under Other Software tab.

To remove Qmmp music player, either use your system package manager or run command:

sudo apt-get remove --autoremove qmmp qmmp-*

brackets code editor

Brackets 1.14 was released with PHP, Language Server Protocol support. Here’s how to install it in Ubuntu 18.04.

Brackets 1.14 release highlights:

  • Language Server Protocol support.
  • PHP Tooling support. Tooling includes: Code Hints, Parameter Hints, Linting, Jump To Definition, Find References, Find Document/Project Symbols.
  • Framework for in-app notifications
  • Auto-update bug fixes
  • Update notification targeted to a specific platform

How to Install Brackets 1.14 in Ubuntu:

Snap package:

The easiest way to install the editor is using the community maintained snap (run in sandbox) package.

For Ubuntu 18.04 and higher, simply search for and install it via Ubuntu Software:

For Ubuntu 16.04, open terminal (Ctrl+Alt+T) from application menu and run 2 commands one by one:

sudo apt-get install snapd

sudo snap install brackets --classic

.Deb package:

The developer team offers official .deb packages, available for download at the release package:

Brackets Releases (deb)

Grab the package, and install it via Gdebi (install it via Ubuntu Software) package installer.

NOTE in my case the deb is conflict with some other packages, e.g., curl, kicad. They will be removed while installing the deb.

Remove Brackets

To remove the snap package, either use Ubuntu Software, or run command in terminal:

sudo snap remove brackets

To remove the official .deb package, run command in terminal:

sudo apt remove --auto-remove brackets

KeePass2

KeePass password manager 2.42 was released a few hours ago with many enhancements, improvements and bug-fixes.

KeePass 2.42 release highlights:

  • Added ‘Group’, ‘Entry’ and ‘Find’ to main menu, and removed ‘Edit’.
  • System-wide hot key (Ctrl+Alt+Shift+A) to auto-type only the password of a matching entry.
  • Shift+double clicking URL copy link to clipboard.
  • Added quick edit commands ‘Expires: Now’ and ‘Expires: Never’.
  • Added support for importing Steganos Password Manager 20 CSV files.
  • Added support for importing Bitwarden 1.12 JSON files.
  • Added support for importing tags and keywords for Mozilla Bookmarks JSON import
  • Two commands for copying a whole entry to the clipboard: ‘Copy Entry (Encrypted)’ and ‘Copy Entry (Unencrypted)’.
  • Added Ctrl+Shift+P shortcut for printing the currently selected group.
  • Added ‘Cancel’ command in the context menu of KeePass’ system tray icon.
  • And various other improvements and bug-fixes.

How to Install the Latest KeePass in Ubuntu:

The software package has been made into PPA for all current Ubuntu releases and derivatives.

1. Open terminal via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run following commands to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

Type user password (no visual feedback due to security reason) when it asks and hit Enter.

2. Then upgrade KeePass password safe via Software Updater if you have a previous version installed:

upgrade KeePass2

Or run commands to install / upgrade the software:

sudo apt-get update && sudo apt-get install keepass2

Uninstall:

The PPA repository can be removed via Software & Updates utility under Other Software tab.
To remove KeePass password safe, simply run command:

sudo apt-get remove --autoremove keepass2

FreeCAD 3D CAD modeler

FreeCAD, free and open-source 3D parametric modeler, released version 0.18 recently with Python 3 and Qt 5 support. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 19.04.

FreeCAD 0.18 release highlights:

  • Extended TechDraw tools
  • New sketcher tools, more stable and robust PartDesign
  • Enhanced and extended Arch and BIM tools
  • Redesigned Start center
  • New Navigation Cube
  • Specify a custom background image for FreeCAD’s main window

Install or Upgrade FreeCAD in Ubuntu:

The official FreeCAD PPA has built the latest release packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and their derivatives.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut, or by searching for ‘terminal’ from app menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:freecad-maintainers/freecad-stable

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

2. If a previous release was installed on your system, upgrade it via Software Updater:

Or install the software via following commands:

sudo apt update

sudo apt install freecad

Uninstall:

To remove FreeCAD, simply run command in terminal:

sudo apt remove --auto-remove freecad

To remove the PPA, open Software & Updates -> Other Software.

Battle For Wesnoth in Ubuntu

Battle for Wesnoth 1.14.7 was released a few days ago with many improvements and fixes, and later 1.14.8 was released with a quick fix for Mac OS. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, and higher.

Battle for Wesnoth 1.14.7 release highlights:

  • Numerous improvements and bug-fixes to the Campaigns
  • Units, tutorial, and translation updates.
  • UI improvements, including fix undoing a recall, add jamming to the vision tooltip in the sidebar, and more.
  • Miscellaneous and bug fixes. See HERE for details.

How to Install Battle for Wesnoth 1.14.7 in Ubuntu:

The new release package has been made into Flatpak package, available to install via the Flathub repository.

1. (For Ubuntu 16.04 only), open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo add-apt-repository ppa:alexlarsson/flatpak

sudo apt-get update

2. Install flatpak framework via command:

sudo apt-get install flatpak

3. Add flathub repository:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

4. Finally install the flatpak package of Battle for Wesnoth:

flatpak install flathub org.wesnoth.Wesnoth

Once installed, launch the game either from software launcher, or by running command flatpak run org.wesnoth.Wesnoth

If you already installed an old version via Flatpak, update it via command:

flatpak update org.wesnoth.Wesnoth

(Optional) 5. To remove the game, run command:

flatpak uninstall org.wesnoth.Wesnoth

Nvidia Linux driver

NVIDIA announced the new Linux driver 430 series a day ago with GTX 1650 support. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, and higher.

NVIDIA 430.09 was released as first beta with following new features:

  • New GPUs Support. GeForce GTX 1650, GeForce GTX 1650 with Max-Q Design, GeForce GTX 1660 Ti with Max-Q Design
  • Added HEVC YUV 4:4:4 decode support to the NVIDIA VDPAU driver.
  • Raised the minimum supported X.Org xserver version to 1.7
  • Added support for the GL_NV_vdpau_interop2 OpenGL extension
  • Bug-fixes, and various other VDPAU additions

How to Install NVIDIA Driver 430.09 in Ubuntu:

The Graphics Drivers Team PPA has built the 430.09 packages for all current Ubuntu releases, though it’s still in beta stage.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run command:

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

Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter to continue adding PPA.

2. For Linux Mint 19, you may need to run command to refresh system package cache:

sudo apt update

3. Launch Software & Updates utility, and navigate to Additional Drivers tab.

Then choose using “NVIDIA driver metapackage from nvidia-driver-430” from the list and click Apply Changes.

In addition, if the driver does not install after clicking ‘Apply Changes’, try running command in terminal:

sudo apt install nvidia-driver-430 nvidia-settings

For unmet dependency issue, try removing old NVIDIA proprietary drivers first.

Kodi “Leia” 18.2 was released a day ago with numerous bug-fixes and performance improvements. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, and higher.

Kodi 18.2 is a bug fix release with no real new functionality. Release highlights include:

  • Fix performance and dependency regressions in GLES rendering path.
  • Fixes to the AML platform
  • VAAPI on Intel improvements.
  • Fixes and improvements across all aspects of PVR
  • Music experience improvements.
  • Huge number of improvements for the Android platform

How to Install Kodi 18.2 in Ubuntu:

The Kodi stable PPA has made the new release packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, and their derivatives.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from application menu. When it opens, paste below command and hit run:

sudo add-apt-repository ppa:team-xbmc/ppa

Type user password (no asterisks feedback) when it prompts and hit Enter to continue.

2. Then refresh system package cache and install Kodi 18.2 via command:

sudo apt update

sudo apt install kodi

For Ubuntu 18.04 and higher, you can skip the apt update command.

Uninstall:

To remove the Kodi PPA repository, simply open Software & Updates -> Other Software.

To remove Kodi, run command:

sudo apt remove --autoremove kodi kodi-data kodi-bin

The final release of the open source kart racing game, SuperTuxKart 1.0, was announced. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04

SuperTuxKart 1.0 is a major release that features:

  • Play online with up to 10 other players.
  • Multiple game mode: normal race, time trial, soccer mode, battle mode and the new Capture-The-Flag mode
  • Create your own server, or join a public server.
  • Replace the old mansion track with the new upgraded Ravenbridge Mansion track.
  • Add the Black forest add-on to the official STK track set!
  • And numerous bug-fixes, performance improvements, and more.

How to install SuperTuxKart 1.0 in Ubuntu:

The dev PPA now is building the packages at the moment for all current Ubuntu releases. You’ll be able to install the package via following steps in a few hours.

1. Open terminal either via Ctrl+Alt+T keyboard shortcuts, or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo add-apt-repository ppa:stk/dev

Type user password (no asterisk feedback) when it prompts and hit Enter to continue adding the PPA.

2. For Ubuntu 16.04 and Linux Mint, you need to run command to refreah system package cache:

sudo apt update

3. Finally install the game via command:

sudo apt install supertuxkart

Once installed, open the game from your system application launcher and enjoy!

Uninstall:

To remove SuperTuxKart, open terminal and run command:

sudo apt remove --auto-remove supertuxkart supertuxkart-data

To remove the PPA, open Software & Updates -> Other Software, and remove the repository line: