Visit Our UNIX and Linux User Community

How do I install files in Linux?

Thread Tools Search this Thread
Operating Systems Linux Gentoo How do I install files in Linux?
# 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.
# 2  
Old 10-19-2006
Try this.

make install

Let me know.

# 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.

# 4  
Old 10-19-2006

BOFH you are right Smilie

# 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 in the directory? You'd have to run "perl" 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?


Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Linux install

hi i am new with linux. i have installed fedora 16 for my application to running ROMS model. in ROMS site has written that: there are one way to provide the location for the NetCDF files (and optional HDF5 library). If you are always going to be using the same compiler on each system, you can... (1 Reply)
Discussion started by: komijani
1 Replies

2. UNIX for Advanced & Expert Users

Linux column(1) from util-linux-ng for Solaris? Which *.pkg to install?

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,... (3 Replies)
Discussion started by: slashdotweenie
3 Replies

3. UNIX for Dummies Questions & Answers

How can i install Linux????

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... (3 Replies)
Discussion started by: vit8484
3 Replies

4. Linux

How to Install Linux

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... (2 Replies)
Discussion started by: visix
2 Replies

5. Linux

i want some help@install linux

but where can i download some ebooks about linux howto? i am a newcomer. thank you in advance :-) (3 Replies)
Discussion started by: A8harrying
3 Replies

6. UNIX for Dummies Questions & Answers

trying to install linux

I am presently trying to install linux on my machine that is already running Win XP. I have tried several different versions. I began with a Mandrake Linux installation cd. I could not bring up the graphical installer so I proceeded with the text installer. Somehow I managed to partition my hard... (6 Replies)
Discussion started by: bobotoes
6 Replies

7. UNIX for Dummies Questions & Answers

How do i install in Linux?

I'm new to Linux & Unix in general. I have a system running Windows XP & i have a Linux RedHat 7.0 guest OS running in a Virtual Machine (VMware 3.0) now, i have to install the VMware tools for the Linux OS but i don't know how to install anything in Linux. How do i go about it? (i already have the... (1 Reply)
Discussion started by: da_gee
1 Replies

8. UNIX for Dummies Questions & Answers

linux install

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... (4 Replies)
Discussion started by: elpinchegringo
4 Replies

9. UNIX for Dummies Questions & Answers

Graphics install on Linux

I'm trying to get RedHat 7.0 working on a Dell Latitude c600/c610 working. Well the graphics driver anyway. See no matter what I configure it wont work. Run Xconfigurator and it wont have the right drivers installed for me to pick etc etc. So I'll run Xconfigurator get a generic driver,... (1 Reply)
Discussion started by: merlin
1 Replies

Featured Tech Videos