File q.sty not found Latex Linux - latex

I'm trying to compile this document (Plasmati Graduate CV) I got with xelatex and it complains about not finding q.sty. For all the other missing files I could just Google or search in the Synaptic Package Manager but I guess with the short filename it's hard to find. Anybody know which package it could be in?

In case this is still not resolved, your missing files are in the texlive package in Ubuntu:
apt-get install texlive

Related

Installing MinGW-W64

In the installation instructions for Windows at GoCV we've the below line:
Download and run the MinGW-W64 compiler installer from https://sourceforge.net/projects/mingw-w64/?source=typ_redirect.
I downloaded the mentioned file, but could not find executor file, and could not find anything like x86_64-7.3.0-posix-seh-rt_v5-rev2 as mentioned in the instuctions, any help?
The installation of MinGW-w64 is simple. Either download the installer from
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe
or the appropriate package (as a 7-zip archive) directly:
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/7.3.0/threads-posix/seh/x86_64-7.3.0-release-posix-seh-rt_v5-rev0.7z/download
Some people (including me) experienced random connection problems with the installer at some point, so the second options might be more straightforward.

How to install Lua Love using the luarocks manger?

I am a complete newb to lua, but so far I like it.
I want to install love because it provides a nice framework and want to explore its features. I can already run lua scripts (luarocks comes with lua5.1.) and I have the zerobrain IDE. I installed socket.rock by getting the .rock file and running:
luarocks install luasocket-2.0.2-3.win32-x86.rock
But I can't find a similar file for love. I found this website: luarocks-love, which tells me:
luarocks install --server=http://luarocks.org/m/love <name>
So I can run this, but I don't know what <name> means... I tried it without <name> and I get an error. Can someone explain what I am missing here?
Thanks!
You can't install Love via luarocks. Love isn't a library.
The installers for Windows are available here.
What you have there is just used for installing libraries using luarocks that depend upon Love. It is not the framework itself.

ros can't find OpenCV , the path /usr/local/

I am working with ros and OpenCV. I installed OpenCV in the default path /usr/local, but when I build programs with catkin_make in my workstation, it shows Project cv_bridge specifies /usr/include/opencv as an include dir, which is not found.
Can you show me what can I do to solve the problem? Thank you.
I recommend you use the opencv2_catkin package that automatically finds and links your package to OpenCV. As per the Readme, just add the following dependency to your own package:
<build_depend>opencv2_catkin</build_depend>
You would also need to download catkin_simple to use opencv2_catkin.
I found you said you use catkin_make, so in new version of ROS, opencv and pcl are no longer integrate in ROS, so you need find you opencv yourself. For example, in your workspace, the CMakeLists.txt file, you should add something like find_package(OpenCV REQUIRED), and add include dir and libs to your project. If you also have problems, please paste your details of errors.

How to install luagraph using luarocks

I'm trying to use luagraph, a binding to the graphviz library:
http://luagraph.luaforge.net/index.html
To install, I'm using luarocks in Mac OS X. The following command is executed in bash:
luarocks install luagraph
The output is the following:
Installing https://luarocks.org/luagraph-1.0.4-1.src.rock... Using
https://luarocks.org/luagraph-1.0.4-1.src.rock... switching to 'build'
mode
Error: Could not find expected file graphviz/graph.h, or
graphviz/graph.h for GRAPHVIZ -- you may have to install GRAPHVIZ in
your system and/or pass GRAPHVIZ_DIR or GRAPHVIZ_INCDIR to the
luarocks command. Example: luarocks install luagraph
GRAPHVIZ_DIR=/usr/local
I have been installed graphviz using homebrew, but I can't figure out how to pass GRAPHVIZ_DIR or GRAPHVIZ_INCDIR properly.
How can I install luagraph?
I've updated LuaGRAPH a couple of weeks ago. It now supports the newest version of Graphviz based on the cgraph library instead of the old graph library.
There is one drawback: I couldn't get luagraph to run on Windows using mingw because of some runtime library issues (compiler and dll compatibility probably). Please look at the README file for more details.
I personally never produced a rockspec for this module. This was created by someone else based on a fork of my luagraph library.
Installation without Luarocks is simple. Download from
https://github.com/hleuwer/luagraph
and follow the instruction in the documentation and the README file. You need adopt a simple config file which is included by make.
Herbert
Well, luaGRAPH is still the top result when searching for lua and graph. So the question is still standing.
And, unfortunately, the answer is: luagraph is OLD, the last update happened before the ubuntu 14.04 was released. And there seem to be some notable changes in the system itself, the flags the error message show do not seem to work. On top of that, graphviz is now about 20 releases newer than the luarock recommends.
There now is a bare bone alternative lua package: graphviz
It is extremely basic, and documentation in not at all informative, but at least it works.
update: Luagraph may be working again, but not through rocks. See the other answer.

Linux Version of Z3: Dependency On Old libgmp.so.3

Z3's dependency on libgmp.so.3 is unresolved in the linux package, leaving the user to provide this library. However, this library is very old and is not readily available.
Does anyone know a method for getting around this issue? I am currently running x86_64 and cannot get around this missing dependency without a great deal of hassle.
Is it possible the linux packages could be fixed such they include the expected library in the distribution?
You can get GMP3 by executing sudo apt install libgmp3-dev.
I'm not a Linux expert, but this is the command I used to install GMP before I compiled Z3.
When I installed the virtual machine for running Linux 64, I think I didn't find a package for the more recent versions of GMP.
I will try again. If it doesn't work, I will download the most recent GMP tar ball and build it from scratch.
BTW, the Z3 for Linux 32 comes with two .so files. One of them has GMP statically linked.
The trick I used for building this .so file didn't work for the 64 bit version.
As I said, I'm not a Linux expert, any suggestions on how to build a better Z3 library for Linux x86_64 users are welcome.

Resources