yuvaraj k wrote:

What is the deference between the .rpm file and .tar file.
if we installed .tar package then how to uninstall the .tar file

.rpm stands for redhat package manager, this is sort of installable file,
which checks various dependencies with other softwares ,libraries etc.
And if all is well, it goes ahead and installs the package. The command
for installing is rpm (see man rpm for more details)
rpm -ivh package.rpm
rpm -e package.rpm will remove the package from your system , if it
satisfies the dependincies, ie no other package needs this package installed.


Where as , tar is basically tape archiving tool. Tape archiving as in the
historic tape media ! But it can be used to do an archive of your directory
structure. And then you untar it to other location/system/directory and get
the same dir structure.
tar cvf newtar.tar /usr/local/bin
tar xvf newtar.tar
tar is archiving mechanism and you cannot install a tar file ! All you can do
is untar it ! If you hv downloaded some source files for some package, then
you might need to do something like this :
$tar xvf newtar.tar
$ cd newtar
$ ./configure
$ make all
$ make install
$ make uninstall (if you want to uninstall)
Doesnt necessarily mean .tar files are always source code files ! It can be a backu
of some directory. You may gzip the tar file to compress the size of it.
Ofcourse checkout man tar


HTH,
Satish/

--------------------------------------------------------------------------------
"Humans think they are smarter than dolphins because we build cars and buildings and start wars etc...and all that dolphins do is swim in the water, eat fish and play around. Dolphins believe that they are smarter for exactly the same reasons." (HHGTG - Doug Adams)
--------------------------------------------------------------------------------
http://www.geocities.com/asatsi





-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to