install/uninstall programmes

Asked by achapp

hello there
              can anyone explain me the methods to install and uninstall programmes in ubuntu(other than the synaptic package manager and add/remove applications). how cld i install a program compiled for different architecture . how could i remove it .also i would like to know how to install / uninstall a programme if its source is known . kindly suggest me the methods

wth regards
achapp

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Matt Darcy
Solved:
Last query:
Last reply:
Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#1

First - the best way is to install premakeready packages from repositories (via Synaptic, Add/Remove etc.) - there are thousnads applications - everythink you need...

Other ways are:

Using DEB packages which are not in repositories - installing is easy (doubleclick), uninstalling via commandline using 'sudo dpkg -r package_name'.

Using binary files/instalators (.bin, .run, .sh) - installing is also easy (doubleclick or via commandline using 'sudo sh ./file.run'), uninstalling is not too easy, but majority of these installators have also uninstallator.

Compiling - it's too long and complicated, so only links:
https://help.ubuntu.com/community/CompilingSoftware
https://help.ubuntu.com/community/CompilingEasyHowTo

More info:
https://help.ubuntu.com/community/InstallingSoftware

Revision history for this message
Best Matt Darcy (matt-darcy) said :
#2

Lets do a breif overview to answer your questions, then you can drill down futher if you want.

1.) synaptic is just a front end for the dpkg package manager, in the same way apt-get (the command line interface) is.
2.) the contents that are installed via synaptic are pre-compiled packages created for the same target architechture, distribution and versions as your own.
3.) To compile a program for a different architechture on your current architecture you need to use a technique called "cross-compiling" this basiclly creates a tool chain compatible with your target architechture for you to compile against. This a fairly advanced and wide topic and should only really be done by people who understand the process, the software they are building current and target architecthure.
Packing up software for a different arch is a different matter, you can make your own "deb" file for a different arch quite was as long as you have access to the files to put in the deb and understand the packaging process.

Revision history for this message
achapp (achapp) said :
#3

Thanks Matt Darcy, that solved my question.