Archives For November 30, 1999

The latest release of Eclipse IDE now is quite easy to install in Ubuntu 16.04, and Ubuntu 18.04 since it’s made into snap package.

Snap is an universal Linux package format. It ships with most run-time libraries so it’s normally large in file size. The snap applications run in sandbox and they can be installed directly from Ubuntu Software.

1. So you can just open Ubuntu Software, search for and install Eclipse 4.7.3a snap package:

For those prefer Linux command, run command in terminal to install the Eclipse snap:

snap install --classic eclipse

2. Eclipse needs java. If you don’t have it, run command in terminal to install OpenJDK java environment:

sudo apt-get install default-jre

You can also install Oracle Java 8 and/or 10 via this tutorial.

This quick tutorial shows you how to easily install Oracle Java JDK 8 and/or 10 in Ubuntu 18.04 LTS via PPA.

There’s no PPA package for Oracle Java 6 and 7 since they are now only available for those with an Oracle Support account (which is not free). And Java 9 has reached end of life.

Install Oracle Java JDK 10 in Ubuntu 18.04:

The “Linux Uprising” team maintains a PPA repository that contains Oracle Java 10 installer for all current Ubuntu releases.

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

sudo add-apt-repository ppa:linuxuprising/java

Type your password (no asterisks while typing) when it prompts and hit Enter to continue.

2. Then run command to install the package, and accept the license before it automatically downloading and installing JDK 10:

sudo apt-get install oracle-java10-installer

Once installed, Oracle Java 10 should be automatically set as default. If not, run command:

sudo apt-get install oracle-java10-set-default

3. Finally check your java version via java -version and javac -version:

Install Oracle Java JDK 8 in Ubuntu 18.04:

Webupd8 Team maintains a PPA repository that contains Oracle Java 8 installer scripts for all current Ubuntu releases.

1. Open terminal and run command to add the PPA:

sudo add-apt-repository ppa:webupd8team/java

Type your password (no asterisks while typing) when it prompts and hit Enter to continue.

2. Then run command to install Java 8 installer and accept license when it prompts:

sudo apt-get install oracle-java8-installer

Once installed, Oracle Java 8 should be automatically set as default. If not, run command:

sudo apt-get install oracle-java8-set-default

Uninstall:

It’s always easy to remove the PPA packages, simply open terminal and run command:

sudo apt-get remove --autoremove oracle-java8-installer oracle-java10-installer

And launch Software & Updates -> Other Software tab to remove the PPA repositories.

qBittorrent BitTorrent client 4.1.1 was released a day ago with important fixes in the version of libtorrent used. It fixes SOCKS5 issues and tracker announces about downloaded/uploaded data.

Changes in qBittorrent 4.1.1 include:

  • Add ‘Moving’ state for torrents being relocated/moved
  • Show rechecking progress
  • Add option to remember last used save path
  • Torrent name is also renamed if the content was renamed in the “Add New Torrent” dialog
  • Relax behavior of “Download first and last piece first”. It applies to all files and not only to the previewable
  • Fix issues with translatable strings
  • Fix displayed tracker messages
  • Make settings file recovery more robust
  • Retry saving settings when operation failed
  • Fix deletion of old logs
  • Fix adding multiple torrents at once from WebUI
  • Improve “Run External Program” behavior.
  • Suppress multiple I/O errors for the same torrent
  • Replace raster qbt logo with vector version
  • Fix open destination folder with Nautilus > 3.28
  • Web UI, RSS and other changes.

How to Install qBittorrent 4.1.1 in Ubuntu:

The official qBittorrent PPA contains the latest packages for Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04, and derivatives.

1. To add the PPA, open terminal either via Ctrl+Alt+T or searching “Terminal” from app launcher. When it opens, run:

sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable

Type in your password (no visual feedback while typing due to security reason) when it prompts and hit Enter to continue.

2. To upgrade from a previous release, launch Software Updater and you’ll see qBittorrent available for upgrade after checking for updates.

Or run commands below to install /upgrade it from terminal:

sudo apt update && sudo apt install qbittorrent

3. (Optional) To uninstall the 4.1.1 release and revert to the stock version of qBittorrent in Ubuntu repository, do:

sudo apt install ppa-purge && sudo ppa-purge ppa:qbittorrent-team/qbittorrent-stable

For those who want to install the latest Mesa 3D graphics driver 18.0.4, Canonical’s Timo Aaltonen has made it into Ubuntu-X Team PPA for Ubuntu 18.04 LTS.

Mesa 18.0.4 is so far the latest stable release that was announced a few weeks ago:

“r600 driver gets a fix for constant buffer boounds, which fixes rendering bugs in Trine and Witcher 1.

Several fixes for RADV driver: fixes around alpha channel in Pre-Vega, fix in multisample image copies, and fixes around multilayer images in compute path.

For the case of ANV/i965 drivers, also a couple of fixes, all of them around ISP. On top, there are a couple of fixes relative to code emission around 16-bit integers, and a a fix for a leak in blorp for Gen4 and Gen5.

Speaking of leaks, there are also fixes for winsys/radeon/amdgpu and pipe-loader.gets a couple of patches to fix a couple of leaks.

SPIR-V part gets a patch to apply OriginUpperLeft to FragCoord.

Mesa core gets a couple of patches to fix error handling in get_framebuffer_parameteriv, and to add missing support for glFogiv(GL_FOG_DISTANCE_MODE_NV).”

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

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

Type your password (no asterisks while typing due to security reason) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system repositories.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

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

Free and open-source multimedia converter Curlew 0.2.5 was released today with great new features and enhancements.

Curlew is a GTK3 software written in Python and uses ffmpeg/avconv for media encoding. The latest Curlew 0.2.5 features:

  • Add option to include all audio tracks of file.
  • Add support for merging files.
  • Add Fade In/Out filter feature.
  • Add paste “from the Clipboard” feature.
  • Use Home directory as default converting destination.
  • Hide unused page/widget.
  • Add xplayer to players list.
  • Colored buttons (Convert/Close).
  • Removed CSD option.
  • Deleted stdeb config files and use native debian packaging system.
  • Fix disabled convert button issue.
  • Bug fixes, code enhancements, and translation updates.

How to install Curlew 0.2.5 in Ubuntu:

The software offers pre-compiled .deb package available for download at the link below:

To install the .deb package in Ubuntu 16.04 and Ubuntu 18.04, either use Gdebi package manager or run command in terminal:

sudo dpkg -i ~/Downloads/curlew_0.2.5-1_all.deb; sudo apt-get -f install

Uninstall:

To remove the software, simply run command in terminal:

sudo apt-get remove --autoremove curlew

This quick tip shows you how to change the position of on screen notifications in Ubuntu 18.04 Gnome desktop.

I’ve written about how to customize on screen notifications in Ubuntu Unity by installing a patched version of Notify OSD daemon.

Ubuntu 18.04 ships with Gnome 3 desktop by default. Desktop appearances can be tweaked by installing Gnome Shell extensions.

1. For those never installed a Gnome Shell extension, click the link below to install some required packages:

2. Panel OSD is a Gnome extensions that allows to move screen notification position, and change time-out delay.

Go to the link below in your web browser and turn on the switch to install the extension:

3. Once installed the extension, install Gnome Tweaks in Ubuntu Software, and configure it in Gnome Tweaks -> Extensions tab.

 

HPLIP 3.18.5, HP developed Linux drivers for HP inkjet and laser based printers, was released a few hours ago.

HPLIP 3.18.5 brings a large list of new printers support:

  • HP DesignJet T1700 / T1700dr PostScript
  • HP Color LaserJet Pro M253a, M254dn, M254n, M254dne, M254nw, M254dw, M254cnw, M253nw, M253cnw, M254cdw.
  • HP Color LaserJet Pro MFP M180nw, M181fw, M179fw, M179cfw, M181fnw, M181cfw, M180n, M178cn, M178n, M180cn
  • HP Color LaserJet Pro MFP M281fdw, M279fdw, M281cdw, M281fdn, M281dne, M278dn, M280nw, M278nw, M278cw, M280cnw, M280c2
  • HP Color LaserJet Pro M154a
  • HP Color LaserJet M153a, M153b, M153nw, M153cnw, M153c1, M154b, M154nw, M153c1, M154cnw, M154c1
  • HP PageWide Managed Color MFP P77440dn, P77440dn, P77940dns, P77940dn, P77940dn+, P77950dns, P77950dn, P77950dn+, P77960dns, P77960dn, P77960dn+

Download / Install HPLIP 3.18.5:

To install the software, download the package “hplip-3.18.5.run” from the link below:

Then open terminal via Ctrl+Alt+T or search for “terminal” from app launcher. When it opens, run command:

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

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

Then follow the terminal outputs, answer some questions to build and install HPLIP on your system. When everything is done, plug/re-plug your printers and enjoy!

SMPlayer media player 18.5.0 was released earlier today with enhancements and a few bug-fixes. Here’s how to install it in all current Ubuntu releases via PPA.

SMPlayer 18.5.0 release highlights:

  • Now the YouTube live streams work on Windows as well.
  • A problem which might prevent SMPlayer to open filenames with unicode characters in Windows has been fixed.
  • Fix: the cursor keys should now work in the playlist.
  • Now it’s possible to select which multimedia keys should be used as global shortcuts (Preferences -> Keyboard and mouse).
  • The multimedia key events are sent twice on some systems, making some keys (like volume mute or play/pause) almost unusable. This version tries to detect it and prevent it.
  • “opus” has been added to to the list of audio extensions.

How to Install SMPlayer 18.5 in Ubuntu:

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04, and derivatives, do following steps to install or upgrade SMPlayer via its PPA repository.

1. Search for and launch “terminal” from application launcher. When it opens, run command:

sudo add-apt-repository ppa:rvm/smplayer

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

2. Then upgrade SMPlayer using Software Updater (or Update Manager):

or run commands in terminal to install (or upgrade) the media player:

sudo apt-get update

sudo apt-get install smplayer smtube smplayer-themes

Uninstall:

To remove SMPlayer, run command in terminal:

sudo apt-get remove --autoremove smplayer smtube smplayer-*

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

GIMP 2.10.2, the first bug-fix release for the GIMP 2.10 series, was released 2 days ago. And now you can easily install it in Ubuntu 18.04, Ubuntu 17.10, and derivatives.

GIMP 2.10.2 release highlights:

  • Add HEIF image format support both for loading and export
  • Spherize filter to wrap an image around a spherical cap
  • Recursive Transform filter to create a Droste effect
  • Single-window screenshots improvement for Windows.
  • Histogram computation improvement which eliminates some UI freezes
  • Document update and a total of 44 bug-fixes.

How to Install GIMP 2.10.2 via PPA in Ubuntu:

The new release has been made into PPA repository for Ubuntu 18.04, Ubuntu 17.10.

Ubuntu 16.04 is not supported at the moment due to inextricably Glib dependencies.

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

sudo add-apt-repository ppa:otto-kesselgulasch/gimp

Type your password (no visual feedback) when it prompts and hit Enter to continue.

2. After added the PPA, you can upgrade to GIMP 2.10.2 from an existing release using Software Updater (Update Manager):

or run commands one by one in terminal to install or upgrade GIMP:

sudo apt-get update

sudo apt-get install gimp

Tip: apt update command is not required for Ubuntu 18.04 since it automatically refresh repository caches after adding PPA.

How to Restore:

For any reason, you can restore to the old GIMP 2.8.22 by running following command in terminal to purge the PPA:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:otto-kesselgulasch/gimp

How to Install MuPDF 1.13.0 in Ubuntu 18.04

Last updated: May 21, 2018

This quick tutorial is going to show you how to install the latest MuPDF viewer 1.13.0 in Ubuntu 18.04, Ubuntu 16.04, Ubuntu 17.10.

MuPDF is a lightweight PDF, XPS, and E-book viewer that consists of a software library, command line tools, and viewers for various platforms.

The latest MuPDF 1.13.0 is primarily a bugfix release that features:

  • New “mutool sign” tool for showing and verifying digital signatures.
  • Chinese, Japanese, Korean, Cyrillic, and Greek font support in mutool create.
  • Improvements to annotation editing API.
  • And some security fixes.

How to Install MuPDF 1.13.0 in Ubuntu / Linux Mint:

Besides building the tool from source, there’s an unofficial PPA with the packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 17.10, and their derivatives.

1. Open terminal by pressing Ctrl+Alt+T or searching for “Terminal” from start menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

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

2. Then install mupdf and mupdf-tools packages either via Synaptic Package Manager or by running following commands in terminal:

sudo apt-get update

sudo apt-get install mupdf mupdf-tools

If you have a previous release installed, simply launch Software Updater to upgrade the tool after checking for updates.

To use the PDF/XPS viewer, right-click on your file and select open with MuPDF. You can also set MuPDF as default in the Properties window.

Uninstall:

To restore MuPDF to the stock version available in your Ubuntu’s main archive, run command in terminal to purge the PPA:

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