Archives For Howtos

Linux Kernel

Ubuntu 16.04.2 LTS was released 2 days ago with security updates, corrections for high-impact bugs, and hardware enablement stacks for use on newer hardware.

The LTS enablement stacks provide Linux Kernel 4.8 and newer X support, and they are included in the Ubuntu 16.04.2 desktop ISO images.

Ubuntu 16.04 LTS

For original Ubuntu 16.04, and Ubuntu 16.04.1 users, you have to manually install the HWE stacks. And below will tell you how:

How to Install Hardware Enablement Stacks:

Open terminal from app launcher or via Ctrl+Alt+T shortcut key. When it opens, run command:

sudo apt-get install --install-recommends xserver-xorg-hwe-16.04

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

install hwe stack

After installation, reboot your computer.

How to Uninstall:

1. I don’t like the new X stack in my laptop, so I removed it via commands:

sudo apt remove xserver-xorg-core-hwe-16.04 xserver-xorg-input-all-hwe-16.04 linux-generic-hwe-16.04 xserver-xorg-video-all-hwe-16.04

You’ll see the command also removes the ubuntu-desktop package. Don’t worry. The following commands will install it back.

2. Then install back the original xserver-xorg via commands:

sudo apt install xserver-xorg-core

sudo apt install ubuntu-desktop xserver-xorg libgl1-mesa-dri:i386 libgl1-mesa-glx:i386

If you want to remove the new kernel 4.8, reboot and select boot with old 4.4 kernel (grub -> Advanced Options), then see this how to tutorial.

i2p-icon

i2pd (I2P Daemon) is a full-featured C++ implementation of I2P client.

I2P (Invisible Internet Protocol) is a universal anonymous network layer. All communications over I2P are anonymous and end-to-end encrypted, participants don’t reveal their real IP addresses.

I2P client is a software used for building and using anonymous I2P networks. Such networks are commonly used for anonymous peer-to-peer applications (filesharing, cryptocurrencies) and anonymous client-server applications (websites, instant messengers, chat-servers).

I2P allows people from all around the world to communicate and share information without restrictions.

Features:

  • Distributed anonymous networking framework
  • End-to-end encrypted communications
  • Small footprint, simple dependencies, fast performance
  • Rich set of APIs for developers of secure applications

So far the latest version is ip2d 2.12 with following changes:

  • Additional HTTP and SOCKS proxy tunnels
  • Reseed from ZIP archive
  • ‘X’ bandwidth code
  • OpenSSL 1.1 for Android and Mac OS X
  • Some stats in a main window for Windows version
  • Fixed clock skew for Windows XP
  • New logo for Android
  • Reduced memory and file descriptors usage

How to Install i2pd via PPA in Ubuntu / Linux Mint:

The project offers DEB binaries for download in its release page.

For those who want to keep it up-to-date, install i2pd using the PPA repository via following steps:

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

sudo add-apt-repository ppa:purplei2p/i2pd

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

i2pd-ppa

2. Then update package caches and install i2pd:

sudo apt update

sudo apt install i2pd

When a new release is out, simply launch Software Updater and upgrade it along with other system updates.

Uninstall:

You can remove the PPA anytime using Software & Updates utility under Other Software tab, and i2pd can be removed via command:

sudo apt remove i2pd && sudo apt autoremove

For router setup, tunnel configuration and other documentations, go to the wiki page.

Nvidia Linux driver

NVIDIA Linux driver 375.39 and 378.13, the latest long-lived and short-lived branch versions, were both released yesterday.

Both drivers add support Quadro GP100, P4000, P2000, P1000, P600. P400, M1200, M2200 GPUs support. NVIDIA 378.13 also supports Quadro P3000.

Besides adding new GPUs support, Nvidia 375.39 only brings fixes to hot-plugging displays and resuming from suspend issues.

Nvidia 378.13 adds support for viewing configured PRIME displays in nvidia-settings, support for X.Org xserver ABI 23, and various other changes and fixes. See HERE for details.

Download & Install Nvidia 375.39 / 378.13:

NOTE that following steps is not recommended for beginners! Installing the proprietary drivers may cause blank screen and you have to know how to troubleshoot, such as setting NOMODESET in grub, or remove the driver from command console.

Besides using the official installers from the NVIDIA website, the “Graphics Driver” team has made the new releases into PPA, available for Ubuntu 17.04, Ubuntu 16.04, Ubuntu 16.10.

1. To add the PPA, open terminal from app launcher or via Ctrl+Alt+T key and run command:

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

nvidia-ppa

2. Then update your system package index via command:

sudo apt update

3. Both drivers will finally available for install in Additional Drivers utility.

nvidia-378-375-driver

Select the one you want to install and click Apply Changes button will automatically download and install the driver into your system. Restart your computer once done.

parole-icon245

Parole, a modern simple media player for the Xfce desktop, has now reached the 0.9.0 release with a fresh set of features and fixes.

What’s new in Parole 0.9.0:

  • New “mini mode”, activated from the right-click menu.
  • New play and replay icons in the player content area. Clicking on these will play or replay your media (finally)!
  • Most deprecated API calls have been dropped or replaced. We’re not dropping GtkStatusIcon yet, the notification area lives on in Xfce!
  • Double buffering with the X11/XV video outputs has been reenabled. Ubuntu has been carrying this patch for a while now.
  • The window title and content title are now set to the playing filename if no ID3 tags are found.
  • Plugins can now be loaded by name instead of full path (plugin-name.so).
  • The desktop file and related AppStream have been updated to the now-standard “reverse-DNS” convention (org.xfce.Parole)
  • Translation updates.

parole-media-player

How to Install Parole 0.9 in Ubuntu / Linux Mint:

Besides building from the Parole source tarball, Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, users can install the 0.9.0 release from PPA repository (unofficial):

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

sudo add-apt-repository ppa:ubuntuhandbook1/apps

parole ppa

2. Then upgrade the software via Software Updater (Update Manager) if a previous release is installed:

upgrade parole media player

For those who don’t want to add PPA, grab the DEB package directly from THIS PAGE.

Uninstall:

For any reason you can easily restore Parole media player to the original version available in Ubuntu Software App, by running command in terminal:

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

Blender 2.78b

Blender 2.78b, a 2.78a release-compatible update was announced yesterday with important speedups, especially in Cycles and for Dependency graph.

BLender 2.78b comes with Cycles Speedups that were announced last month. Most notable will be faster rendering of Motion blur with hair, which has a 5-10 time speedup – important for production rendering. Also there are various bug-fixes.

Blender 2.78b

How to Install Blender 2.78b in Ubuntu:

Blender is now available as SNAP package, first install snapd via command sudo apt install snapd in terminal, then you’re able to search for and install blender-tpaw in Ubuntu Software.

blender SNAP

For those who don’t like the SNAP version, Blender 2.78b is also available in Thomas Schiex’s PPA, supports for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, and derivatives.

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

sudo add-apt-repository ppa:thomas-schiex/blender

Type in your password (no visual feedback) when it prompts and hit enter.

blender-ppa

2. Then you can upgrade Blender from an existing version via Software Updater (or Update Manager) after checking for updates.

upgrade to blender 2.78

Or install blender package either via Synaptic Package Manager or via commands:

sudo apt-get update

sudo apt-get install blender

Uninstall:

If you installed blender from PPA repository, run the following command in terminal to remove the PPA and downgrade Blender to the stock version available in Ubuntu main repositories.

sudo apt-get install ppa-purge && sudo ppa-purge ppa:thomas-schiex/blender