LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-29-2003, 07:26 AM   #16
DartMol
LQ Newbie
 
Registered: Mar 2003
Posts: 11

Original Poster
Rep: Reputation: 0

Thanks a lot! Really! That cleared up everthing. Thanks again!

PS - What is 'lol'? I'm sorry, I'm quite new to being online... I just had a connection.
 
Old 03-29-2003, 07:30 AM   #17
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Laugh Out Loud. The net's full of those - afaik, rotfl, and so on. And, of course, RTFM. *g* (The *g* means 'grin', btw - which means 'by the way'.)

The net's great. Have fun.
 
Old 03-29-2003, 08:09 AM   #18
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
I normally extract them to ~/Source - no need to go out of your home directory.

LOL = laugh out loud
AFAIK = as far as I know
IIRC = if i recall correctly
RTFM = read the (cough)flipping manual
ROTFL = rolls on the floor laughing.
 
Old 03-29-2003, 11:34 AM   #19
newbieME
Member
 
Registered: Mar 2003
Location: BC Canada
Distribution: Slack Niner ;)
Posts: 185

Rep: Reputation: 30
ohhhh so that's what RTFM meant..heheh

check out a prog called checkinstall. When u are installing from a source, checkinstall makes a package with all the file that were compiled. So that you can distribute the file in a simple package format later, or when u want to uninstall the prog for whatever reason, u can just use simple removepkg or rpm -e or whatever. As far as i know, checkinstall makes 3 different types of packages, one for tgz, rpm, and deb..
go to freshmeat.net and check it out
 
Old 03-29-2003, 08:05 PM   #20
FuLL-On-Newbie
Member
 
Registered: Mar 2003
Location: Australia
Distribution: XP, Yoper 3.2.1
Posts: 70

Rep: Reputation: 15
CD

Quote:
Originally posted by digiot
The only tool you need is a command line.

tar -xzvf filename
./configure
make
su
make install

If you have any problems, you'll need to check the scripts and see if you can edit anything - such as your libraries being in a weird place when the script expects them somewhere else, but that's rare and you should be okay in Slack.

Of course, you may not have the libraries and whatnot needed, but then just download them and start the process over again. Good luck.

- Sorry. Dain bramage. Somebody in a thread I was just reading was using Slack. Duh.
What if its on cd do you have to just write the file name or the whole description on where it is?

Quote:
Originally posted by digiot
The only tool you need is a command line.

tar -xzvf filename
./configure
make
su
make install
whats with confirgure,make,su,make install?? why cant you just write tar -xzvf "filename"?
or you have to write all the combinations in one sentence like this tar -xzvf "filename ./configure make su make install?
 
Old 03-29-2003, 10:46 PM   #21
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
Quote:
What if its on cd do you have to just write the file name or the whole description on where it is?
You would have to tell it where it is
tar -zxf /mnt/cdrom/file (if that is where you mount your cd's)

Quote:
whats with confirgure,make,su,make install?? why cant you just write tar -xzvf "filename"?
or you have to write all the combinations in one sentence like this tar -xzvf "filename ./configure make su make install?
No, those are all separate commands. First you extact it, then you configure it, then you make (compile) it, then you install it.

tar (enter).....no news is good news

./configure (enter)....if it went through the configure with no errors then move on.....if you got errors then you have to see what they are about

make (enter) same as above witht the errors

su (enter) this changes you to root so you can write to the directories where the files go

make install (enter) install the files

Last edited by wr3ck3d; 03-29-2003 at 10:49 PM.
 
Old 03-29-2003, 11:00 PM   #22
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Yeah - sorry - I put them on separate lines meaning they're separate commands. Unless something's on the path (which is usually just bin-type directories) you're always going to have to put full pathnames.

So the command to untar/zip is:
tar -xzvf /mnt/cdrom/filename.tar.gz

If it's just an uncompressed tar, it's
tar -xvf blahblah
and so on for other archive and compression formats. (man tar for all that.)

And then you cd to the directory, such as /where you installed it/filename - you can cat the INSTALL and README and other doc files if you want (good idea, but not always necessary).

And then you configure it:
./configure

Then build it:
make

Then su to root, type in your password and install:
make install

As long as the libraries are found and the directory structure is good and the system is capable and so on, you've got a program. You can run programs - say you're doing joe - in between make and make install you can type ./joe, I think, and it should run. So you know everything's good. So then make install. The scripts will generally send it to /usr/local/bin along with man pages to /usr/local/man and so on. /usr/local/bin should already be on your path, so type in the app name and it runs.

But as far as just untarring - like say it's some of your personal files that aren't executable, yeah - 'tar -xzvf /mnt/cdrom/files' will untar them and you can 'fooeditor foofilename' or whatever you want to read/edit them. The rest of the stuff is just for compiling. Oh, and as far as your libraries, those'll probably go to /usr/local/lib as they aren't executables so much as for executables.

-- Oops. I was typing slow while you were editing - this is kind of a pointless post now. *g*

Last edited by slakmagik; 03-29-2003 at 11:07 PM.
 
Old 03-30-2003, 11:43 AM   #23
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
lol, thats what happened yesterday morning. I was editing along with chatting on aim and when i was done there were already 3 posts done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can not install the tar(gz,bz2) packages tuzhiyong Linux - General 2 11-23-2004 06:23 PM
install/upgrade packages using tar.gz as opposed to RPM's nishmal Linux - Newbie 2 06-10-2004 12:20 PM
How to install packages with tar.gz extensions? SelaAragon Linux - Software 6 03-16-2004 01:27 AM
Uninstalling tar.gz packages david911 Linux - Software 3 10-17-2003 07:09 AM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 04:35 AM


All times are GMT -5. The time now is 06:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration