How do I install files in Linux?


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 10-19-2006
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.
# 3  
Old 10-19-2006
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
# 5  
Old 10-19-2006
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  
Old 10-20-2006
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?
# 7  
Old 10-20-2006
What are you trying to install? Can you provide the name of the program? Older programs might require editing a makefile or config.h file to set it up for your system.

Is it a perl package? Is there a Makefile.pl in the directory? You'd have to run "perl Makefile.pl" which would build the correct makefile.

Perhaps the binary has already been created. How about if you run "make distclean"? This will remove all temporary files and the binary so you can build again.

Is there a README or INSTALL file? Docs? The problem for us is we don't have enough information. The two solutions I just noted don't quite match what you're posting as output. How about a list of the files in the main directory? Are you in the right directory when you run the ./configure command?

Carl
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Linux install komijani Linux 1 06-23-2013 03:46 PM
How to install UltraEdit on Linux? atul9806 Red Hat 4 05-06-2013 02:01 AM
Install library in linux chercheur857 UNIX for Dummies Questions & Answers 1 07-22-2012 08:47 PM
Linux column(1) from util-linux-ng for Solaris? Which *.pkg to install? slashdotweenie UNIX for Advanced & Expert Users 3 11-18-2011 01:22 PM
Can I install Nagios on Linux ? manalisharmabe Red Hat 6 07-22-2011 12:33 PM
Which player to install on Linux kunalpatil09 UNIX for Dummies Questions & Answers 1 12-20-2009 09:27 AM
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
Install linux in laptop RuDe_BuT_CoOoL UNIX for Dummies Questions & Answers 1 09-14-2002 10:31 PM
how to install windows and linux RuDe_BuT_CoOoL UNIX for Dummies Questions & Answers 5 08-28-2002 03:38 PM
linux install elpinchegringo UNIX for Dummies Questions & Answers 4 07-03-2002 05:07 PM