LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2003, 12:50 AM   #1
dmann304
Member
 
Registered: Nov 2003
Location: Chicago
Posts: 33

Rep: Reputation: 15
Installing Applications in Linux


Ive recently installed my SuSe linux distro and its working ok now but when i download a file to update something, there in a tar format and i think its like a zip file but how do i unzip the file or install the files or apps? do i have to run a command line or something or can i install downloaded files like windows with exe files?
 
Old 11-19-2003, 01:06 AM   #2
bencl5
Member
 
Registered: Nov 2003
Distribution: I use gentoo, redhat, and lorma for kicks.
Posts: 44

Rep: Reputation: 15
usually tar files require you to compile them from source. which you would need a compiler to do. if your compiler is installed you can right click on the zip file and extract in subfolder, then you can go to the command line, cd to the subdirectory and type:

1. ./configure

2. make

3. make install
 
Old 11-19-2003, 06:48 AM   #3
leroy27336
Member
 
Registered: Nov 2003
Distribution: LTS Ubuntu 6.06
Posts: 127

Rep: Reputation: 15
it really depends....you can find the downloaded .tar file using the GUI and double click on it, and extract it that way, or you can use the following command at the command prompt and extract it. whichever way you feel more comfortable with really.

tar -zxfv my_tar_filename

http://simplythebest.net/info/untar.html

make sure you navigate to the directory where the .tar file is located however. also running this command will extract the file in the directory you are currently in. home this works........
 
Old 11-19-2003, 08:38 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
........ adding to that - once you've cd'd into the extracted directory its often useful to check out the install or read me files if they're there...

Last edited by Skyline; 11-19-2003 at 08:39 AM.
 
Old 11-19-2003, 09:50 AM   #5
dmann304
Member
 
Registered: Nov 2003
Location: Chicago
Posts: 33

Original Poster
Rep: Reputation: 15
Wow i didn't you had to go through all that trouble to install an application but the only way to setup the tar file is to have a compiler. is it normally installed in my distro of SusE or do i have to know what the source is and do it from their.
 
Old 11-19-2003, 09:59 AM   #6
leroy27336
Member
 
Registered: Nov 2003
Distribution: LTS Ubuntu 6.06
Posts: 127

Rep: Reputation: 15
i'm not sure about suse, since i use RedHat. but i'm assuming they both come packaged with the gcc compiler. however upon installation of RedHat, i didn't install the compiler......i actually had to go to the add/remove applications and install it that way.
 
Old 11-19-2003, 10:04 AM   #7
leroy27336
Member
 
Registered: Nov 2003
Distribution: LTS Ubuntu 6.06
Posts: 127

Rep: Reputation: 15
but again, you need to read the install document or readme document that comes packaged with must software. if you have to compile the "make" file then you most defiently need the gcc compiler.....however some programs just require you to run an install script or a configure binary, which in that case i'm not sure if it is necessary to have the compiler.....but i don't think it is......i'm new to linux as well and am still learning.
 
Old 11-19-2003, 03:07 PM   #8
dmann304
Member
 
Registered: Nov 2003
Location: Chicago
Posts: 33

Original Poster
Rep: Reputation: 15
Say where is the add remove software located in linux?
 
Old 11-19-2003, 03:13 PM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I believe you use yast for package management in SuSE.

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

Last edited by fancypiper; 11-19-2003 at 03:17 PM.
 
Old 11-19-2003, 03:19 PM   #10
leroy27336
Member
 
Registered: Nov 2003
Distribution: LTS Ubuntu 6.06
Posts: 127

Rep: Reputation: 15
on RedHat it is located by clicking on the "Main Menu" button, and scrolling up to System Settings. There is a "Add / Remove applications button to click on.......

then I had to install the Development Tools for linux.

keep in mind, this is all using RedHat.

however i'm sure you could go to rpmseek.com and download the gcc compiler, which would prolly be just as painless as doing it the way described above.
 
Old 11-19-2003, 03:28 PM   #11
fedetxf
Member
 
Registered: Nov 2003
Location: Argentina
Distribution: RedHat 9
Posts: 54

Rep: Reputation: 15
I think the only way a windows user can install apps in linux is through apt and using synaptic.

Go to
http://freshrpms.net/apt/
and
http://apt.freshrpms.net/

It's quite easy. Easier than in windows.
Believe me I was frustrated for months with the damn RPM dependency hell.
 
Old 11-19-2003, 03:31 PM   #12
lawrencegoodman
Member
 
Registered: Aug 2003
Posts: 47

Rep: Reputation: 15
Thought I'd throw my two cents in here since I'm a newbie and just went through what this person is going through. I would call it Linux-shock -- the realization that you're not in windows land anymore. So, in case all this stuff is confusing:

There are two ways to install new software. If it is a rpm file (as opposed to tar), then you can install the file by going through Yast. Click on install new software and direct the module to the file with the rpm file it's in. This is the Linux equivalent of add/uninstall software.

If we are talking about a tar file, it gets more complicated, but it's still fairly easy.
1) Login as root.
2) Open up Konqueror (for file management) and right click on the tar file. Choose the option that says Ark. Ark is essentially winzip or stuffit for Linux and it will allow you to enter where you want the file unzipped. The best place to put new applications is /usr/local/. When the unzipping process is done, you should have created a new folder with the application's name in the /usr/local file.
3) Now you have to open konsole (ALT F2, then enter "konsole"). Change to the directory that you have just created, i.e. cd /usr/local/the name of the new folder.
4) type (without the quotes) "./configure"
5) type "make"
6) type "make install"
7) logout as root and login as the user you normally are
8) open up konqueror (as file manager) and find the folder in /usr/local you just created. in that folder, you should find an executeable file that might have the name of the application or might be called install. click on them until something happens. you're not likely to do any harm. and then the program should be up and running.

NOTE: I AM A NEWBIE AND EXPERTS WHO READ THIS MAY SAY I HAVE GOT IT ALL WRONG. BUT THIS IS WHAT I DO, AND IT SEEMS TO WORK FOR ME.

Good luck! I can tell you this isn't easy, but it's definitely well worth it.
 
Old 11-19-2003, 03:49 PM   #13
leroy27336
Member
 
Registered: Nov 2003
Distribution: LTS Ubuntu 6.06
Posts: 127

Rep: Reputation: 15
Quote:
I think the only way a windows user can install apps in linux is through apt and using synaptic.
isn't learning linux and actually understanding how a computer works the whole philosophy behind window users whom wish to make the conversion to linux.
 
Old 11-19-2003, 03:54 PM   #14
leroy27336
Member
 
Registered: Nov 2003
Distribution: LTS Ubuntu 6.06
Posts: 127

Rep: Reputation: 15
furthurmore, even though using GNOME or KDE may give you an interactive way to untar and install files, it still is in your best interest to start learning to do things from the command line. especially if you are trying to install an .rpm, because if you simply "double click" on a .rpm package using the GUI, it will not show you if it has "failed dependencies" or not.
 
Old 11-19-2003, 04:20 PM   #15
dmann304
Member
 
Registered: Nov 2003
Location: Chicago
Posts: 33

Original Poster
Rep: Reputation: 15
Isn't Linux cool? I think it is far more better interesting to use than Windows, just because their are alot more anomolies in Linux and it has more of a true computer envirement not like windows just a gui ontop of a bunch of red tape and goofy code that can't even be justified in a true computer envirement. But i see some of the ways to install these programs know but when you said to run Konqueror a where is this app located and when i log in as root and go to sax my mouse goes nuts and i see fading menues poping up and i lose my pointer so im staying away from sax but yasp or whatever i use to make my computer more easier .
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Applications? /usr/bin/w1zard Linux - Newbie 8 08-26-2005 03:34 AM
Installing Applications StarryNight Linux - Newbie 8 06-25-2005 02:04 AM
installing applications yiang Linux - Newbie 3 09-12-2004 01:03 PM
help installing applications flynnhandley Linux - Software 3 10-02-2003 04:48 AM
Installing applications on RedHat Linux - Shrike Monkeysee Linux - Newbie 11 07-09-2003 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:29 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