Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. git clone -b edit https://github.com/jsqliu/okular/
  2. cd okular
  3. mkdir build
  4. cd build
  5. cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/kde4/install/dir ..
  6. make
  7. make install
  8.  
  9. git clone -b edit https://github.com/jsqliu/okular/
  10. cd okular && cd build && cmake -DCMAKE_INSTALL_PREFIX=$HOME/install/ .. && make
  11. make install
  12.  
  13. 1) In "~/.bashrc" added:
  14. export KDEDIRS=$KDEDIRS:$HOME/install:$(kde4-config --prefix); kbuildsycoca4
  15.  
  16. 2) In "~/.profile" added (which is my separate installation folder) Note. Running two different versions of Okular
  17. is so far unsuccessful.:
  18.  
  19. # set PATH so it includes user's private bin if it exists
  20. if [ -d "$HOME/bin" ] ; then
  21. PATH="$HOME/bin:$HOME/install/bin:$PATH"
  22. fi
  23.  
  24. 3) In /etc/environment
  25.  
  26. export PKG_CONFIG_PATH=/where/install/poppler/lib/pkgconfig:$PKG_CONFIG_PATH
  27. export LD_LIBRARY_PATH=/where/install/poppler/lib:$LD_LIBRARY_PAT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement