Support shellcheck 0.4.4+ on Ubuntu 16.04 xenial

Asked by Conor Sheehan on 2019-04-26

Could you add ubuntu 16.04 xenial support to one of the 0.4.4+ builds of shellcheck?
I'd really appreciate it because I'd like to use the disable per file feature added in 0.4.4

The latest release that supports ubuntu 16.04 xenial is shellcheck 0.3.7-5
The next shellcheck version (0.4.6-1) lowest supported ubuntu version is 17.10 artful.

I installed the precompiled binary (currently 0.6.0) from here for now:
but I'd rather let apt manage the package than adding it to my path and manually updating it.

Thanks in advance :)

Question information

English Edit question
Ubuntu shellcheck Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

Manfred Hampl suggests this article as an answer to your question:
FAQ #3037: “no rolling release”.

Manfred Hampl (m-hampl) said : #2

There are PPAs available with higher versions of shellcheck for Ubuntu xenial.
Maybe one of these can be used to solve your problem.

Conor Sheehan (conorsheehan1) said : #3

All I'm seeing is this one, got any links to alternative PPAs?

Best Manfred Hampl (m-hampl) said : #4

The search page that you opened shows the packages named "shellsheck" in the official Ubuntu repositories.
For a listing os PPAs with shellcheck proceed as follows:

Open the package page for shellcheck from the search page that you already opened, this leads to
And on that page scroll to the very end, to the text "Other versions of 'shellcheck' in untrusted archives."
There you see a sample of three links to PPAs, and another link to the PPA search page for shellcheck ("other untrusted versions of 'shellcheck'.")
Select one of these four links to proceed.

open the main page for Ubuntu on Launchpad and use the link on the top right part "Personal Package Archives", leading to

Fill in the search text and you get

There are 8 PPAs shown which match the search criteria.
E.g. GHC 8.0.2 offers shellcheck 0.4.6-1 for xenial.
Open the link to that PPA for instructions how to activate it.

Remark: The standard disclaimer for the reduced trustworthiness of PPAs (compared to the standard Ubuntu repositories) applies of course.

Conor Sheehan (conorsheehan1) said : #5

Thanks Manfred Hampl, that solved my question.