LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-04-2004, 06:10 PM   #1
mr.linux.noob
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 1 | Debian 3.0r2 | RHEL 3
Posts: 8

Rep: Reputation: 0
Installing an RPM or Tar.GZ package on CDROM in Command Line.


I am a huge n00b. I am hoping someone here can help me. I have downloaded the tar.gz and the rpm packages off of Intel's site for my graphics card. I booted into the command prompt but I do not know exactly what to do.

What command do I use to mount the CD Rom?
What commands to untar or install the rpm?


BTW: It's Fedora Core 1, of course.
 
Old 04-04-2004, 06:27 PM   #2
mbegovic
Member
 
Registered: Nov 2003
Location: Vancouver, Canada
Distribution: Currently FC3
Posts: 342

Rep: Reputation: 30
I've never used RH/Fedora. I think the command for installing an RPM in it is:

rpm -i path_to_file

As for unpacking tar.gz:

tar xvzf path_to_file
 
Old 04-04-2004, 06:29 PM   #3
mr.linux.noob
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 1 | Debian 3.0r2 | RHEL 3
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, but how do I get to the CDROM ... what is the mount CD command...

and how do I change directory to it?
 
Old 04-04-2004, 06:31 PM   #4
mbegovic
Member
 
Registered: Nov 2003
Location: Vancouver, Canada
Distribution: Currently FC3
Posts: 342

Rep: Reputation: 30
Oh, yeah - mounting the cdrom. It's probably already be mounted in /mnt/cdrom or something along those lines. Otherwise, try something like:

mount /dev/cdrom /mnt/cdrom
 
Old 04-04-2004, 06:32 PM   #5
mr.linux.noob
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 1 | Debian 3.0r2 | RHEL 3
Posts: 8

Original Poster
Rep: Reputation: 0
thnx for your help

*shuts down WinXP, and boots into Fedora*
 
Old 04-04-2004, 06:32 PM   #6
mbegovic
Member
 
Registered: Nov 2003
Location: Vancouver, Canada
Distribution: Currently FC3
Posts: 342

Rep: Reputation: 30
You can just try:

cd /mnt/cdrom - to change to the directory
ls - to list the contents of the directory

See if the contents of the CD are displayed.
 
Old 04-04-2004, 06:52 PM   #7
larrykeenan
Member
 
Registered: Apr 2004
Location: Brisbane Australia
Distribution: UBUNTU 13.04
Posts: 61

Rep: Reputation: 19
Hi there First to learn all about the mount command for your distro type man mount from your command prompt. When you have finished paging through the options or have read enough Hold the CTRL key and tap Z .

Now type man rpm CTRL-Z to leave.

Do you know the mount point for your CD? Hint - Look in the /mnt directory ( ls /mnt)

Nearly every command has a Manual associated with it and that is a great way to learn.
I'm always refering to them. Nothing is intuative.

I guess you know what I'm going to say for tar.gz :-)


man gzip

Have Fun,
Larry Keenan.

(Hey that was a long way to say Read The Fine Manuals.)
BTW Your final command will look something like rpm -i /mnt/cdrom/your.rpm
 
Old 04-04-2004, 08:43 PM   #8
mr.linux.noob
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 1 | Debian 3.0r2 | RHEL 3
Posts: 8

Original Poster
Rep: Reputation: 0
lol, i figured it out, but thnx anyway.
 
Old 11-25-2004, 03:40 PM   #9
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
hello mr.linux.noob as ur quitting xp how about giving me your serial for it
 
Old 10-27-2008, 11:54 PM   #10
Jacom
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 0
Just wondering when U use rpm on a downloaded package do you have to be connected to the internet? or is everything you need in the package?
 
Old 10-28-2008, 01:04 AM   #11
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,344

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
Don't resurrect threads from 2004. Start a new one.
You can use the CD or DVD as the repo src. Check your config. Depends on your distro; please add that to your profile.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing a tgz.tar package? onegear Slackware 28 09-03-2004 05:57 PM
package manager in command line doralsoral Linux - Software 3 11-16-2003 06:52 AM
RPM Command Line Dependencies sharkee Red Hat 5 11-11-2003 04:20 AM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 11:58 AM
Close Cdrom from command line? mikeshn Linux - Hardware 6 08-17-2003 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:34 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
Open Source Consulting | Domain Registration