Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a new in Unix. I've just created c++ project in Eclipse CDT(Ubuntu 12.04). How can I deploy(install in my machine) this project?

share|improve this question
up vote 0 down vote accepted

You may want to configure Eclipse to produce software packages for Ubuntu

Using a Personal Package Archive (PPA), you can distribute software and updates directly to Ubuntu users. Create your source package, upload it and Launchpad will build binaries and then host them in your own apt repository.

That means Ubuntu users can install your packages in just the same way they install standard Ubuntu packages and they'll automatically receive updates as and when you make them.

share|improve this answer

One easy way is to put your executable in:


This is parsed for executable command as default (a.k.a $PATH). Anyway if you put in any folder which is in the $PATH, every user who has read/execute access on it (/usr/local/bin is like that), will be able just to type on the command line

$ <your_executable_name>

And your program will run ( don't forget to restart the terminal to parse this ). If you look for other ways to start this program e.g.: from some kind of start menu like gnomes, then you can just add an entry and there should be an option to add an execution command for this entry ( where you will need to enter the executables name ).

You can easly print your current $PATH by:

echo $PATH

Where the : character is a separtor for the used folders. You can add a directory to the $PATH by:

export PATH="<your_directory>:$PATH"
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .