Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate package libjasper-dev #83

Open
wisexp opened this issue Dec 19, 2020 · 8 comments
Open

Unable to locate package libjasper-dev #83

wisexp opened this issue Dec 19, 2020 · 8 comments

Comments

@wisexp
Copy link

wisexp commented Dec 19, 2020

--- Installing dependency: libjasper-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libjasper-dev

any idea?

@JosephSummerhays1
Copy link

exact same problem here.

@tpiros
Copy link

tpiros commented Sep 7, 2021

I had the same issue, the following seemed to have fix it:

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

@donvirtus
Copy link

I had the same issue, the following seemed to have fix it:

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

Still doesn't work for me. I have the same problem here.

@dmitridb
Copy link

dmitridb commented Feb 8, 2023

So this is LibJasPer:

https://ece.engr.uvic.ca/~frodo/jasper/

I'm building it without that package installed all the way up to Ubuntu 20.10 without any problems. It's a JPEG2000 reference implementation skimming over that. I don't think you need to bother unless you're working in the niche applications it's used in for maybe its lossless qualities (Medical imaging and sattelite remote sensing are actually examples in what I read it's used for which makes sense for opencv) - Or in case it starts getting widely adopted.

Feel free to add this to cmake:

cmake -D WITH_JASPER=OFF

@Digital2Slave
Copy link

I had the same issue, the following seemed to have fix it:

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

Still doesn't work for me. I have the same problem here.

$ sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
$ sudo apt update
$  sudo apt install libjasper1 libjasper-dev

It's work for me.

Ubuntu22.04 LTS

@IHVD
Copy link

IHVD commented Dec 22, 2023

It's work for me.

somehow it still doesnt for me... still unable to locate packages libjasper-dev and libjasper1

@JustANormalProgramm3r
Copy link

doesn't work for me

@drinkwat
Copy link

doesn't work for me
It may be that the Ubuntu version doesn't match. He is providing software sources for Ubuntu 16.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants