Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


How do I install files in Linux?


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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  
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  
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  
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  
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 column(1) from util-linux-ng for Solaris? Which *.pkg to install?
slashdotweenie
Hi On Linux systems there is a command called "column". column - columnate lists Synopsis column -tx] -c columns] -s sep] file ...] Description The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file operands, or,...... UNIX for Advanced & Expert Users
3
UNIX for Advanced & Expert Users
How can i install Linux????
vit8484
I use windows Xp, and I am going to format my HD and make some partitions.. I want to have windows Xp and Linux installed in diferent partions. I want it so when my computer boots, I can choose which OS I would like to load. I have never installed or used Linux. so I would like to know if...... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers
How to Install Linux
visix
Hi there!!! I'm new to unix n linux .....i want to learn Linux....I heard that loading Linux u must have high sys config ...Current i've a sys with Win 98.... My system configuration: Intel Pentium III (800 MHz) RAM 64MB HDD 9GB free space in E:\ Current OS windows 98 Could u suggest me...... Linux
2
Linux
linux install
elpinchegringo
I just recently installed Redhat linux 7.3 on an old machine and had a question. I had some problems installing and traced them to my sound card. Not wanting to waste time, I selected the smallest download possible (without doing a custom install). I didn't install any of the four optional packages...... UNIX for Dummies Questions & Answers
4
UNIX for Dummies Questions & Answers

Featured Tech Videos