LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2005, 02:32 PM   #1
akiko_f
LQ Newbie
 
Registered: Jun 2005
Location: Orlando, FL, USA
Distribution: SuSe 9.3 Professional
Posts: 9

Rep: Reputation: 0
Unhappy Installing software in Linux


hello,

I am a newbie and I have just moved to Linux. I would like to know (in steps) about installing a software that I have downloded from the internet. For example, I downloaded Firefox in Suse and it comes with a ".tar" or ".gz" extension. I double click on it and it opens a folder. Now, I do not know which file to "double-click". There are no files with ".exe" extensions so I am kind of stuck! Please let me know in steps so I can follow and use them for any other installations

Thanks a lot

Aki
 
Old 06-19-2005, 02:51 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,885
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
HOWTO - Install Software [README]
http://www.linuxforums.org/tutorials...ial-19957.html
 
Old 06-19-2005, 03:00 PM   #3
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
Hi!

Installing software in Linux is not so straightforward as in Windows. If you are using KDE, right click the tar.gz or tar.bz2 file and choose extract -> extract here. When the archive is unpacked you will see a new folder with the name of the software you're installing. Go into that directory by double clicking and press F4 on your keyboard. A console will pop up. In the console write:

Code:
./configure
It's important this process is completed successfully, if not look at the last line what's missing ad install the missing program. When this completed successfully type:
Code:
make
This also has to end successfully. Then type:
Code:
su
It will prompt for a password, write your root password (You set it when you installed Linux). Then type:
Code:
make install
Now your software is installed. To use it, type exit and type the name of the program you installed.
 
Old 06-19-2005, 03:05 PM   #4
akiko_f
LQ Newbie
 
Registered: Jun 2005
Location: Orlando, FL, USA
Distribution: SuSe 9.3 Professional
Posts: 9

Original Poster
Rep: Reputation: 0
Hello dinolinux

Thanks for your feedback. I was always been intrigued by "./" notation. I have seen this on many websites and I could never figure that out. When I open a console I see

aki@linux:~>

so given your commands should I type:

aki@linux:~>./configure

Please let me know.

Aki
 
Old 06-19-2005, 03:20 PM   #5
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
Hi!

First of all before doing ./configure make sure your're in the unpacked directory. For example you're building a program named helloworld-0.2.1 then type:
Code:
 aki@linux:~>cd helloworld-0.2.1
aki@linux:~>./configure
Then, your question:

On UNIX systems all executables reside in bin directories like /bin /usr/bin and so on. When you're installing software you need to run a script from the directory the software is in. You can't move the script to a bin directory. So when using the ./ you're telling the system that the script is in the current directory, not in some bin directory. You can try to run configure without the ./ and see what happens.
 
  


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
Installing software in Linux mikeonthebike Linux - Software 6 12-01-2005 09:04 PM
installing software on linux titanium_geek Linux - News 6 08-21-2005 11:31 PM
Installing software from another Linux CD:s jaakkop Slackware 6 09-26-2004 11:27 AM
installing Linux and its software rodrigueskevin Linux - Software 6 07-07-2003 09:57 PM
Installing software under Linux RGarrick Linux - Software 4 07-01-2002 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 AM.

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