LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 07-21-2009, 06:05 PM   #1
debianD
Member
 
Registered: Jul 2009
Posts: 37

Rep: Reputation: 16
how to find installed applications..


Hi,
I am ready with my Linux box. Now I was thinking to write my first "Hello World" in C on my gentoo.
1.Please suggest me a good editor. I want to learn maximum underhood so want to deal with CLI only.
2.How to find out what all default applications are installed.
I tried looking out for use.defaults,but I think every possible things are included in it and I don't have anything installed actually like emacs,vim etc
3.Is gcc already installed?

Please tokerate me I am a newbie.

Cheers!!
 
Old 07-21-2009, 06:26 PM   #2
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
1. The CLI editor that you'll find easiest to use is nano. If you'd like something that's perhaps a bit more powerful, try vim (my favorite). emacs is the other big one; jokes are often made that emacs is not a great text editor but a great operating system with a text editor, etc. - it's very complex, but very capable. If you're up for a challenge, read up on how to use it.
2. Did some quick Googling and found that Gentoo includes a program called qpkg, which can be run with the -I option to get a list of all installed packages.
3. Try running it. If you get a 'command not found' message from your shell, nope; if it does anything else, yep. In the former case, try `emerge search gcc`, or Google "Gentoo install gcc" or something similar.
 
Old 07-22-2009, 03:07 AM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
To list all packages installed;
Code:
equery list
http://www.gentoo.org/doc/en/gentoolkit.xml
Gentoo is a sourced based distro so the toolchain is vital
http://www.gentoo.org/doc/en/gcc-upgrading.xml
 
Old 07-22-2009, 03:23 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by karamarisan View Post
1. The CLI editor that you'll find easiest to use is nano. If you'd like something that's perhaps a bit more powerful, try vim (my favorite). emacs is the other big one; jokes are often made that emacs is not a great text editor but a great operating system with a text editor, etc. - it's very complex, but very capable. If you're up for a challenge, read up on how to use it.
There are lots, really. vim and emacs seem to the the standard, however I've never been a fan of any of them for various reasons. All I want from an editor is the capability to edit text, I have other software to do the rest. But, to each his/her own.

Text based ones are vim, emacs, elvis, joe, nano, mcedit (installed along with mc). To see what more can you find, you could do this:

Code:
equery list -p "app-editors/*"
To make "equery" available you first need to "emerge gentoolkit" if you didn't already.

Quote:
2. Did some quick Googling and found that Gentoo includes a program called qpkg, which can be run with the -I option to get a list of all installed packages.
Code:
equery list -i "*"
However, a simple "cd /var/db/pkg; ls -d */*" would suffice as well.

Quote:
3. Try running it. If you get a 'command not found' message from your shell, nope; if it does anything else, yep. In the former case, try `emerge search gcc`, or Google "Gentoo install gcc" or something similar.
gcc is always installed, don't forget that Gentoo is a source based metadistro, everything you install is compiled on your own machine, and for that you need... a compiler.
 
Old 07-22-2009, 03:47 AM   #5
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
Quote:
Originally Posted by i92guboj View Post
gcc is always installed, don't forget that Gentoo is a source based metadistro, everything you install is compiled on your own machine, and for that you need... a compiler.
Gah. Duh. How did I miss that one?
 
Old 07-22-2009, 07:06 AM   #6
d2_racing
Gentoo support team
 
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
Hi, I use qlist -I nowadays because the latest version of equery list need to use the exact name of the package.
 
  


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
Get Installed applications list and applications activity arunarora Linux - Software 1 05-26-2009 08:33 PM
Can't find installed software in applications klarsin Ubuntu 12 01-30-2007 12:06 PM
Can'nt find installed software in applications klarsin Ubuntu 1 11-30-2006 04:18 AM
Where are the installed applications? shadow_rr SUSE / openSUSE 1 11-24-2006 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

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