Wednesday, November 20, 2013

how to install a third-party app you have binary for, to /usr/bin debian

  1. update-alternatives --install "/usr/bin/<app-name>" "<app-name>" "<full-path-to-app-executable>" 1
  2. update-alternatives --config <app-name>
For example assuming you are going to install an unzipped package of netbeans located in /opt/netbeans-7.4 :
  1.  update-alternatives --install "/usr/bin/netbeans" "netbeans" "/opt/netbeans-7.4/bin/netbeans" 1
  2. update-alternatives --config netbeans

No comments:

Post a Comment