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 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 Jul 4 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.

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

2 Answers 2

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.