LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-29-2007, 12:37 AM   #16
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37

I have not heard of a Kwort (Slackware) distro.
However if it is slackware you might be able to easily install pre-made packages for slackware.
http://www.linuxpackages.net/

type
su
<password>
installpkg <package name.tgz>
you then have it installed. Easy as that no compiling.

Secondly
when you untar tar -zxvf <file.tar.gz>
cd to the new file
ls look for a file "README" or "INSTALL" or something like that.
type
less README or
less INSTALL
You will have compiling instructions.
Some programs compile a little differently.
 
Old 11-03-2007, 03:22 PM   #17
icedlightblue
LQ Newbie
 
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28

Original Poster
Rep: Reputation: 15
ok guys,here's an update.

I did what you said,./configure,right.

but instead of typing cd /usr/local/src/dvgrab-3.0./configure

I did this: cd /usr/local/src/dvgrab-3.0 ./configure
with a space between where the file name is and ./configure,but nothing is happening right now,the terminal skiped a line and that's it.

Is something supposed to happen right now?

please help.
 
Old 11-03-2007, 03:40 PM   #18
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by icedlightblue View Post
ok guys,here's an update.

I did what you said,./configure,right.

but instead of typing cd /usr/local/src/dvgrab-3.0./configure

I did this: cd /usr/local/src/dvgrab-3.0 ./configure
with a space between where the file name is and ./configure,but nothing is happening right now,the terminal skiped a line and that's it.

Is something supposed to happen right now?

please help.
cd into the folder, then do ls -ls. If you see a configure file do: ./configure if that process completes with no errors do: make if that process is successfull switch to root then do: make install.
 
Old 11-03-2007, 07:40 PM   #19
icedlightblue
LQ Newbie
 
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28

Original Poster
Rep: Reputation: 15
oh my gosh,I finally figured out what am doing wrong(lol)

I did what you said but Instead of entering cd /usr/local/src/dvgrab-3.0 I did this:cd /usr/local/src/dvgrab-3.0/dvgrab-3.0

then I pressed enter,found the configure file(i did not find it when i entered it once)and typed in ./configure and it worked.
 
Old 11-04-2007, 02:37 AM   #20
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Rep: Reputation: 49
You can always check with "pwd" (print working directory) where you currently are.
I usually use the TAB key to make sure I typed it correctly. I either use it to complete a long directory name, or instead of typing / I will press TAB to make sure I got it right.
 
Old 11-04-2007, 02:41 AM   #21
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Rep: Reputation: 49
--- Have you looked at the Documentation?
It looks like Kwort has its own package manager - look here for reference:
http://kwort.org/?page=SectionViewer...&ID=22#install
 
Old 11-04-2007, 12:44 PM   #22
icedlightblue
LQ Newbie
 
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28

Original Poster
Rep: Reputation: 15
hey,could you help again?

how about installing tar.bz2?
 
Old 11-04-2007, 03:29 PM   #23
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Rep: Reputation: 49
tar -jxvf [filename]

You don't 'install' a tar.bz2, that's merely a zip file.

It wouldn't hurt to use google every once in a while...
 
Old 11-04-2007, 04:02 PM   #24
JBull
Member
 
Registered: Jul 2005
Location: Dallas, TX, USA
Distribution: Debian Etch
Posts: 37

Rep: Reputation: 15
Maybe I can help explain some of this. When you download these packages they are "archives" that are usually bundled together using a utility called "tar". These packages will end with the extension ".tar". In addition to bundling the package together they archive is usually compressed to save disk space and download bandwidth. Compressed archives usually end in ".gz" or ".bz2".

With a ".gz" archive you should first move it to a suitable place to install it. The locataion you want is "/usr/local/" so type this:

$mv pacakagename.gz /usr/local

Then change directories to that location:

$cd /usr/local

Use this command to list the contents of the directory:

$ls

You should see your file. Uncompress the compressed archive:

$gunzip pacakagename.gz

This will uncompress the archive. Usually this results in a file called packagename.tar, which you can find again by listing the directory. Once you have found the file type this:

$tar -zxvf packagename.tar

This will unzip the archive and create a new directory with all the files. Now you need to change directories to the new one.

$cd (name of new directory)
$ls

When you type ls you should see a lot of interesting things. Usually there is a file called configure, which is what you're looking for. But first you should also look for README and/or INSTALL files which are just text files with good information about the package, requirements, and install instructions. Usually the INSTALL file says to ./configure then make and finally make install. Follow the instructions in the README or INSTALL file. I'll assume it is a normal set of instructions so do this:

$./configure

Look for any error messages before continuing. If there was an error then you can't continue until you remedy the problem, such as installing a required software package (called a prerequisite). If there was no error, then type (as user root or superuser):

$make

This is usually the hardest step and takes a few minutes. You'll se a bunch of text scrolling across the console too fast to read. This is instructions and standard ouput of the compiler. the only thing you should concern yourself with here is that it does not stop on error. If it finishes OK then you are homoe free! Type this to finish:

$make install

Then type whatever command launches the application. Thats pretty much it. You should always make life easy on yourself and check to see if there is already a package pre-configured for your linux version. Most linux distros have "pakage manager" software that will install software for you and greatly reduce the manual work and frustration that sometimes results. Most people only install software by this manual complilation when the software package does not exist in a pre-compiled state, which is fairly uncommon for popular software. I recommend a more popular linux distro because you are more likely to find software package pre-compiled and easily installable.

Good luck and post back if you have more trouble.

JB
 
  


Reply

Tags
install, packages


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 10 02-23-2008 06:40 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM
How to install packages with tar.gz extensions? SelaAragon Linux - Software 6 03-16-2004 01:27 AM
How do you install *.tar.gz packages? DartMol Linux - Newbie 22 03-30-2003 11:43 AM


All times are GMT -5. The time now is 07:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration