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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
|
10-28-2007, 11:37 PM
|
#16
|
|
Member
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609
Rep:
|
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.
|
|
|
|
11-03-2007, 02:22 PM
|
#17
|
|
LQ Newbie
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
|
11-03-2007, 02:40 PM
|
#18
|
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 2 / CrunchBang Linux 10 Statler / Easy Peasy
Posts: 4,287
|
Quote:
Originally Posted by icedlightblue
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.
|
|
|
|
11-03-2007, 06:40 PM
|
#19
|
|
LQ Newbie
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
|
11-04-2007, 01:37 AM
|
#20
|
|
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,137
Rep:
|
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.
|
|
|
|
11-04-2007, 01:41 AM
|
#21
|
|
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,137
Rep:
|
--- 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
|
|
|
|
11-04-2007, 11:44 AM
|
#22
|
|
LQ Newbie
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28
Original Poster
Rep:
|
hey,could you help again?
how about installing tar.bz2?
|
|
|
|
11-04-2007, 02:29 PM
|
#23
|
|
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,137
Rep:
|
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...
|
|
|
|
11-04-2007, 03:02 PM
|
#24
|
|
Member
Registered: Jul 2005
Location: Dallas, TX, USA
Distribution: Debian Etch
Posts: 37
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:17 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|