LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you install programs/drivers? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-install-programs-drivers-405159/)

theknowledgeist 01-18-2006 08:11 PM

How do you install programs/drivers?
 
I'm running Knoppix and I've downloaded ati drivers and a new version of firefox. How do I install them?

I am brand new to Linux.

Thanks.

oulevon 01-18-2006 10:26 PM

Depends what form they are in. What's the extensions of the files you downloaded?

theknowledgeist 01-19-2006 12:09 AM

The ati driver is .run and firefox is .tar.gz

Thanks.

bulliver 01-19-2006 03:06 AM

You installed knoppix to the hard drive then? As I don't think there is anyway to update if you are running from the cdrom.

In any event, run files are generally:
Code:

# sh package-name.run
Firefox will be trickier. First you need to extract the tarball:
Code:

# tar xzf firefox-<version>.tar.gz
Now 'cd' into the newly created directory. There will be a file their named README. Read it. There will be a file called INSTALL. Read it. Generally though, there are 3 generic steps to installing software from source code:
Code:

# ./configure
# make (this will take a _long_ time depending on your proc)
# make install (as root)


Nylex 01-19-2006 07:53 AM

Quote:

Originally Posted by bulliver
Firefox will be trickier. First you need to extract the tarball:
Code:

# tar xzf firefox-<version>.tar.gz
Now 'cd' into the newly created directory. There will be a file their named README. Read it. There will be a file called INSTALL. Read it. Generally though, there are 3 generic steps to installing software from source code:
Code:

# ./configure
# make (this will take a _long_ time depending on your proc)
# make install (as root)


This isn't necessarily true, as Mozilla have a Firefox binary for download in .tar.gz, so all that needs to be done is extract it.

theknowledgeist 01-19-2006 09:05 PM

Bulliver,

Yes, I installed Knoppix to the hd.

What do you mean by:
# sh package-name.run

I suppose you mean use terminal and then navigate to the directory where the driver downloaded to and then type # sh ati-driver-installer-8.20.8-i386.run? I tried that and got nowhere. I also tried using the GUI and clicked on the driver (ati-driver-installer-8.20.8-i386.run) but that just opened up a text document.

I also tried following the directions on the ati webpage (located here: https://a248.e.akamai.net/f/674/9206...21.7-inst.html) but couldn't get that to work either.

If you would please explain every little step I would appreciate it because I know nothing about Linux or Knoppix. Also if you could explain things in terms a person familiar with Windows and Mac OS is familiar with that would help too.

Is there any way to install the driver using the GUI instead of CLI?

Thanks.

bulliver 01-19-2006 10:43 PM

Quote:

I tried that and got nowhere.
What happened? Errors? A .run file is basically just a shell script, hence why it opened a text file rather than running it.

In any event, please don't say things like "it didn't work" or "I got nowhere". It provides us with zero information to try and diagnose your problem. Explain clearly what steps you took, what happened, and cut and paste any errors you get.

Quote:

Is there any way to install the driver using the GUI instead of CLI?
I would say not, unless knoppix provides both a GUI package manager, and a package for your ati drivers. I don't use knoppix, but I do not believe this is the case. You should not shy away from the cli anyway if you want to have success with Linux.

krotaz 01-19-2006 11:01 PM

well, for the firefox program do this

1.- on your command line put "tar -zxvf filename.tar.gz"
This will extract the files
2.- in the command line write ./firefox
3.- Ready.
4.- Create a shortcut in your desktop to the ./firefox bin and thats it

Hope it helps

theknowledgeist 01-20-2006 01:36 AM

Thank you all, I finally figured out how to install both files.


All times are GMT -5. The time now is 04:49 AM.