install haroopad on linux by tar.gz

install haroopad on linux by tar.gz

  1. download haroopad
    download tar.gz package file, and save to directory ~/opt/haroopad
    wget https://bitbucket.org/rhiokim/haroopad-download/downloads/haroopad-v0.13.1-x64.tar.gz -P ~/opt/haroopad
  2. install haroopad
    cd ~/opt/haroopad
    tar zxvf haroopad-v0.13.1-x64.tar.gz -C haroopad.v0.13.1.x64
    cd haroopad.v0.13.1.x64
    tar zxvf data.tar.gz
    sudo cp -r ./usr /

    tar zxf control.tar.gz
    chmod 755 postinst
    sudo ./postinst
  1. repair haroopad desktop icon
    sudo vi /usr/share/applications/Haroopad.desktop
  • replace icon value to /usr/share/icons/hicolor/128x128/apps/haroopad.png

  • fianlly haroopad.desktop

  [Desktop Entry]
  Name=haroopad
  Version=0.13.1
  Exec=haroopad
  Comment=The Next Document processor based on Markdown
  #Icon=haroopad
  Icon=/usr/share/icons/hicolor/128x128/apps/haroopad.png
  Type=Application
  Terminal=false
  StartupNotify=true
  Encoding=UTF-8
  Categories=Development;GTK;GNOME;
参考资料

推荐阅读更多精彩内容