This INSTALL guide applies to Linux and Mac only
(For Windows, a SETUP EXE package will be provided)
- Install CMake (>2.7), sqlite3, Qt4 (>4.7), QScintilla (2.6 or higher), cscope (15.8a or higher), ctags. If you have Ubuntu, Linux Mint, Debian or Fedora installed, most of these should be obtainable through the package managers. Note that the cscope version on the Ubuntu repositories may not be the latest one. It's better to have the latest version of cscope installed.
CMake
sqlite3
Qt4
cscope
ctags
pycscope
QScintilla
In Ubuntu or Linux Mint, do the following:
sudo apt-get install g++ git cmake sqlite3 libsqlite3-dev qt4-dev-tools libqscintilla2-dev cscope exuberant-ctags rpm
In Fedora or Red Hat, do the following:
sudo dnf install gcc-c++ git cmake sqlite sqlite-devel qt-devel qscintilla-devel cscope ctags rpm-build
- Download the repository as a ZIP file from github or clone git repository: codequery@github
git clone https://github.com/ruben2020/codequery.git
- Unzip to a directory and change to that directory.
cd ~/workspace/codequery
- Create a directory called build and change to it.
mkdir build
cd build
- Run cmake, make and make install.
cmake -G "Unix Makefiles" ..
make
sudo make install
If you want to install to an alternative directory instead of the default one, use the following:
cmake -DCMAKE_INSTALL_PREFIX="/home/johndoe/tools/" -G "Unix Makefiles" ..
make
make install
- Please read HOWTO-LINUX to learn how to use this software.