It's common problem that we get some error like "abc.h no such file" when compile source. Only way to find the solution(as i know) is search in internet. What i need to do, compile the source, it will give me some errors and then i have to install the dev by searching in internet.  Is there any way that i can get lib package name by the header file name? Assume i need crypto.h file, libssl-dev contains this file.   But how could i know? Where should i search for it? Is there any reference site or program?
50319
I often find myself wanting to install something, but I'm unsure of what package it's in. This is a very common occurrence for me:  $ make html sphinx-build -b djangohtml -d _build/doctrees   . _build/html make: sphinx-build: Command not found make: *** [html] Error 127  $ sudo apt-get install sphinx E: Unable to locate package sphinx  $ sudo apt-get install sphinx-build E: Unable to locate package sphinx-build   googles  $ sudo apt-get install python-sphinx   Is there a better way?
108866
I have some C source code which was originally developed on Windows. Now I want to work on it in Linux. There are tons of include directives that should be changed to Linux format, e.g:  #include "..\includes\common.h"   I am looking for a command-line to go through all .h and .c files, find the include directives and replace any backslash with a forward slash.
56138
I am having trouble installing boost library completely it fails/skips several things that seem to be key for me to continue on to compiling a program with it.  Here is what I get when I install boost,  gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi/bzip2.o libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or directory compilation terminated.      "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG  -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"  ...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi/bzip2.o... ...skipped &lt;pbin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi&gt;libboost_iostreams.so.1.50.0 for lack of &lt;pbin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi&gt;bzip2.o... ...skipped &lt;p/usr/local/lib&gt;libboost_iostreams.so.1.50.0 for lack of &lt;pbin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi&gt;libboost_iostreams.so.1.50.0... ...skipped &lt;p/usr/local/lib&gt;libboost_iostreams.so for lack of &lt;p/usr/local/lib&gt;libboost_iostreams.so.1.50.0... gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi/bzip2.o libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or directory compilation terminated.      "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread  -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG  -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"  ...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi/bzip2.o... ...skipped &lt;pbin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi&gt;libboost_iostreams.a(clean) for lack of &lt;pbin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi&gt;bzip2.o... ...skipped &lt;pbin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi&gt;libboost_iostreams.a for lack of &lt;pbin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi&gt;bzip2.o... ...skipped &lt;p/usr/local/lib&gt;libboost_iostreams.a for lack of &lt;pbin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi&gt;libboost_iostreams.a... ...failed updating 2 targets... ...skipped 6 targets...   Ive tried re-installing zlib, and other archive tools like bzip2 but no luck.
3345
When I attempt to install anything using apt-get I get the following error:  Traceback (most recent call last):   File "/usr/bin/add-apt-repository", line 60, in &lt;module&gt;     sp = SoftwareProperties()      File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 90, in __init__     self.reload_sourceslist()   File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 538, in reload_sourceslist     self.distro.get_sources(self.sourceslist)       File "/usr/lib/python2.6/dist-packages/aptsources/distro.py", line 90, in get_sources     raise NoDistroTemplateException("Error: could not find a " aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template   Any idea what this means and how to resolve it?
117230
I am using Ubuntu Software Center. I found the package, click Install and it says that the package is installed. BUT when I tried to compile my .tex file it says      LaTeX Error: File `fullpage.sty' not found.   When I typed in the terminal locate fullpage.sty nothing appears. When I typed  apt-get install fullpage, it gives the following error:      E: Unable to locate package fullpage   I already did mktexlsr  What should I do in this case?
26967
I am editing my PhD thesis using Emacs &amp; Auctex, but my elisp is quite weak. Additionally, I build my thesis in a subdirectory, using makefiles generated by CMake and the UseLATEX CMake package, which I highly recommend.  I can’t figure out how to tell auctex that when I build the document it should do something like: make -C build/digital and that the pdf file being output is going to be at build/digital/thesis.pdf even though the source is at ./thesis.tex  p.s. I HIGHLY recommend checking out UseLATEX, the CMake package for easily compiling LaTeX documents.
69858
What is the file /etc/ld.so.nohwcap used for?. In my machine (Debian 7), this file is not found. Therefore, Which package or library this file belongs to?
111672
Is there a meta-package for installing commonly used developer tools such as cmake, autoconf, g++, etc.? The intent is to have roughly the same range of command-line tools as one has after installing XCode and the Mac SDK on Apple.
60745
I have four build servers that were all setup the same originally.  We've been using them to cross-compile C projects.  I'm trying to update them compile C++ natively as well.  Two of the servers I was able to install g++ on with no problem, the other two though give me 404 errors.  $ sudo apt-get install g++ Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed:   g++-7 libstdc++-7-dev Suggested packages:   g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg libstdc++-7-doc The following NEW packages will be installed:   g++ g++-7 libstdc++-7-dev 0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded. Need to get 9,043 kB of archives. After this operation, 40.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.4.0-1ubuntu1~18.04   404  Not Found [IP: 91.189.88.149 80] Err:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.4.0-1ubuntu1~18.04   404  Not Found [IP: 91.189.88.149 80] Err:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.2   404  Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-7/libstdc++-7-dev_7.4.0-1ubuntu1~18.04_amd64.deb  404  Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-7/g++-7_7.4.0-1ubuntu1~18.04_amd64.deb  404  Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/g++_7.4.0-1ubuntu2.2_amd64.deb  404  Not Found [IP: 91.189.88.149 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   I have confirmed that all four report the same version info.  $ uname -a Linux build_server4 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 18.04.2 LTS Release:        18.04 Codename:       bionic
46301
I am trying to install ia32-libs on Ubuntu 12.04 LTS (x86).  I enabled all the repository sources but I'm receiving the error message below:  ~$ sudo apt-get install ia32-libs   Reading package lists... Done   Building dependency tree          Reading state information... Done   Package ia32-libs is not available, but is referred to by another package.   This may mean that the package is missing, has been obsoleted, or   is only available from another source    E: Package 'ia32-libs' has no installation candidate   output of sudo apt-cache policy ia32-libs    ia32-libs:     Installed: (none)     Candidate: (none)     Version table:     output of cat /etc/apt/sources.list  (removed similar hyperlinks)    deb http://archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe   deb-src archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe #Added by software-properties   deb security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse   deb-src security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse #Added by software-properties   deb archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse   deb-src archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse #Added by software-properties
95713
While developing a C++ application, I had to use a 3rd party library which produced a huge amount of warnings related with a harmless #pragma directive being used.  ../File.hpp:1: warning: ignoring #pragma ident In file included from ../File2.hpp:47,                  from ../File3.hpp:57,                  from File4.h:49,   Is it possible to disable this kind of warnings, when using the GNU C++ compiler?
26539
find . -name *.jks -print 2&gt;/dev/null   returns files of extension jks that do not have underscores as part of their name.  Much to my surprise, I have just discovered that * does NOT substitute the underscore.  find . -name *_*.jks -print 2&gt;/dev/null   returns files of extension jks that have one underscore.  How do I search for files that have 0 or more underscores?  Using OSX Mountain Lion.
70139
How can I find the codes related to a function in GAP? When I use "??" in front of the name of function there is no help, so I want to find the code of function among packages.
2839
I am assuming that all application installed through apt-get are open source; but for those that are available in that manner, where can I get the source code for these applications as well as update them?   I have a couple applications I use regularly that aren't being actively developed any longer and I would like to add features. Where would I go to get the rights to update these applications?  In this case specifically, I am referring to the hellanzb package
52885
I'm trying to download source code of certain packages, for example rhythmbox, for learning purposes. I want to do this through apt-get, with the apt-get source command.  For some reason, apt-get can't seem to find any package. I've tried several packages, and I keep getting this output from apt-get:  $ apt-get source rhythmbox Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to find a source package for rhythmbox   I've been searching for answers for quite some time now, but I can't find anyone with the same issue. apt-get works fine with installing and updating so apt-get works fine in my opinion. During the search I also learned that I had to enable the 'source code repositories' in Software Sources, so that's also enabled.  I am aware of the fact that (maybe only for certain packages, not sure) source packages can also be downloaded with bzr from Launchpad, but I want to know why this method won't work.
122057
Do any of you know of a tool that will search for .class files and then display their compiled versions?  I know you can look at them individually in a hex editor but I have a lot of class files to look over (something in my giant application is compiling to Java6 for some reason).
1335
Say, I'm given a filename like libasound.so.2. Is there a way to query the package manager to correlate the filename with its corresponding package?  I'm interested to get answers for any package manager, but my primary focus is on apt and yum.