Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi. I have been wondering when I'd need to do this and the time has come to download some files and unzip them. I'm looking to install an Openoffice GUI to hook up to my MySQL databases. The instructions I've found are:
1. copy the unixODBC*.tar.gz file somewhere you can create files and directories
2. gunzip unixODBC*.tar.gz
3. tar xvf unixODBC*.tar
Doing so will create a unixODBC directory with all source files inside.
I am not familiar with any of these commands. When I clicked on the download button on the site, it seemed to unzip the files into my /tmp directory automatically. Anyway, what is the standard procedure for downloading .tar files and unzipping them? I'm on Mandrake 9.2.
u download them like any other file , i use a program called "downloader for x" its like getright , i just copy the link then past it in the program .
for unzipping .tar and .tar.gz u could use a program called ark its just like winzip , or u could use the commands that u said.
the thing is .tar archives many files into just one and .gz compresses this .tar file so thats why the file is unixODBC*.tar.gz
well to compress "your" step 2 and 3 into one step, just type :
tar -zxvf filename.tar.gz
to uncompress the tarball ... it will uncompress the contents to a folder
in the same directory ..
and the best way to go after extracting, is to go into the newly
uncompressed folder and read either (or both) the README
and/or INSTALL file ...
code:--------------------------------------------------------------------------------
bunzip2 filename.tar.bz2
tar -xf filename.tar
cd to the new dir
./configure
make
make install ( as root )
--------------------------------------------------------------------------------
not a big issue, but i thought it would be worth mentioning that the first two steps can be compressed into one, but just typing :
tar -jxvf filename.tar.bz2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.