LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-23-2005, 11:33 AM   #1
Le Beastie
LQ Newbie
 
Registered: Mar 2005
Location: Way out there
Distribution: Ubuntu 9.10
Posts: 25

Rep: Reputation: 16
How do I install programs?


Hello. I suspect this question seems rather ridiculous to most of you, but I'm a tad lost. How might I go about installing something with an extension .gz or .tar (like mozilla 1.7.5)? I know I need to extract files to somewhere, but I haven't the foggiest idea how to do it, or where to put the extracted files. Could somebody point me to a brief tutorial? Thanks.
 
Old 03-23-2005, 11:40 AM   #2
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
For tar files, use 'tar -xvf filename.tar'. For tar.gz and tar.bz2 use 'tar -xzvf filename.tar.gz' and 'tar -xjvf filenmae.tar.bz2' respectively.
After that, cd into the newly created directory and look through the README or INSTALL file usually provided. It should be something like './configure' followed by 'make' and 'make install' for the installation.
 
Old 03-23-2005, 11:46 AM   #3
8years@Linux
LQ Newbie
 
Registered: Mar 2005
Location: PA
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
if its a tar.gz file do tar xvzf file.tar.gz that will uncompress it into a directory of the same name.

You can also try mc. Open up a terminal and type: mc. That will open up a text based file manager. Usually in mc you can put the cursor over the tar.gz files and hit enter. That will open the tar.gz for viewing. You can then hit your insert key over the files and F5 to copy them where you want. Now if it's a file you downloaded in which you uncompress and after viewing the files you see the list and they include configure README and INSTALL. read all the docs first. or if you're willing to learn. type ./configure (let a bunch of shit run by) ./configure by itself will configure the app for installation to /usr/local. AFTER you configure it, if all goes well and you don't get errors... type make. then if all goes well with make and no errors come up about missing this and that ..... su to root. (do this by typint su) you will them be asked for the root password. the once you are root type 'make install'
 
Old 03-23-2005, 04:37 PM   #4
Deeze
Member
 
Registered: Dec 2004
Distribution: Debian - Sarge -- Slackware 10.1 - Dropline
Posts: 154

Rep: Reputation: 30
Re: How do I install programs?

Quote:
Originally posted by Le Beastie
Hello. I suspect this question seems rather ridiculous to most of you, but I'm a tad lost. How might I go about installing something with an extension .gz or .tar (like mozilla 1.7.5)? I know I need to extract files to somewhere, but I haven't the foggiest idea how to do it, or where to put the extracted files. Could somebody point me to a brief tutorial? Thanks.
Sounds to me like you might be better served looking in your distro's package manager and repository for whatever software you want rather than installing from .tar.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't install g++ so I can't compile and install any programs musicmaniac414 Linux - Software 12 02-06-2008 10:31 PM
can't install some programs khh80 Linux - Software 2 08-02-2005 10:43 PM
How do you install programs? Sir Loin Linux - Software 16 03-15-2005 01:31 PM
where to install programs to CrotchCricket Linux - Newbie 2 10-26-2004 07:42 AM
Cannot install programs garbo73 Mandriva 16 09-24-2003 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration