This is problem I encounter many times. Sometimes when I download programs, they are in zip/tar.gz or any other extension. I simply extract them and click on bin. Everything is working fine, but I want a program to be visible in unity search, be able to run it from terminal as "programname" and everything else I can do with programs installed from repository.

I don't want to edit bashrc, I believe it has to do something with links.

How to achieve that?


Usually there is a special "Ubuntu" version of Linux programs (.deb files or PPA repositories) Which can be installed. Otherwise do this:

For just yourself: put the program dir anywhere and create a launcher in ~/.local/share/applications/ which adds it to unity.

For others, you can do this for all users: As root copy the folder to /opt (terminal: sudo nautilus /opt/ and then Drag-Drop) And create a Launcher in /usr/share/applications by copying a existing one and changing it.

  • Thanks, how to add terminal command for my program? I think I'll have to learn more about folder structure. – user50992 Mar 17 '12 at 12:39
  • @user50992 Please create a separate question for this matter. – bessman Mar 17 '12 at 12:41

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.