The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Gentoo
.
google unix.com



Gentoo Gentoo Linux is a versatile and fast, completely free Linux distribution geared towards developers and network professionals.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can i install Linux???? vit8484 UNIX for Dummies Questions & Answers 3 04-05-2006 03:05 PM
How to Install Linux visix Linux 2 12-20-2005 10:45 AM
i want some help@install linux A8harrying Linux 3 12-30-2003 12:16 AM
trying to install linux bobotoes UNIX for Dummies Questions & Answers 6 07-06-2003 08:29 PM
How do i install in Linux? da_gee UNIX for Dummies Questions & Answers 1 10-07-2002 08:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-19-2006
hast5 hast5 is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 12
How do I install files in Linux?

Ok, I have downloadet a program frome the internet, before you ask and flame me yes I am a noob. But thats not the problem. My problem is. How do I install it so I can run it in the terminal window.

The file is .tgz and when i extract it I get a folder with lots of "c" documents and that sorts. I know the basic of programing in Windows. With that I mean the language c++, c# and VB 6.0 and .NET

But in Linux !!! I am blank. I did youst start to try to learn it. The verson I am runing is named sabayon not ubuntu as most people do. But I guess that dosent matter the way to install files are well bascliy the same right?

Thanks for all the help. And I am sorry if I have taken your time with something that was only some pice of trash.
  #2 (permalink)  
Old 10-19-2006
prashant_ohol prashant_ohol is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 52
Try this.


./configure
make
make install


Let me know.


Prashant,
  #3 (permalink)  
Old 10-19-2006
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
For additional information, a majority of applications like that have a README file which has notes about the application and a file called INSTALL which has instructions on how to create the binary. You should make a habit of reading the README file and always read the INSTALL file in case you need to ensure other things are present or the correct switches are used for the configure script.

Carl
  #4 (permalink)  
Old 10-19-2006
prashant_ohol prashant_ohol is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 52
Cool

BOFH you are right





Prashant,
  #5 (permalink)  
Old 10-19-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,944
Windows depends on Visual Studio for development, for the most part. UNIX uses makefiles, which are kind of batch-files on steroids. The usual series of steps in compiling a program:
  • ./configure
    This file checks out your system and creates an appropriate makefile. You can give it various options on things like where to install to. See ./configure --help for details.
  • make
    This searches for a makefile in your current directory, finds it, and executes it's default target, namely the program.
  • make install
    This executes a different target, which attempts to install the given programs into the directories ./configure chose. It might not be able to if you don't have permission to write to those directories, which means you may need to run this step as root. none of the other steps need to be run as root.

But what is your distribution? Most distributions except Gentoo use archives full of binary files that've been built for you, not source files. It's best to cooperate with your distro as much as you can rather than injecting stuff under it, fight it too much and it'll fight back.
  #6 (permalink)  
Old 10-20-2006
hast5 hast5 is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 12
Thanks for the replays. But nothing of the thing you did suggest for me did work. When I try make... It only say "Nothing to be done for ... *thefile*"
And the ./configure do it only say no such file og directory and the make install dident work. Then did it only say "Nothing to be done for ... install".

Are there some other ides?
Closed Thread

Bookmarks

Tags
linux, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0