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!! |
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. |
To list all packages installed;
Code:
equery list Gentoo is a sourced based distro so the toolchain is vital :) http://www.gentoo.org/doc/en/gcc-upgrading.xml |
Quote:
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/*" Quote:
Code:
equery list -i "*" Quote:
|
Quote:
|
Hi, I use qlist -I nowadays because the latest version of equery list need to use the exact name of the package.
|
All times are GMT -5. The time now is 11:04 AM. |