LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-24-2003, 12:28 AM   #1
unwrittenlaw
Member
 
Registered: Sep 2003
Distribution: Slackware FreeBSD Gentoo Novell
Posts: 73

Rep: Reputation: 15
Command Line On Linux???


My Questions is can someone please give some command on installing anything like rpm,tar.gz, or suff like that or can someone give me a website where it will tell you some of the command so i could learn some more .

Thank you
regards
Danny
 
Old 11-24-2003, 12:52 AM   #2
today53
Member
 
Registered: Oct 2003
Location: sydney
Posts: 70

Rep: Reputation: 15
there are plenty of sites that teach you how to use the commands, the following one is alright.
from http://www.unixguide.net/linux/linuxshortcuts.shtml

File (de)compression
tar -zxvf filename.tar.gz
(=tape archiver) Untar a tarred and compressed tarball (*.tar.gz or *.tgz) that you downloaded from the Internet.

tar -xvf filename.tar
Untar a tarred but uncompressed tarball (*.tar).

Program installation
rpm -ivh filename.rpm
(=RedhatPackageManager, install, verbose, hashes displayed to show progress, as root.) Install a content of RedHat rpm package(s) and print info on what happened. Keep reading if you prefer a GUI installation.

rpm -qpi filename.rpm
(=RedhatPackageManager, query, package, list.) Read the info on the content of a yet uninstalled package filename.rpm.

rpm -qpl filename.rpm
(=RedhatPackageManager, query, package, information.) List the files contained in a yet uninstalled package filename.rpm.

rpm -qf filename
(=RedhatPackageManager, query, file.) Find out the name of the *.rpm package to which the file filename (on your hardrive) belongs.

rpm -e packagename
(=RedhatPackageManager, erase=uninstall.) Uninstall a package pagckagename. Packagname is the same as the beginning of the *.rpm package file but without the dash and version number.

hope it helps!!
 
Old 11-24-2003, 08:07 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Asked all the time on this site as well, a quick search would have found many results along with maybe google.com/linux search.

Please don't make us your personal search assistance and make it seem like you at least tried to search yourself first.

Regards.
 
Old 11-25-2003, 12:31 AM   #4
unwrittenlaw
Member
 
Registered: Sep 2003
Distribution: Slackware FreeBSD Gentoo Novell
Posts: 73

Original Poster
Rep: Reputation: 15
i just want to say thank you today53...your info you gave me really helped me thanks alot
 
Old 11-25-2003, 12:37 AM   #5
LOUDSilence
Member
 
Registered: Oct 2003
Location: Sydney
Distribution: Red Hat 8
Posts: 77

Rep: Reputation: 15
This one is if you want to extract an rom file but not install it
-------------------------------------------
mkdir tmp
cd tmp
rpm2cpio rpmfile | cpio -i
-------------------------------------------
Chill out trickykid, 75% of the questions in here could have been searched for, I notice half your posts are just you flaming people!!!
If you didn't want to help this guy SAY NOTHING!
 
Old 11-25-2003, 12:38 AM   #6
LOUDSilence
Member
 
Registered: Oct 2003
Location: Sydney
Distribution: Red Hat 8
Posts: 77

Rep: Reputation: 15
extract an rpm not rom : sorry unwrittenlaw
 
Old 11-25-2003, 12:54 AM   #7
unwrittenlaw
Member
 
Registered: Sep 2003
Distribution: Slackware FreeBSD Gentoo Novell
Posts: 73

Original Poster
Rep: Reputation: 15
Thanks Alot LOUDSilence i totally i agree with you!!!
 
Old 11-25-2003, 12:59 AM   #8
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation
 
  


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
I want to use command line with Linux ywergs Fedora 7 10-01-2005 09:56 PM
Fedora Linux - Command Line only...? Nickj Linux - Newbie 4 07-26-2005 11:20 AM
linux command line from KDE spaceflounder Linux - Newbie 10 10-09-2004 08:19 PM
Linux Command Line Basics civicsi Linux - Newbie 6 04-24-2004 04:14 PM
Command Line Linux Fusion07 Linux - Newbie 6 07-03-2002 12:47 AM


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