Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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.

share|improve this answer
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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