Thread: Linux FAQ
View Single Post
Old 11-20-2006, 02:00 PM   #9 (permalink)
TheMatt
Moderator, Hardware Team
 
TheMatt's Avatar
 
Join Date: May 2006
Location: Boston
Posts: 13,695
OS: Win 3.1, 98, NT 4.0, XP Debian 4.0, Kubuntu 6.06

My System

Blog Entries: 3
Send a message via MSN to TheMatt
I just downloaded a program in the .tar.gz format. How do I install it?

In Linux, there is no nice GUI wizard that will walk you through installation most of the time. Instead, you will have to do it through the command line:

Open up a shell terminal session and go to the directory where the program is stored. In this example, it is /home/mattmodica/stuff/program.tar.gz. Type in the following commands to unpack and configure it.
Code:
mattmodica@Stargate:~$ cd /home/mattmodica/stuff/
mattmodica@Stargate:~/stuff$ tar xzf program.tar.gz
mattmodica@Stargate:~/stuff$ cd /home/mattmodica/stuff/program/
mattmodica@Stargate:~/stuff/program$ ./configure
mattmodica@Stargate:~/stuff/program$ make
mattmodica@Stargate:~/stuff/program$ su -c 'make install'
Some distros, you should use sudo.
Code:
mattmodica@Stargate:~/stuff/program$ sudo 'make install'
Of course, it probably won't be called 'program', so be sure to substitute that for whatever the name is, as well as 'mattmodica' for whatever your username is if it is in your home folder. For simplicity, put these programs in your home folder. That should do it, to run the program, you should go to run command from the main menu and run the name of the program.
__________________
- Matt M - KB1OSC - Folding@Home 85015



If TSF has helped you, please consider donating.

If I have stopped responding to a thread, feel
free to send me a PM with a link to the thread.

It is advisable to subscribe to threads so you will
receive updates when replies are posted. You can
subscribe to threads from the "Thread Tools" Menu.

»Memtest86 »Prime95 »UBCD »SpeedFan »NHC Personal
»Everest »Sandra »PC Wizard »RivaTuner »ATi Tool

Click here for Useful Articles and Guides

Last edited by TheMatt : 02-26-2007 at 12:28 PM.
TheMatt is offline   Reply With Quote