Install libjasper in Ubuntu 18.04

When upgrade to Ubuntu 18.04, some libraries are still needed for OpenCV 3.4 and others, but not provided by the new OS. We can install it like this:

sudo add-apt-repository “deb http://security.ubuntu.com/ubuntu xenial-security main”
sudo apt update
sudo apt install libjasper1 libjasper-dev

Advertisement

11 thoughts on “Install libjasper in Ubuntu 18.04

  1. I have been fighting this for a week and this does not work. I have tried everything in the comments and this just does not work. This is the error I always get:

    Reading package lists… Done
    E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.173 80]
    E: Some index files failed to download. They have been ignored, or old ones used instead.

    so when I try to install the libjasper, it can’t be found.

    I am trying to install this on a Jetson Nano running Ubuntu 18.04. What am I doing wrong?

    Liked by 1 person

      • Hi,

        I face exactly the same problem. Also on Jetson Nano.
        I’ve already tried replacing quotations to ” ” or ‘ ‘ but still it doesn’t work…

        Like

  2. The problem should be from Jetson Nano Ubuntu system. But I saw some post said that libjasper is not really required for OpenCV.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s