Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 389
  • Last Modified:

Newbie Questioni from A Seasoned User

OK - I'm actually rather new to the add/remove software program in Linux . . . so even though I've been in IT professionally for over 20 years, I cannot figure this out.

I start up the Fedora 14 Add/Remove software application.

I use the search function to find Apache.  Too many matches!

I use the search function to find Apache Web.  Too many matches!

I use the search function to find Apache Web Server.  Too many matches!

I try to narrow my search to only the Server group with all of the above matches.  Too many matches!

How in the world does the Add/Remove software search function work to find specific software packages?

Thank you in advance for your thoughts, ideas, hints or suggestions that you might be able to send my way.

/David C.

P.S.  And it's not only Apache . . . I have a difficult time with any package that I search for.
0
learningtechnologies
Asked:
learningtechnologies
  • 8
  • 5
1 Solution
 
farzanjCommented:
Which OS do you have?

RedHat/CentOS/Fedora
Or something else?

Packaging systems are different in all the various versions
0
 
farzanjCommented:
Sorry, I noticed you said Fedora.

0
 
learningtechnologiesAuthor Commented:
Yes, this is Fedora 14

I have recently become a fan of using package managers - and I have very little trouble using yum and rpm from the command line.

This is very frustrating to use the Add/Remove program which, in theory, should be easier.  I'm sure that there is something that I am missing here - but I cannot figure out what it is.

Thank you for your reply.
0
Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

 
farzanjCommented:
So you need to know just a few commands of yum

Fedora uses RPMs, which has a very good packaging system.
0
 
farzanjCommented:
Here are some commands

Remove a package.
yum remove <package>
rpm -e <package>


Installing a package
yum install <package>
rpm -ivh <package>

0
 
learningtechnologiesAuthor Commented:
Yes, thank you very much.  I have used the command line versions of yum and rpm quite a bit.

However, I am trying to find software packages to install using the Fedora Add/Remove software program.  That's what I am having trouble with. Locating the packages within that system.

Thank you.
0
 
farzanjCommented:
RPMS keep a database.  You can query it and do a lot of things you need.

If you give me a very specific example, I can sure help you with that
0
 
farzanjCommented:
Use:

yum available all | grep package

yum installed <package>

yum installed all  | grep package
0
 
learningtechnologiesAuthor Commented:
Yes, thank you very much.  I understand the command line interface.

I am using the Add/Remove GUI program.  That's what is not working for me.  I cannot find good matches for my searches.

I want to install Apache server.  I cannot find it using the Add/Remove GUI based program.

Thank you very much for your patience with me.
0
 
farzanjCommented:
Installing Apache

yum install httpd
0
 
learningtechnologiesAuthor Commented:
Aha!  Thank you for the lead . . .

And it works!  Searching the Add/Remove GUI program for httpd results in the first match being Apache HTTP Server.

Thank you thank you thank you!
0
 
learningtechnologiesAuthor Commented:
Using the tip from farzanj I was able to find out what I needed to search for in the Add/Remove software GUI.
0
 
farzanjCommented:
If you want to see the description of a package
issue the following command.

rpm -qi <package>

0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 8
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now