JetBrains’ IntelliJ IDEA Java ide has reached the 2017.2.6 release with 2 new features and various bug-fixes.

IntelliJ IDEA 2017.2.6 added or fixed:

  • Allow “generate classes from database schema” for plain-JDBC developers
  • Allow “Return of ‘null'” to be ignored when return type is java.lang.Void
  • Code inspection hangs in the latest 2017.2.5 release
  • IntelliJ crashes system when generating a database diagram
  • Error on Refresh Gradle Project using Java 9
  • application properties not set when starting Spring Boot service in IDEA
  • New > Tapestry > Component / Page operation does nothing
  • “Open Task” makes the whole IDE freeze when selecting a task too quickly
  • And see the release note for more.

IntelliJ IDEA 2017.2 splash

How to Install IntelliJ IDEA 2017.2.6 in Ubuntu:

The official Linux packages are available for download at the link below:

IntelliJ IDEA Linux Download

Grab the package, extract, and run the executable to launch the IDE. You may manually create an application shortcut to be able to start it from app launcher.

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, you can also use the installer script that automatically downloads the IDE from JetBrains’ web server, installs it to /opt/, and finally creates an app shortcut for it.

installer script (.deb) for IntelliJ IDEA Community | IntelliJ IDEA Ultimate

Install the script via dpkg command:

sudo dpkg -i ~/Downloads/intellij-idea-*_2017.2.6-1_all.deb

Alternatively, simply open terminal (Ctrl+Alt+T) and run following commands one by one to add the PPA and install the script:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install intellij-idea-community

replace intellij-idea-community with intellij-idea-ultimate in the last command to install the ultimate edition.

Uninstall:

To remove the Java IDE, simply run command in terminal:

sudo apt-get remove --autoremove intellij-idea-community intellij-idea-ultimate

And remove the PPA via Software & Updates utility under Other Software tab.

Firefox 55

Mozilla Firefox reached the 57.0 release earlier today. The new release, Firefox Quantum, features a completely new browsing engine makes it over twice as fast as before.

Mozilla Firefox 57.0 release highlights:

  • A completely new browsing engine.
  • A redesigned interface, and optimizations for touch screens
  • A unified address and search bar.
  • A revamped new tab page that includes top visited sites, recently visited pages, and recommendations from Pocket
  • An updated product tour to orient new and returning Firefox users
  • AMD VP9 hardware video decoder support for improved video playback with lower power consumption
  • An expanded section in preferences to manage all website permissions
  • Also various security fixes and other changes. See release note.

How to install Firefox 57 in Ubuntu:

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, the latest Firefox 57 will be published through Ubuntu security & updates repository.

Once it’s published (check Firefox in launchpad), you can upgrade Firefox via Software Updater:

upgrade firefox

Can’t wait? Mozilla offers non-install Linux packages (select i686 for 32-bit, x86_64 for 64-bit os):

Download Firefox (non-install)

Linux Kernel

Linux Kernel 4.14 stable was released yesterday. Linus Torvalds announced that:

No surprises this week, although it is probably worth pointing out how the 0day robot has been getting even better (it was very useful before, but Fengguang has been working on making it even better, and reporting the problems it has found).

Sure, some of the new reports turned out to be just 0day doing things that just don’t work (ie KASAN with old gcc versions, but also doing things like loading old ISA drivers in situations that just don’t make sense – remember when you couldn’t even ask if the hardware existed or not, and just had to know), but even then it’s been all good.

The appended shortlog is obviously only for the (small) haul since rc8, and it really is tiny. Not very many commits, and they are small. The biggest thing that stands out in the diffstat is the “leaking_addresses” perl script, which is actually under active development, but I put the first version in for 4.14 just so that people could see that initial state and start looking at the end result and perhaps ask themselves “should my code make these kernel addresses visible to user space”.

How to Install Kernel 4.14 in Ubuntu / Linux Mint:

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 PPA has made the new kernel binaries for Ubuntu, available for download at the link below:

Download Kernel 4.14 (.deb)

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

  1. linux-headers-4.14.0-xxxxxx_all.deb
  2. linux-headers-4.14.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-image-4.14.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.14 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.14/linux-headers-4.14.0-041400_4.14.0-041400.201711122031_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400-generic_4.14.0-041400.201711122031_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-image-4.14.0-041400-generic_4.14.0-041400.201711122031_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400_4.14.0-041400.201711122031_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400-generic_4.14.0-041400.201711122031_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-image-4.14.0-041400-generic_4.14.0-041400.201711122031_i386.deb

sudo dpkg -i *.deb

After installed these .debs, restart and enjoy!

For those who prefer a graphical tool, try Ukuu.

Uninstall Linux Kernel 4.13:

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.14, or you may see this how to remove old kernels tutorial.

Wine Stable

The Wine development 2.21 was released earlier today. Here’s how to install it in Ubuntu via its official repository.

Wine 2.21 features:

  • Still more metafile support in GdiPlus.
  • Indirect draws support in Direct 3D.
  • Calling convention fixes on ARM.
  • Improved serial port detection on Linux.
  • Services fixes on WoW64.
  • Better DPI scaling in the Shell Explorer.
  • And a total of 16 bug-fixes, see here for details.

How to Install Wine 2.21 in Ubuntu / Linux Mint:

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Linux Mint 17.x and 18.x, open terminal via Ctrl+Alt+T and run following commands one by one:

1. Add the official wine repository via command:

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

For Linux Mint 18.x, use following command instead to add the repository:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

For Linux Mint 17.x, replace xenial in the code with trusty.

2. Install the GPG key to be able to receive software updates:

wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key

3. Finally update and install the latest Wine development release:

sudo apt-get update

sudo apt-get install --install-recommends winehq-devel

Uninstall:

To remove wine dev release, simply run command in terminal:

sudo apt-get remove --autoremove winehq-devel

And you can remove the repository via Software & Updates utility under Other Software tab.

The latest release of Mesa 3D graphics library 17.2.4 now is available to install easily via Ubuntu-X Team PPA in Ubuntu 16.04 and Ubuntu 17.10.

Mesa 17.2.4 was released more than a week ago with several Intel OpenGL/Vulkan fixes, memory leak fixes for the Mesa state tracker, a Vulkan windowing system integration memory leak fix for X11, and some other small fixes.

How to Install Mesa 17.2.4 in Ubuntu 16.04, 17.10 via PPA:

1. Open terminal either via Ctrl+Alt+T keyboard shortcuts or by searching for “terminal” from application launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Input your password (no visual feedback while typing) when it prompts and hit Enter.

Mesa ppa

2. Then refresh your system and install upgrades via commands:

sudo apt-get update

sudo apt-get install dist-upgrade

3. To check result, run command:

glxinfo | grep "OpenGL version"

How to Restore:

To revert back to the original Mesa 3D graphics library in Ubuntu, get into command console and run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates