LinuxQuestions.org
Help answer threads with 0 replies.
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 02-28-2005, 02:14 AM   #1
Drenerk
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
Exclamation Installing Trouble!


Hello, I'm Ben.

I'm having a bit of trouble installing programs with linux, I have used windows forever and this is my first time using linux, I'm using KDE.

Anyway, its just a basic program 'Dragons Era', but i cant seem to install it at all, after downloading it. That or ANY program for that matter.

I can find the download once I've downloaded it, but cant install, I'm completely in the dark.


IF anyone could help me, it would be greatly appreciated!


-Ben
 
Old 02-28-2005, 03:50 AM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 46
First what distribution are you using ? e.g. Mandrake , fedora , suse , ...........

the easiest way to install software is to use its package manager and set it up so that it could download and install software from remote repositories

and read the INSTALL and README files thats included in the software that you've downloaded , but for installing source software its usually extracting it to a folder then open the terminal and CD to that directory (e.g: cd /home/user/.. ) then type :

./configure
make
su
<your root password>
make install
 
Old 02-28-2005, 03:52 AM   #3
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Rep: Reputation: 30
Well it is a little bit different than windows but nothing that I am sure you can't handle. For starters, check the format of the download. Is it an archive, if yes, what kind? Some examples:
.tar
.gz
.bz2

*when in the console, DO NOT type the quotes*

*a nice feature to have is the auto-complete in the console, so instead of typing out that whole filename (some can be huge) just type the first bit and then hit the TAB button and if the file exists and has no others like it, it will finish the name for you*


If yes, you need to extract this first.

For tar type at the console:

tar -xvf "name of file"

For gz type:

gunzip "name of file"

For bz2 type:

bunzip "name of file"

Sometimes a file will end in something along the lines of .tar.gz . Now with this you just want to start at the right-most file type (for this example, .gz) and extract that one first. Than move to the next one (.tar). Now there are some commands that can combine the two, but for now you should get the basics.

Now once you have the file unpacked and in a directory, cd into that directory. At the console type

cd "name of directory"

Now once in the directory you are gonig to want to look for a few things, so go ahead and type:

ls

Mainly you are looking for something that says "configure" or a file ending in .sh . If there is a file that is .sh, then you are going to type

sh "name of file"

But for the most part, if you are extracting the file and working to install it from the directory, it is going to have to be configured. This is done by executing these commands:

./configure (watch the text fly by, and when that is done type the next command)
make (same, watch the text, and when it finishes type the next command)
make install


After this is all done, there should be an executable file now created in the directory. So just go ahead and type ./"name of program" and you should be on your way.



For RPM files.

Now this is actually very easy to do. At the console simply type:

rpm -Uhv "name of rpm file"

and you are on your way.

-onelung

EDIT
There are other ways to install, other types, etc. This is just for you seeing as how you are just getting started. If there is a specific file type or specific question regarding a certain install, post and I or many others will gladly help you through it with ease.

Last edited by onelung02; 02-28-2005 at 03:55 AM.
 
Old 02-28-2005, 10:56 PM   #4
Drenerk
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Original Poster
Rep: Reputation: 0
All right, so I am super slow at this LInux thing, but I found out the file extention is 'gz'. I'm in my tar:/root/ directory right now, and am stuck

Please help
 
Old 03-01-2005, 05:41 AM   #5
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
I don't know where a direcory like "tar:/root/" directory could come from but anyway, you should be in the same directory as your archive is (/home/ben/Programs for example). Then type (without quotes) 'tar -xzvf archive_name.tar.gz' and press Enter. You'll see a few lines (or a few more if the archive is bigger) scrolling down the screen and after that, if you type 'ls' you should see among the listing a directory with the same name as the original archive but without the '.tar.gz' part. Type 'cd archive_name_directory' to go into that directory, type 'ls' again and most probably you'll find a README or INSTALL file (or both). Read them and follow the instructions.
 
Old 03-01-2005, 11:01 AM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
How you install software depends greatly on what distribution of Linux your are using. If it's a Debian based distro you should use apt or the apt package manager like synaptic.

What distro are you using?
 
Old 03-01-2005, 12:30 PM   #7
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
I'm not quite sure if you can install gzipped files with apt-get (or any other package manager).
 
  


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
Trouble Installing 9.2 star geezer Mandriva 4 12-02-2003 08:28 PM
Trouble installing RH 8.0??? hoba Linux - Newbie 4 06-13-2003 06:45 AM
Trouble installing RH 8. Maxplayer Linux - Newbie 7 10-10-2002 12:27 AM
Trouble installing RH 8. Maxplayer Linux - Distributions 5 10-09-2002 05:54 PM
Trouble installing Qt. Manyguns Linux - General 0 04-22-2002 09:24 PM


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