LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2003, 01:11 PM   #1
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
Commands for Install/Uninstall/And everything else experienced user read plz


Hey, I am having a hard time with linux because most install readme files don't give a detailed explanation and I always get errors when installing because I don't know the magic keys to type to make anything work. So far I have redhat 9.0 set up and thats as far as I have gotten (after many reinstalls and discovering the usefullness of the user accounts).

Anyway, I would like to know if there were any good websites that provides good information on how to install programs in linux, and a few key commands that everybody should know.

If anybody reading this knows any commands that are frequently used to install rpms tgz and any other file please tell me.

I am trying to install checkinstall now so that I can uninstall programs I dont need, but I can't install anything.

So that this post is for a broader base than only checkinstall if anybody knows how to install things in linux, please say things like tar -zxvf program.rpm (so people can figure out it works for other things than checkinstall.

What I am looking for is any keys that I can use to install programs, and any keys that would be useful to know for future refrences as well.
 
Old 10-21-2003, 01:38 PM   #2
Rab22
Member
 
Registered: Dec 2002
Location: Currently: Normal, IL @ ISU -- Typically: South of Chicago
Distribution: Currently: RH 9 && Slackware 9.1 =)
Posts: 50

Rep: Reputation: 15
Well since you are using RH 9.0 you can use RPM to install. The commands you should probably get to know for rpm are,
rpm -Uhv (updates/installs and shows verbose information. This is good to watch so that you know how the install is going).
rpm -e (this erases the software that you want to install)
rpm -qa (query all, this is really nice to pipe with grep)
example: rpm -qa | grep "file_name" will display whether the file is installed or not

for installing tgz/tar.gz you'll need to do a chain of commands.
First you'll want to unpackage the files (tar -zxf <filename>) and then you'll want to CD into the directory that is made. From there you'll want to view the INSTALL file to be sure of what you need to do and follow it's instrutions. Most software can be installed easily with a "./configure" script and you can pass the "--prefix=<directory_to_install_to>" option if desired. Configure has many optoins -- you'll use more depending on the software you want to instlal. After that is done a simple "make" and then "make install" (as root) should install the software for you. If you get errors it's most likely due to deps. You'll want to install the packages it asks for.
 
Old 10-22-2003, 12:02 PM   #3
uthlekan
LQ Newbie
 
Registered: Jul 2003
Location: minna
Posts: 8

Rep: Reputation: 0
Check out this link !
YoLinux Tutorial: Linux System Administration
 
  


Reply



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
How do you uninstall/remove an rpm package? Plz Help! Gormless Linux - Newbie 3 10-23-2004 03:25 PM
Help me! How do you install? I know it's been asked before but...plz read... luminousnerd Linux - Software 15 10-20-2004 07:51 PM
Experienced Red Hat Users Plz Read natenate Linux - Software 5 09-23-2004 12:03 AM
What linux-based photo/image editing software for an experienced photoshop user enigma Z Linux - Software 3 09-07-2004 12:51 PM
I need help with some commands plz! Yin Linux - Newbie 12 03-08-2004 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:30 PM.

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