On Sun, Oct 12, 2014 at 7:21 PM, sibi kanagaraj <civil.si...@gmail.com> wrote:
> Hello all ,
>
> What is the difference between sudo apt-get install tesseract and
> installing from source  .
> 10.Trying to find answer via search engine leads me here
> http://askubuntu.com/questions/335684/installation-difference-between-from-source-and-apt-get
> But I am not satisfied with the answer
>
> My questions are
> 1.What is the difference between package installation and installing from
> source ?
> 2.Where can I find the files if I am doing a package installation ?
> 3.Am I doing the entire process wrong ?
1 Normally distributions have the software packaged. By packaging  we
normally mean these
Get source from original sources - normally called upstream.
Compile them.
While compile check for other software on which present one depends.
Create some default configuration like location of log files,
configuration files etc.,
Store the metadata about the software along with dependencies and some
brief information.
Put all of them into one or more deb file (rpm in case of rpm based
distributions)

When you apt-get install, the package manager gets the dependent
packages as well as this package, installs them and create default
configuration wherever necessary.

You can use dpkg -L package-name to get list of all files.

By the way you can do apt-get install if you are root. sudo is not
part of the command.

Raman.P

blog:http://ramanchennai.wordpress.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to