Archives For Howtos

The official LibreOffice Fresh PPA finally made the LibreOffice 7.1 packages for Ubuntu 20.04 and Ubuntu 20.10.

LibreOffice, Ubuntu’s default office suite, released version 7.1 almost a month ago. The new release features new Additions Dialog to better integrate extensions, new User Interface select dialog, new widget with styles preview in tabbed Notebookbar.

LibreOffice Math gets full support of HTML colors, and new examples in Element pane. The Writer application features faster find/replace, a new Style Inspector, and better detection of Unicode in documents. LibreOffice Impress gains new animation presets and adds “Pause/Resume” and “Exit” buttons.

How to Install LibreOffice 7.1 via Ubuntu PPA:

For Ubuntu 20.04, Ubuntu 20.10, Linux Mint 20, firstly open terminal and run command to add the PPA:

sudo add-apt-repository ppa:libreoffice/ppa

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

After that, open Software Updater and you’ll see the package updates for office suite after checking for updates.

Just install all the updates and done!

How to Restore:

For any reason, you can restore the office suite to the original pre-installed version, by running command in terminal to purge the PPA:

sudo apt install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa

Blender 2.79

For those prefer installing apps via the classic apt method, you can now install Blender 2.92 via PPA in Ubuntu 20.04, Ubuntu 20.10, and also Ubuntu 16.04, Ubuntu 18.04.

The open-source 3D modeller software Blender 2.92 was released a few days ago. Features “a completely new workflow for editing meshes, new physics simulation methods, faster Cycles rendering, better compositing with Eevee, and so much more.

Blender offers official Snap package, which runs in sandbox, and is available to install directly from Ubuntu Software. As well, a Linux portable package is available to download in its website. For those prefer the classic deb packages, Thomas Schiex’s PPA has made it for Ubuntu 20.04 and Ubuntu 20.10 users.

1. Add Blender PPA:

Firstly open terminal from system application launcher. When it opens, run command to add the PPA:

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

Type user password, no asterisk feedback, when it asks and hit Enter to continue.

The PPA does not support for Ubuntu 16.04 and Ubuntu 18.04, but another PPA do! It however requires a few more PPA for updated libaries, see the PPA description for detail.

2. Install or update Blender:

If you have an old version of Blender packages installed via apt method, open Software Updater (Update Manager) and update the software:

upgrade to blender 2.79

Or run commands in terminal to install / update the package:

sudo apt update

sudo apt install blender

3. Fix missing issue:

Blender 2.92 does not start in my Ubuntu 20.04, and it outputs an error when running from terminal:

/usr/lib/blender/blender: error while loading shared libraries: cannot open shared object file: No such file or directory

This can be easily fixed by running command:

sudo apt install libllvm6.0

Not sure if the problem exists in Ubuntu 20.10, but libllvm6.0 is not available in the Groovy repository.


To remove the Ubuntu PPA, open Software & Updates and go to Other Software tab, then remove the relevant line.

To remove Blender installed via apt, run command in terminal:

sudo apt remove --autoremove blender

Wine Stable

The Wine team announced the new development release Wine 6.3 with new features and various bug-fixes.

Wine 6.3 features:

  • Better debugger support in the NT syscall interface.
  • WineGStreamer library converted to PE.
  • Still more WinRT support in WIDL.
  • Optional support for build IDs.

And there are various bug-fixes for Windows applications including py2exe, Achieve Planner 1.9.0, 32-bit iTunes, WRC 4, and more.

How to Install Wine 6.3 in Ubuntu:

The Wine team has made in the Linux packages for Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 20.10. And you can install it by doing the steps below one by one.

Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from system application menu. When it opens, run following steps one by one.

Install Wine Development version via following commands will replace the latest stable Wine release package if installed.

1.) Run command to enable 32 bit architecture (if you don’t have it):

sudo dpkg --add-architecture i386

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

2.) Install the repository key by running command:

wget -O - | sudo apt-key add -

3.) Add wine repository via command:

sudo apt-add-repository 'deb focal main'

IMPORTANT: In this command, you have to replace focal with:

  • focal for Ubuntu 20.04, Linux Mint 20.x
  • groovy for Ubuntu 20.10.
  • bionic for Ubuntu 18.04 and Linux Mint 19.x

Don’t know your system edition? Run lsb_release -a command in terminal to check out.

4.) For Ubuntu 18.04 and Linux Mint 19.x only, libfaudio0 library is required to install from a third-party repository by running command:

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

5.) Finally install Wine 6.3 via command:

sudo apt update && sudo apt install --install-recommends winehq-devel

If you get unmet dependency issue, try aptitude command instead:

sudo apt install aptitude && sudo aptitude install winehq-devel

Uninstall wine:

You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.

To remove wine 6.3, run command in terminal:

sudo apt remove --auto-remove winehq-devel

This is a simple tutorial shows how to set the priority of a certain package and/or apt repository in Ubuntu, Debian, Linux Mint.

In Ubuntu, we install software packages from different sources, including Ubuntu universe repositories (using Ubuntu Software), Ubuntu PPAs (e.g., LibreOffice, Kodi, GIMP, and more), apps’ own apt repositories (e.g, Chrome, VirtualBox, Opera, and more).

We can even install apps from other Linux Distributions. For instance, installing Linux Mint’s IPTV player, Web App Mananger, and Chromium Browser (in deb format) in Ubuntu is possible.

Why setting priority:

However, installing from mixed software sources may cause following questions:

  1. Lock a package in specified version.
  2. More than one repositories have the same package, but you want to install or receive package updates from a certain repository.
  3. Install only one or two packages from the repository, but refuse all others.

Create and set package priority:

By adding a rule file under /etc/apt/preferences.d/ directory, and pinning a priority will fix the issues.

Just open terminal from system app launcher, and run command to create and edit a config file (replace gedit for other system):

sudo gedit /etc/apt/preferences.d/99mint-repository

In the case, I created a 99mint-repository file and added following lines:

# Allow upgrading only webapp-manager from Ulyssa repository
Package: webapp-manager
Pin: release n=ulyana
Pin-Priority: 500

# Also allow upgrading chromium (Added by another post).
Package: chromium
Pin: release n=ulyana
Pin-Priority: 500

# Never prefer other packages from the Ulyssa repository
Package: *
Pin: release n=ulyana
Pin-Priority: 1

As you can see, each entry has 3 lines (exclude the description line started with # at the beginning), and separated with a blank line.

The three lines started with Package: at the beginning specified the packages: “webapp-manager”, “chromium”, and “*” (everything).

About the “Pin: ” line:

The second line specifies the pin definition. It can be Pin: version 1.0.99*, the “*” is a “wildcard”, that says the package with all versions beginning with 1.0.99.

You can also use release or origin to specified package source. For example:

Pin: release o=LP-PPA-team-xbmc
Pin: release l=linuxmint
Pin: origin

The parameters for release are: a (archive), c (components), v (version), o (origin) and l (label).

And you can find out the values for release and origin by running command:

apt-cache policy |more

About the number of Pin-Priority:

The value of the third line can be set to:

  • 1000 or higher. Install a version from the target release even if it would replace (downgrade) an installed package with a higher version.
  • 990 to 999. Install a version even if it does not come from the target release, unless the installed version is more recent.
  • 500 to 899. Install a version unless there is a version available belonging to the target release or the installed version is more recent.
  • 100 to 499. Install a version unless there is a version available belonging to some other distribution or the installed version is more recent.
  • 1 to 99. Install a version only if there is no installed version of the package.
  • -1 or lower. Prevent the version from being installed

After setting up the config file, refresh system package cache via sudo apt update command and done.

The Kodi media center 19.0 now is available to install via its official Ubuntu PPA.

Kodi 19.0 “Matrix” is a new major release for the open-source home theater software. Though it’s not officially announced at the moment of writing, the PPA packages has been updated, available for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Linux Mint 20.x and derivatives.

What’s New in Kodi 19.0:

There are many new features in the release. And here are some big changes:

  • AV1 Codec support.
  • New color for subtitles and ability to change opacity.
  • static HDR10 and dynamic Dolby Vision HDR support.
  • Move to Python 3 for addons.
  • New functions in the PVR.

How to Install Kodi 19.0 via PPA:

Open terminal either from system app launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run following commands one by one to get the new release packages.

1. Add Kodi PPA.

To add the official Kodi PPA, run command in terminal:

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

Type user password when it asks, with no asterisk feedback, and hit Enter to continue.

2. Install / Update Kodi.

The Software Updater utility will prompt you to run a “partial upgrade” since the dependency packages switched from Python 2 to Python 3. So it’s recommended to install or upgrade Kodi by running terminal commands.

Firstly refresh system package cache, if you’re on Ubuntu 18.04, via command:

sudo apt update

Then install Kodi via command:

sudo apt install kodi

If you’re going to upgrade Kodi, the previous command may not update the add-ons, so I recommend to run apt upgrade instead:

sudo apt upgrade

How to Downgrade:

You can purge the Ubuntu PPA as well as downgrade Kodi to the stock version available in Ubuntu main repositories. To do so, run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:team-xbmc/ppa