Archives For jimingkui

MuPDF 1.12.0 Released! How to Install it in Ubuntu

Last updated: December 15, 2017

MuPDF Ubuntu 16.04

MuPDF, a lightweight PDF, XPS, and E-book viewer, reached 1.12.0 release recently. Here’s how to install it in Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, and their derivatives.

MuPDF 1.12.0 release highlights:

  • LCMS2 library for color management.
  • CMYK rendering with overprint simulation.
  • Spot color rendering.
  • Reworked structured text API.
  • Faster text searching.
  • New semantic XHTML output format.
  • New layout preserving HTML output format.
  • Improved non-AA rendering with new scan converter.
  • Improved support for LARGEFILE and TIFF
  • Add PCLm, and PSD output.
  • New “mutool trace” tool.
  • New “mutool sign” tool (work in progress).
  • And lots of bug fixes, See NEWS for details.

How to Install MuPDF 1.12.0 in Ubuntu / Linux Mint:

Besides building the tool from source, there’s an unofficial PPA with the packages for Ubuntu 16.04, Ubuntu 17.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

The first update for IntelliJ IDEA 2017.3 series was release a day ago with few bug fixes.

IntelliJ IDEA 2017.3.1 fixed:

  • Groovy: Intellisence does not work in Groovy code
  • JavaScript.Frameworks: Freezes when switching git branches

How to Install IntelliJ IDEA 2017.3.1 in Ubuntu:

There are a few ways to run the latest release of the Java IDE in Ubuntu desktop. And here are 3 of them:

method 1: Download official Linux package (NON-INSTALL), extract and run the executable to launch the IDE:

Download IntelliJ IDEA for Linux

method 2: Install the Snap package (runs in sandbox) for Ubuntu 16.04 and higher:

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

sudo snap install intellij-idea-community --classic

Replace intellij-idea-community with intellij-idea-ultimate for ultimate edition. And type your password (no visual feedback) when it asks.

method 3: Install the traditional .deb package via PPA to get the official Linux package and install the application shortcut automatically.

To do so, open terminal (Ctrl+Alt+T) and run following commands one by one to add the PPA and install the .deb packages:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install intellij-idea-community

Also replace intellij-idea-community in the code with intellij-idea-ultimate for ultimate edition.

Uninstall:

For the snap packages, you can either remove them from Ubuntu Software, or by running command in terminal:

sudo snap remove intellij-idea-community intellij-idea-ultimate

For the PPA packages, remove them either via Synaptic package manager, or by running command in terminal:

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

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

GIMP 2.9.8, a new unstable release, an intermediate state on the way to the next GIMP 2.10, was released.

GIMP 2.9.8 introduces on-canvas gradient editing and various enhancements while focusing on bugfixing and stability.

  • Blend tool now features on-canvas gradient editing: adding, shifting, removing color stops, shifting midpoints and converting them to color stops, assignging colors to color stops, changing blending type for midpoints.
    Faster color library
  • ‘Clip Warning’ in Display Filters
  • The default brush is now “Hardness 050”.
  • OpenCL disabled by default
  • Statusbar will blink on warnings, errors
  • Screenshot for KDE/Wayland has been implemented
  • Color Picker now works on KDE/Wayland.
  • For more details, see the News page.

How to Install GIMP 2.9.x in Ubuntu:

There’s a PPA repository contains the latest development GIMP packages for Ubuntu 16.04, Ubuntu 17.04, and Ubuntu 17.10.

1. Note that GIMP 2.9.x is unstable! It should not be used in production!

2. Not sure why, the last numbers of 2.9.x, announced by GIMP team, are even numbers. But the PPA builds packages with odd version numbers (so far its GIMP 2.99).

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

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

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

2. Then upgrade GIMP from an existing release via Software Updater utility:

or simply run commands to check updates and install GIMP:

sudo apt update

sudo apt install gimp

How to Restore:

You can easily restore GIMP image editor to the stock version (distribution build) in your Ubuntu by purging the PPA via command:

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

And if you want to re-install the latest stable GIMP (2.8.22 so far), see this tutorial after purging the previous PPA.

wireshark

The open-source network analyzer Wireshark 2.4.3 was released days ago on Nov 30. The stable PPA finally built the packages for all current Ubuntu releases.

Wireshark 2.4.3 is a bug-fix release. Following bugs has been fixed in the release:

  • The IWARP_MPA dissector could crash.
  • The NetBIOS dissector could crash.
  • The CIP Safety dissector could crash.
  • “tshark -G ?” doesn’t provide expected help.
  • File loading is very slow with TRANSUM dissector enabled.
  • SSL Dissection bug.
  • Wireshark crashes when exporting various files to .csv, txt and other ‘non-capture file’ formats.
  • RLC reassembly doesn’t work for RLC over UDP heuristic dissector.
  • HTTP Object export fails with long extension (possibly query string).
  • 3GPP Civic Address not displayed in Packet Details.
  • PEEKREMOTE dissector does not decode 11ac MCS rates properly.
  • Wireshark Crash when trying to use Preferences | Advanced.
  • Read the release note for more.

How to Install Wireshark 2.4.3 in Ubuntu:

Wireshark has a stable PPA with the latest packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, and Ubuntu 17.10, though the title says only Ubuntu 17.10.

1. To add the PPA, open terminal from Unity Dash / App Launcher, or via Ctrl+Alt+T shortcut keys, and then run command:

sudo add-apt-repository ppa:wireshark-dev/stable

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

wireshark-official-ppa

2. For those who have a previous release installed, launch Software Updater (or Update Manager) to upgrade it to the latest:

upgrade wireshark

Or run the commands below in terminal to install / upgrade wireshark:

sudo apt-get update

sudo apt-get install wireshark

How to restore:

To restore to the stock version of Wireshark in Ubuntu main repositories, purge the PPA via ppa-purge tool:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:wireshark-dev/stable

The 2018.0 release of the open-source Hugin Panorama photo stitcher reached the first beta release a day ago.

Changes in Hugin 2018.0 include:

  • Several improvements for optimizer tabs (mark deselected images, allow changing optimizer variables for all selected images at once, option to ignore line cp)
  • hugin_stacker: New tool to stack overlapping images.
  • Hugin: Added option to disable auto-rotation of images in control point and mask editor.
  • Nona, verdandi and hugin_stacker can now write BigTIFF images (for files >4 GB).
  • Added expression parser to GUI: This allows to manipulate several image variables at once. (This is the same as running pto_var –set from the command line.)
  • Add user-defined assistant and expose it in the GUI. It allows to set up different assistant stategies without the need to recompiling. Provide also some examples (scanned images, multi-row panoramas with orphaned images, single-shot panorama
    cameras).

Download Hugin 2018.0 Beta:

The source tarball, Windows and Mac OS packages are available for download at the link below:

Download Hugin

For Ubuntu, Hugin Packages team offers three PPAs, though the Beta build is not available at the moment.

Audacity audio editor reached the 2.2.1 release a few days ago with performance improvements and various bug-fixes.

Audacity 2.2.1 adds ability to change the colorway of the waveforms displayed in your project. The setting is per track and not per project so you can have multiple colorways in the same project.

Other changes in Audacity 2.2.1:

  • File menu called “Save Other” is reverted “Export”
  • Fix crash applying certain chain files
  • Fix MIDI playback timing / synchronisation problems for Linux
  • Fix Quick Play loops fail to start at click position
  • Fix auto-scroll stopped working issue in 2.2.0
  • And various other bug-fixes.

How to Install Audacity 2.2.1 in Ubuntu:

The Audacity team does not offer pre-compiled Linux binaries. Besides building from source, a third-party PPA is available with Audacity 2.2.0 for Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, and Ubuntu 18.04

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

sudo add-apt-repository ppa:ubuntuhandbook1/audacity

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

audacity ppa

2. If you have a previous version installed, you can upgrade Audacity via Software Updater after adding the PPA.

upgrade audacity

or run following commands one by one to check updates and install (or upgrade) audacity 2.2:

sudo apt-get update

sudo apt-get install audacity

Uninstall:

To remove the PPA repository, launch Software & Updates utility and navigate to ‘Other Software’ tab.

To remove Audacity audio software, either use system package manager or run command in terminal:

sudo apt-get remove --autoremove audacity audacity-data

Pithos, a native Pandora Radio client for Linux, reached the 1.4.1 release days ago with performance improvements and some bug-fixes.

Changes in Pithos 1.4.1 include:

  • Change default quality to high (mp3)
  • Mark application as DBusActivatable
  • MPRIS: Fix potential unhandled exception
  • Handle keyboards with a dedicated pause key
  • Fix media keys support on GNOME-Shell 3.26+ and MATE
  • Improve behavior on various notification servers

How to Install Pithos 1.4.1 in Ubuntu:

There’s no PPA with the latest Pithos build at the moment. Besides building from source tarball, the easiest way is to install its Flatpak app.

See this how-to install Pithos flatpak app in Ubuntu 16.04 and higher.

VideoLAN finally announced the release of VLC media player 2.2.8.

VideoLAN and the VLC development team are happy to publish version 2.2.8 of VLC media player today.

This release fixes a security issue in the AVI demuxer. Additionally, it includes the following fixes, which are part of 2.2.7: This release fixes compatibility with macOS High Sierra and fixes SSA subtitles rendering on macOS. This release also fixes a few security issues, in the flac and the libavcodec modules (heap write overflow), in the avi module and a few crashes.

For macOS users, please note: A bug was fixed in VLC 2.2.7 concerning the update mechanism on macOS. In rare circumstances, an auto-update from older versions of VLC to VLC 2.2.8 might not be possible. Please download the update manually from our website in this case.

The source tarball was available more than a week ago. It’s been made into main repository of Ubuntu 18.04 LTS.

For Ubuntu 14.04 and Ubuntu 16.04, I’ve wrote about how to install VLC 2.2.7 via PPA, which now contains VLC 2.2.8.

VLC is also available as Flatpak for Ubuntu 16.04 and higher. Install latest Flatpak via PPA, then open terminal and run command to install VLC via Flatpak:

flatpak install --from https://flathub.org/repo/appstream/org.videolan.VLC.flatpakref

The second bug-fix release for QupZilla 2.2 series was release a few hours ago. The new release features following changes:

  • updated available user agent strings
  • added support for “font” option in AdBlock
  • fix build with Qt 5.10
  • fix build on macOS < 10.12
  • fix showing irrelevant domain completions in locationbar
  • fix showing site icons on some systems
  • fix clearing visited links when clearing history
  • fix using system network proxy configuration
  • fix saving window geometry when closing app with Ctrl+Q shortcut
  • fix various issues with web page not being focused after restoring session
  • fix AutoScroll plugin not being able to scroll to all directions in some cases
  • Linux: add StartupWMClass to desktop file
  • Windows: fix possible isssue with uninstaller removing more files than it should

Download / Install QupZilla 2.2.2 in Ubuntu:

QupZilla can’t be built into .deb packages in all current Ubuntu releases due to outdated Qt5 libraries.

So far, the easiest way to run QupZilla in Ubuntu is to use the Appimage, a non-install single executable file:

Download QupZilla Appimage

Download the file, make it executable from its Properties window, and finally run the Appimage to launch QupZilla web browser:

QupZilla 2.2 Appimage

Don’t see the “Run” option even after made the Appimage executable? Go to file manager’s menu Edit -> Preferences -> Behavior -> Choose the option says ‘Run executable text files when they are opened’.

MAME (Multiple Arcade Machine Emulator) reached the 0.192 release. Here’s how to install it via PPA in Ubuntu 17.04, Ubuntu 17.10.

MAME is a free and open source emulator designed to recreate the hardware of arcade game systems in software on modern personal computers and other platforms.

The latest MAME 0.192 was release a few days ago with following changes:

  • Supports Oriental Legend 2 and Knights of Valour 2 New Legend
  • The MCU for Ping Pong King is simulated
  • Flower and Taito’s abstract maze game Marine Date are emulated better.
  • Missing graphics in the Merit Megatouch games fixed.
  • graphical fixes for FM Towns
  • heaps of improvements for the Tatung Einstein
  • No-Slot Clock support for the Apple //e family
  • support for some Brazilian CoCo clones from Prológica and Codimex.
  • The ACI Destiny Prodigy, Mephisto RISC 1MB and Mephisto RISC II chess computers are now working.

How to Install MAME 0.192 in Ubuntu:

There’s an unofficial PPA contains the latest packages for Ubuntu 17.04, and Ubuntu 17.10 so far. Unfortunately, Ubuntu 16.04 build is not updated any more since version 0.189.

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

sudo add-apt-repository ppa:c.falco/mame

Input your password (no visual feedback) when it prompts and hit Enter to continue adding the PPA.

2. Then upgrade the emulator via Software Updater utility if you have a previous release installed.

or run commands one by one in terminal to install it:

sudo apt-get update

sudo apt-get install mame

Uninstall:

To remove MAME emulator, run following command in terminal:

sudo apt-get remove --autoremove mame

To remove the PPA, launch ‘Software & Updates’ utility and navigate to Other Software tab.