Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

This question already has an answer here:

I want to get information on what are different methods to install softwares/applications in Ubuntu (14.04)?

Example like :

  • Install by apt-get
  • Install from package-source or build-dependencies
  • Compile from source
  • Using binary package
  • Install downloaded debs by dpkg

etc from my knowledge but Give right & appropriate different methods.

So, It can be knowledge base for new users to aware from different method and when to use which?

I am talking about different command-line methods rather than GUI or software-center because of knowledge-base and .

share|improve this question

marked as duplicate by Radu Rădeanu command-line Jul 4 '14 at 8:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

@RaduRădeanu Yes this answer is helpful. – Pandya Jul 4 '14 at 9:21

You can install downloaded deb's through Ubuntu Software Center\Muon\etc. Almost always by double clicking in file manager, or

xdg-open <file>

You can build it from source with make and then, instead installing, use checkinstall to compile distribution package (deb\rpm\etc).

share|improve this answer

Installing packages through apt-get,

 sudo apt-get install <package>

Installing packages through aptitude,

sudo aptitude install <package>

To install a .deb package through dpkg,

sudo dpkg -i file-name.deb

To install .deb packages through gdebi,

sudo gdebi file-name.deb

Installing packages through apt

sudo apt install <package>
share|improve this answer

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