Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Crunchy(Cracked)Butter on 28 October 2002, 19:22

Title: how do you unpack files in linux?
Post by: Crunchy(Cracked)Butter on 28 October 2002, 19:22
I've downloaded mozilla as a gz file and i don't know how to unpack it and install it for my use, anybody willing to show me?

BTW i know nothing of the linux file system so bare with me please thankyou.
Title: how do you unpack files in linux?
Post by: Calum on 28 October 2002, 19:39
yes indeed.
here is the FAQ entry for this question (http://belg88.com/faqman/index.php?op=view&t=4)
basically, you do 'tar -xvzf mozilla-somenumbers.tar.gz' and then do 'ls', you should now see a directory called 'mozilla' or 'mozilla-somenumbers', you should now do 'cd mozilla' to go into that directory, then type 'ls' again, and you will maybe see some text thing called 'README'. if so, do 'more README' to see what it says, or if there's a script in there called 'configure' or 'install' then run it by typing './configure' or './install', now at some point you will need to use 'su' to change to root, and if there's an 'install' script then you probably need to change to root before you run it.
If you just did ./configure, then just 'make' and then 'make install'.

Sorry if this all sounds confusing, it's simple, but i just can't remember what a mozilla tarball contains, and there's a few different ways programs like to be installed.
Basically, after doing tar -xvzf you should cd into the new directory and read all the text documents.

Also do 'man tar' to find out what options you can give tar to unpack or pack tarballs.
Title: how do you unpack files in linux?
Post by: Crunchy(Cracked)Butter on 29 October 2002, 00:04
Okay i'll give it a go.