Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
PALISADE
PALISADE
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Palisade
  • PALISADEPALISADE
  • Wiki
  • Linux environment setup for palisade

Linux environment setup for palisade

Last edited by Gerard Ryan Dec 26, 2017
Page history

NOTE: These instructions are for setup on Ubuntu 14.04 using the terminal. Please feel free to update wherever necessary.

Git setup

Download Git:

sudo apt-get update

sudo apt-get install git

Follow instructions here to setup ssh-keys:

https://help.github.com/articles/generating-ssh-keys/

Download PALISADE Source Code. Run the following commands in a folder of your choice.

git init (intializes an empty git repository)

git clone git@git.njit.edu:palisade/palisade-student-edition.git

Installing cmake

Follow instructions here:

http://askubuntu.com/questions/610291/how-to-install-cmake-3-2-on-ubuntu-14-04

Installing flex and Bison

On your command line run the commands:

sudo apt-get update

sudo apt-get install flex

sudo apt-get install bison

Installing doxygen

NOTE: Before installing doxygen make sure you already installed cmake 2.8.12 or later, flex and bison.

Follow the steps here:

http://www.stack.nl/~dimitri/doxygen/download.html or http://www.stack.nl/~dimitri/doxygen/download.html

Once the installation done, test doxygen. For example, go to cryptolab/palisade-student-edition folder and run 'make apidocs'.

If you see an error like 'error: Problems running epstopdf. Check your TeX installation!', then you need to install any one of the major TeX distributions (say, MiKTeX or TeX Live).

To install TeX Live, run the following command:

sudo apt-get install texlive

After successful installation of Tex Live, repeat Step 2 to ensure there are no errors.

Installing Google Test Framework

Download googletest source:

git clone https://github.com/google/googletest.git

Build and install googletest:

cd googletest/

sudo cmake CMakeLists.txt

sudo make

Copy or symlink libgtest.a and libgtest_main.a to your /usr/lib folder

sudo cp ./googlemock/gtest/libgtest.a ./googlemock/gtest/libgtest_main.a /usr/lib

Run PALISADE Tests:

Go to the PALISADE folder on your machine. Run 'make alltesttargets' followed by '/test/bin/tests'.

Clone repository
  • Building_palisade_with_the_ntl_gmp_backend_in_linux
  • Contributing improvements
  • How to setup the palisade build environment
  • Library directory structure
  • Linux environment setup for palisade
  • Palisade development plans
  • Palisade license
  • Palisade programming style design guide
  • Use the library
  • Configure gmp
  • Configuring eclipse for cplusplus11
  • Git setup
  • Home
  • How to build afs
  • How to build in linux
  • How to rebase from master
  • How to serialize
  • How to setup linux
  • How to setup doxygen windows
  • How to setup vs2015
  • How to setup windows gcc eclipse
  • Linux profiling
  • Palisade exceptions
  • Palisade on vm
More Pages

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.