FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Fedora 25
kernel:4.12.8-200.fc25.x86_64
gcc: gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC)
libjpeg version: 6b
I'm trying to install libjpeg but having problems, see attached. I understand the library is old, last revision is 1998, but the mailing list shows activity as recently as 2016. I tried apt-get install but no files were available. I could try libjpeg-turbo, but it is proprietary and don't want to run into license issues if I write something useful. Any ideas with what I have?
Fedora 25
kernel:4.12.8-200.fc25.x86_64
gcc: gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC)
libjpeg version: 6b
I'm trying to install libjpeg but having problems, see attached. I understand the library is old, last revision is 1998, but the mailing list shows activity as recently as 2016. I tried apt-get install but no files were available. I could try libjpeg-turbo, but it is proprietary and don't want to run into license issues if I write something useful. Any ideas with what I have?
I doubt you used "apt-get" on Fedora, because it doesn't exist for Fedora. Fedora uses "yum", so did you try typing in "yum provides libjpeg"??? Compiling something like that from source isn't something either easy or suggested...you have to install a good many dependency libraries BEFORE you can compile.
> Compiling something like that from source isn't something either easy or suggested
freeBSD has been "compiled from scratch" easily by any user since the 1980's. however it has pitfalls (lacks in other departments)
Linux from scratch allows it - I'm not sure LFS is prime time yet (it's not like freeBSD where you can boot from flash, run bins, and easily get and build exactly any src you want without a hitch). LFS would require "allot of reading and nursing and cut and paste from examples" last time I looked. (warning: if you change any options in any build to "add or remove something": all following builds are likely to fail. LFS and BSD work only if you use options others have pre-chosen)
for Fedora, which has benefits over the other two, I'd agree, if your trying to compile that your going up the wrong alley.
however: you use yum or I think rpm as well. you can get (or git) all the dependancies in order and do it. and as I said above: dependancies aren't "real". the whole thing depends on what options you choose: choose a different compile option you can get a whole new tree no one else has experienced before (which is fine if you want to resolve all the issues manually)
next question: why would you want to do all that?
what application are you trying to run that wasn't made to run in Fedora are you trying to get running ? perhaps your question can be better answered by Fedora users if you say why you'd want to do such a thing.
Last edited by X-LFS-2010; 10-11-2017 at 04:28 PM.
if you clobbered it, try removing the package with rpm (or the package that installed libjpeg) and re-install the package (the suggested one - not just any one of your choice!). use the binary of rpm don't try the source for rpm.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.