Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Application Names List For apt-get install command

    Reply
    loverfellow | # 1 | 2011-06-21, 20:38 | Report

    Since its easier and less time consuming to install applications through x-terminal by "using apt-get install" command, is there any list available to view the exact file names of applications to download. I can find and guess some names but others are virtually impossible to predict, specially with spaces.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dragly | # 2 | 2011-06-21, 20:47 | Report

    apt-cache search might help you out finding apps based on parts of the name. For example, if you want to find mbarcode, you could write

    apt-cache search barcode

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to dragly For This Useful Post:
    abhirajsoni

     
    Drexxx | # 3 | 2011-06-21, 21:22 | Report

    I think you're looking for this:
    Code:
    xterminal
    sudo gainroot
    apt-cache pkgnames
    It will take some time...

    Or even you can do this:
    Code:
    apt-cache pkgnames |sort |more
    So the list will be sorting and paging

    Regards

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jedi | # 4 | 2011-06-21, 21:25 | Report

    You can also:
    Code:
    # apt-cache dumpavail --no-all-versions > /home/user/MyDocs/pkglist.txt
    Then use your favourite text editor (vi) to view pkglist.txt with details

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jedi; 2011-06-21 at 22:46. Reason: corrected type (version*s*)
    The Following User Says Thank You to jedi For This Useful Post:
    kingoddball

     
    loverfellow | # 5 | 2011-06-21, 22:25 | Report

    Originally Posted by jedi View Post
    You can also:
    Code:
    # apt-cache dumpavail --no-all-version > /home/user/MyDocs/pkglist.txt
    Then use your favourite text editor (vi) to view pkglist.txt with details
    This command you gave me doesn't work. If I enter
    apt-cache dumpavail --no-all-version > /home/user/MyDocs/pkglist.txt
    it says E: Command line option --no-all-version is not understood

    If I enter
    apt-cache dumpavail -no-all-version > /home/user/MyDocs/pkglist.txt

    It says "E: Option -no-all-version: configuration item specification must have an -<val>"

    If I enter
    apt-cache dumpavail > /home/user/MyDocs/pkglist.txt

    it loads the file pkglist.txt in n900 directory, but file is 18mb in size and text editor gives an error "can't load, file is too large".

    Please, rectify the problem

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by loverfellow; 2011-06-21 at 22:27.

     
    jedi | # 6 | 2011-06-21, 22:45 | Report

    Originally Posted by loverfellow View Post
    This command you gave me doesn't work. If I enter
    apt-cache dumpavail --no-all-version > /home/user/MyDocs/pkglist.txt
    it says E: Command line option --no-all-version is not understood

    If I enter
    apt-cache dumpavail -no-all-version > /home/user/MyDocs/pkglist.txt

    It says "E: Option -no-all-version: configuration item specification must have an -<val>"

    If I enter
    apt-cache dumpavail > /home/user/MyDocs/pkglist.txt

    it loads the file pkglist.txt in n900 directory, but file is 18mb in size and text editor gives an error "can't load, file is too large".

    Please, rectify the problem
    ah sorry - it should have been "--no-all-versions", but anyway that's just to reduce 'duplicates' in the list and reduce the file size slightly.

    I've got extras etc enabled and end up with a 15mb file. "vi" loads it in a flash and has no problem moving/searching around.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to jedi For This Useful Post:
    kingoddball, shawwawa

     
    kingoddball | # 7 | 2011-06-23, 10:28 | Report

    You could always just use faster application manager

    Edit | Forward | Quote | Quick Reply | Thanks

     
    shawwawa | # 8 | 2011-06-23, 10:48 | Report

    Originally Posted by jedi View Post
    ah sorry - it should have been "--no-all-versions", but anyway that's just to reduce 'duplicates' in the list and reduce the file size slightly.

    I've got extras etc enabled and end up with a 15mb file. "vi" loads it in a flash and has no problem moving/searching around.
    Thank you very much for your guiding, I got >14mb txt output.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    9000 | # 9 | 2011-06-23, 10:51 | Report

    If you want a real full list (without library packages) you can use this:

    Code:
    apt-cache search \ | grep -v ^lib | sort | more

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout