-   Linux - Newbie (
-   -   Command Line On Linux??? (

unwrittenlaw 11-24-2003 01:28 AM

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

today53 11-24-2003 01:52 AM

there are plenty of sites that teach you how to use the commands, the following one is alright.

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!!

trickykid 11-24-2003 09:07 AM

Asked all the time on this site as well, a quick search would have found many results along with maybe search.

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


unwrittenlaw 11-25-2003 01:31 AM

i just want to say thank you today53...your info you gave me really helped me thanks alot

LOUDSilence 11-25-2003 01:37 AM

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!

LOUDSilence 11-25-2003 01:38 AM

extract an rpm not rom : sorry unwrittenlaw

unwrittenlaw 11-25-2003 01:54 AM

Thanks Alot LOUDSilence i totally i agree with you!!!:D

fancypiper 11-25-2003 01:59 AM

# 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

All times are GMT -5. The time now is 11:37 AM.