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 - 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 02-27-2003, 03:48 PM   #1
loran
Member
 
Registered: Jan 2003
Posts: 121

Rep: Reputation: 15
Installation Problems


Ok, I downloaded a couple of Linux programs from tucows. How do you install them? They are zipped and I don't see an "install" or "setup" I am so used to seeing in Windows. Do I need a separate installer. I use Mandrake 8.2. Is there one already there that I don't know about?
 
Old 02-27-2003, 03:52 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
When you say they are zipped do you mean they have a .zip suffix? If so you can unzip them by doing(yes you guessed it):

unzip filename

Then change into the directory created when you unzipped the file:

cd filename

Hmmmm....Now see what is in that directory. Some programs come with an install program like install.sh but it is more likely that you are going to have to install it from source.
 
Old 02-27-2003, 06:31 PM   #3
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
oops sorry, because I don't have a modem that I can use in Mandrake yet, I have to use Windows. It always shows compressed files to be ZIP. My bad.

One is a *.tar, the other...I'm not sure.

I did find kpackage and used it but afterward I didn't see an icon on my desktop for the new app. nor could I find it by browsing around in the directories. Any suggestions?
 
Old 02-27-2003, 08:44 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Okay let me try and give you a play by play here for downloading, unpacking, and installing a tar file. First you download the file to a directory. Lets say you download a file called unpackme.tar to your /home/user/downloads directory. Open up a shell as root and do this:

1. cd /home/user/downloads

2 tar -xzvf unpackme.tar

3. cd unpackme

4. ./configure

5. make

6. make install

Okay step one moves to the /home/user/downloads directory. Step two untars the tarred file for you. Step three moves you into the directory that was just created by the untarred package.

Now steps 4,5, and 6 are usually what you will have to do if you are installing from source. It is imperative that you read the README or INSTALL file in the /home/user/downloads/unpackme directory. This will tell you exactly how to install the package. There may be an easier way then steps 4,5, and 6 or there may be some special switches you have to add to the ./configure command.

Once Again:

READ THE README FILE!!!!!
 
Old 02-27-2003, 09:27 PM   #5
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
Ok, I'll try that thanks. How come nobody ever wrote an installer program, you know, to make things easier? ALso Is it true only certain package extensions will work in Mandrake?

Oh, and thanks again.
 
Old 02-28-2003, 07:02 PM   #6
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
yeah not working.

I get as far as the tar -xzvf ______.tar.gz, then I get a "bad command...yadayadayada" or something like that.

Tell me about these "tar", tar.gz", "gz2", etc... I assume they are for different platforms, no?

If so, what should I be looking for the KDE environment version 2.2 on Mandrake.

Or should I just give up 'cause I'm too dense to get this?
 
Old 02-28-2003, 07:05 PM   #7
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
One more thing...
Slackware? RPM?

explain please.
 
Old 03-01-2003, 07:08 AM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Tar is an archiver; gzip is a compression program. A .tar file is simply a string files in one. A tar.gz or tar.Z or whatever it may be called is an archived AND compressed file. The commands you issue to access them depend on the format, but any Linux app can be packed that way for any Linux environment.

Slackware is a distribution. Red Hat is another distribution that made the Red Hat Package Manager and .rpm's are - if I'm not mistaken - an archive, maybe compressed, of binaries rather than source code (unless they're .RPMS rather than .RPM) and docs and special files to tell the RPM app how to deal with them. It's supposed to make installing and uninstalling apps easier, but I see it as a semi-proprietary pain Red Hat inflicted on everybody. However, a lot of other distributions use RPM, so you'll be able to install them with varying degrees of success. The command for that is rpm -i foo and so on.

Oh, and .bz/.bz2 is another thing like gzip, I think - maybe a Berkley compression algorithm?

As far as the tar -zxvf command crapping out on you, make sure it's installed and in the right place and on your path and that your tarball isn't corrupt. You are getting the error right on unpacking, not on making right?

And, yeah, it is confusing, but it's just a bunch of apps using a bunch of methods to pack other apps for Linux boxes. It doesn't concern the end user too much except for matching up the commands with the compressions.

As far as why no installer... y'know, I have no real idea. However, I prefer to install something where I can see what it's going to do before it does it (as long as I can figure it out) rather than having it do stuff and having to go back after it and figure out how it might have screwed up my system. In Win, I prefer zips to installers. And it also has to do with being theoretically more portable and more optimized for your system, I think - certain options can be taken or avoided to optimize the app for your system. Though anything that can be checked and altered manually could be checked and altered by script. I don't really know. I'll shut up now. Hope some of that helped.
 
Old 03-01-2003, 07:50 AM   #9
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
If you want to install something with mandrake you best bet is to get it as a rpm.That can be installed by the mandrake installer.Also try to find a rpm that is for mandrake.One for another distro might work but not all the time.You can try searching at rpmfind for whatever it is you need.
 
Old 03-02-2003, 11:14 AM   #10
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
Ok, I found the problem. Because it ended in ".gz", i needed to "gzip -d" it first. How come nobody told me this? ANyway, when I "./configure", I get a line which says "configure: error: no acceptable cc in $path". I tried twice on two separate packages with the same result. Oh, I gorgot something, at root I cannot enter the directory where I have this package saved...I wonder why?
 
Old 03-02-2003, 11:23 AM   #11
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
That means that you either don't have a complier installed or it isn't in your path or the app doesn't like the compiler you got.Check if you got gcc installed.gz this bz that and bz2 another thing - I usually just hit the 'extract here' thing - me gui guy!
If you saved the packages as a user you might not be able to extract them as root if you got paranoid file permission settings.You should be able to change ownership to root and get in there anyway.Besides you don't need to be root for ./configure and make - only for make install.
 
Old 03-02-2003, 11:54 AM   #12
Unknown_User
Member
 
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 14.x, Raspbian, Kali
Posts: 226

Rep: Reputation: 30
......a setup tool does exist in SuSE in the form of YAST. (Yet Another Setup Tool I believe!)

Being a Windoze convert learning as I go along I have got my head around .rpm files and alike but YAST helped out a lot in the early days. Just double click on a binary, .rpm etc and YAST does the rest.

Don't know if you can use it for Mandrake......

Oh by the way, not sure if it is what you mean, but I fell foul of the unable to get to the root directory thing. Turns out my old DOS habits were holding me back. Try typing cd .. [cd space ..] to get to the real root directory (and not cd.. as in DOS)

Last edited by Unknown_User; 03-02-2003 at 11:56 AM.
 
Old 03-02-2003, 02:24 PM   #13
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
ok Crash...I'm confused again. Pretend I'm new. "gcc", is that an app? Just type it in the command line? What if I don't have it. Do I need it? Is there a way around it? Like I said, pretend I'm new.
 
Old 03-02-2003, 02:36 PM   #14
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Ok,gcc is the GnuCompilerCollection .Thats used to make binaries out of source packages.When you do ./configure and it gives you that error about cc means that the compiler wasn't found.Now there are different possibilities.Your mandrake version is about a year old.If a compiler is installed it might be gcc2.96.Some apps don't like this one.It could be that there is no compiler installed at all.You need to check with the mandrake package manager and look for something 'gcc'.It's probably under dev or development packages - sorry,I am not familiar with mandrake.Your best bet is still to find a rpm package of the app in question and install that.What are you installing anyway?
 
Old 03-02-2003, 02:37 PM   #15
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
Don't give up.
Could you please list the package names?
 
  


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
installation problems Garibaldi3489 Slackware 8 01-27-2005 01:34 AM
installation problems marccu Linux - Newbie 14 09-28-2003 06:01 AM
Installation problems christer Linux - Software 2 09-27-2003 05:52 PM
Installation problems dmo2k99 Linux - General 2 07-05-2003 03:41 PM
Mandrake 9.0 Installation Problems: X-Server, GUI Problems? chromelocust Linux - Software 4 03-21-2003 01:59 AM

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

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