LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2004, 10:28 PM   #1
ajbrouwe
Member
 
Registered: Jan 2004
Posts: 93

Rep: Reputation: 15
General- install an application


Alright. I am new to linux, but very familiar with Windows. Lets say I want to install firefox:

I see tar/gz files as a zip/rar. I have to unrar the folder, open it up, and have the installer do the work.

With linux, I untar, CD into it, and make an install? But, why do you sometimes have to "make", then "make install" ?

Also, can I delete the original tar/gz file? What about the directory that I CD'ed into, or does it install into that directory?

And I suppose uninstalling an application isn't as easy as the add/remove program menu...?

Very noob, I know, but I need to start somewhere! Thanks, I hope.

Andrew
 
Old 07-12-2004, 10:59 PM   #2
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
How you install can depend on what distribution you are using. If you install a program from source, you need to compile it into binary form. In that situation, you would do a "make" and "make install." After you install the program, you can remove the source files (i.e. the tar.gz file and the source directory). In some situations, you may want to keep the source directory in case you later want to uninstall the application. But not all applications have a "make uninstall," so YMMV.

Most distributions already have packages of software precompiled, which saves a lot of time and is easier to install. There are package managers for different distributions that make it easy to install and uninstall applications.

For Slackware, there is a graphical front-end for pkgtool called xpkgtool. You can get it here:

http://xpkgtool.sourceforge.net/

Last edited by comp12345; 07-12-2004 at 11:07 PM.
 
Old 07-12-2004, 11:04 PM   #3
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
Re: General- install an application

Quote:
Originally posted by ajbrouwe
With linux, I untar, CD into it, and make an install? But, why do you sometimes have to "make", then "make install" ?
make and make install run different scripts as defined in a make file. 99.9% of the time, you just obediently type "./configure && make && make install" and watch things happen.
Quote:
Also, can I delete the original tar/gz file? What about the directory that I CD'ed into, or does it install into that directory?
If you want to, you can. I always keep the most recent versions, because disk space is cheap enough.
Quote:
And I suppose uninstalling an application isn't as easy as the add/remove program menu...?
Depends what distro you use. Most of them have graphical user interfaces to remove programs.

I may be misinterpreting what you wrote, but you seem to have the misconception that most programs are installed from source code. That's not the case if you go for an established distro - you can use pre-compiled _binary_ packages specific to your distribution. This is a good idea because it makes sure all the different programs work together fine. Incompatibilities between particular versions of software do happen, and this is why we need RedHat, Suse, and/or the Debian project - they resolve these issues before the software reaches the end user!

There are also general non-specific binary packages (usually these come in .tar.gz format again) that should work with the vast majority of distros. Most closed-source software for Linux is distributed in this way.

Regards,

Samsara
 
Old 07-22-2004, 11:23 AM   #4
geran
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Rep: Reputation: 0
Hi,

I have a linux application which i think is quite old.. when i tried to run it.. it shows that it required C language library and stuff like tat.. all sort of error come out.. i type ./configure for it.. it comes out it need a /wish directory.. and use a make install as per instructed in the readme files.. all sort of error showing 'C language library coming out.. Could there been anyone kind hearted to help me? Thanks..
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
General PXE install server Bluesuperman LinuxQuestions.org Member Success Stories 4 07-25-2007 05:51 PM
In general how to install drivers themapincognita Linux - Newbie 2 11-09-2004 01:32 PM
General application installation help needed mojo Linux - Newbie 10 11-05-2004 10:30 AM
General How-to Install Questions Linvilidiot Linux - Software 10 03-10-2004 11:12 PM
general software install questions scrotemus Linux - Software 3 12-12-2002 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration