[SOLVED] Install a single program

Hello to everyone and sorry for my poor english.
I want to install "dig" package but I don't need the entire "dnsutils" group. It's possible?
And another question, how can I see all "dnsutils" packages? With another group, for example "kde", I can write "pacman -Sg kde" but it doesn't works with "dnsutils" group.
Thank You very much!
Last edited by alehox (2012-08-01 02:13:02)

alehox wrote:I know dnsutils it's a small package but I can't see the program list or the package contents of dnsutils with pacman? It's easy with the web
If there is such an option I am not aware of it.  It sounds like a good idea for a feature request - or for now you can try this, which I've called pac-list:
#!/bin/bash
repo=$(pacman -Ss $1 | awk 'NR==1 { gsub(/\/.*/,"",$1); print $1; }')
## uncomment only one of the following two lines:
#for arch in x86_64 any; do
for arch in i686 any; do
lynx -dump -width 1024 -nolist \
"http://www.archlinux.org/packages/$repo/$arch/$1/files/" | awk '
/Back to Package/ {show=1;}
/^[ \t]*\*/ {if (show==1) {print $2;} }'
done
edit: of course you can see contents once something is installed with `pacman -Ql <package name>`.
EDIT: oops that script will only occasionally work.  The url needs to be constructed a bit more wisely than that.  Perhaps I'll tinker with that later.
update: I've sacrified much elegance for some functionality.  This now seems to work for a majority of cases.  The two looped attempts seem odd to me, but as one should always fail silently, and the other work well, this seems to be a functional solution without having to look up whether the package is 686/x64 or 'any'.  I'm sure this will still fail occasionally, but my view on such scripts-of-convenience is to value simplicity over total failsafety.  It cannot fail in any dangerous way.
Last edited by Trilby (2012-08-01 02:32:57)

Similar Messages

  • [Solved] Install entire repository

    Hello!
    This may sound like a really crazy thing, but I was wondering if it were possible to install every single program in a repository. And if it were possible, how do you do it?
    For example, I want to install every program in the kde4-eyecandy-64 repository. How to do that?
    Last edited by magyckleo (2011-01-21 00:20:31)

    first of all, we don't have such repo. secondly RTFM means read the fine manual and there is no straight way to install all the packages.
    you have to combine pacman -Slq repo + pacman -S -> pacman -S $(pacman -Slq repo)
    more about the options pacman -Sh
    Last edited by wonder (2011-01-20 23:32:37)

  • I just purchased Audition CC as a single app purchase for $19.19/month.  I already have Creative Cloud installed. The program is not downloading - I clisk the "downlaod" button, the page says the program is downloading, but nothing is actually happening.

    I just purchased Audition CC as a single app purchase for $19.19/month.  I already have Creative Cloud installed. The program is not downloading - I clisk the "downlaod" button, the page says the program is downloading, but nothing is actually happening.  What is going on?

    Nobody can tell you anything without proper system info or other technical details.
    Mylenium

  • Install single program

    hey, iv just upgraded to Mac OS x v10.5.1 Leopard which doesn't include some of the programs panther had (very dissapointing). So my problem is i want to install iPhoto only, without over writing leopard (hope that makes sense). i don't have the propper panther discs, just the discs that came with the laptop when i bought it. Is it possible to only install a single application from panther to leopard? Thanks

    "Panther" did not have those extra programs either. If you bought Panther in a retail box, the iLife programs were not included. If you got Panther with a new Mac, then those iLife programs were there because they came with new Macs. Just like if you bought a new Mac today, it would come with Leopard and the current iLife suite.
    Take a look at your Disc 1 of your original set. Open the disk in a Finder window. You may see an installer there to install only bundled software. If it exists, you can probably select to only install iPhoto.
    If that does not exist, you can try using Pacifist to install individual packages from an installation disk. You would use it to find and install the iPhoto package.
    http://www.charlessoft.com/

  • How can I get assistance to install the audition program in my Mac Machine?

    Hi, how can I get assistance to install the audition program in my Mac Machine

    uninstall your trial, clean your computer (Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6), then dl the installation files and install:
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5 | 1
    Contribute:  CS5 | CS4, CS3 | 3,2
    FrameMaker:  12, 11, 10, 9, 8, 7.2
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • I am trying to download a document which requires me to have Adobe Reader, which I do; however, it keeps asking me to install the Reader program.  When I try to do that, I keep getting a message that I have a more functional product installed.  Regardless

    I am trying to download a document which requires me to have Adobe Reader, which I do; however, it keeps asking me to install the Reader program.  When I try to do that, I keep getting a message that I have a more functional product installed.  Regardless, I cannot open the document that i need and it is urgent that i complete it and send it in.  Please help.

    Use this link Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs
    When you have downloaded it, then clean out the old adobe reader and then try to install the latest one, i had to do this about a week ago and it solved the problem.
    Regards

  • Unable to Install or Run Program

    New Laptop / C650 Series / Win 7
    Installed a couple software programs, but decided to un-install one that I did not want on anymore (Sony Recording Software), and since then, I'm unable to run/install any new programs, plug-ins, audio discs, etc. I checked all autoplay settings, and tried to run manually, with no success.
    Normally, when a disc is inserted, system prompts would pop-up right away. This no longer happens, even though it should run right away per my settings. When I try to run it manually, nothing happens either.
    Any idea how to resolve this? Laptop has only been in use for a few days now.
    Solved!
    Go to Solution.

    Thanks for the responses.
    Arkadia,
    I created the recovery DVDs, though not familiar with how to perform. That's probably best, because I barely made any changes (iTune is the only other program presently). I'm on a different computer, and don't have the model number presently.
    Jerry,
    I do remember a box popping up during the un-install process saying that I would need ____ (my client, iclient ? or something like that) to be active in order to re-install that software. I didn't think much of it at the time. I couldn't open the link, but will try to track that down.

  • How to keep the installer from installing iTunes in Program Files?

    I am running Windows 7 64-bit.  Because the folder "Program Files" is a protected folder in Windows I want to install iTunes under a folder "C:\Apple\iTunes".  If I download iTunes and manually install it I can tell it to put it there and it installs there fine.  If it tries to install iTunes under "C:\Program Files" all sort of problems are created.  Sometimes ownership of the folder is lost and that is a real pain to fix so I can delete the program.  Once after I created this folder and install iTunes under C:\Apple I received notice that the installer had an update to iTunes.  I told it to install it and it replaced the one in the C:\Apple folder like it was supposed to.  Since that one time, months ago, every time the installer goes to install an update it wants to put it in C:\Program Files and the installation fails.  Sometimes I can actually delete the folder that it has created sometimes the ownership is messed up and I have to start up in Safe Mode to delete it.  (A real pain.)
    So can I prevent the installer from putting the updates in the C:\Program Files folder and if so how?  It finds the old version, under C:\Apple, but won't put the new installation there, so it fails every single time.
    Any ideas?

    If you go to the standard download page it will detect the architecture of your PC and offer the correct installer.  Up to iTunes 12.0 the "64 bit" versions of iTunes were actually 32-bit applications with a 64-bit installer - so will install in C:\Program Files (x86).  As of iTunes 12.1 it is a "true" 64-bit application so installs in C:\Program Files.
    You can avoid using the Apple Software Update by:
    in iTunes, unchecking the Check for new software updates automatically box in Edit > Preferences > Advanced
    in Apple Software Update, select the "Never" radio button in Edit > Preferences > Schedule
    If you want to keep these active so that you're notified when there is a new version of iTunes available, just click Quit when the Updater opens and then install manually.  There's no accessible option in the Updater to alter the target folder for automated installations.  There's probably something in the Windows Registry that relates to this, but I'd be wary of changing this without substantial testing - there could be interaction/conflict with Windows settings regarding the correct location of 32- and 64-bit applications.

  • How to install an email program

    I tried to send scanned documents to email, and it says there is no email program associatedto perfrom the requested action action.  Please install an email program..  What do I do?
    This question was solved.
    View Solution.

    With what program are you trying to send scanned documents to email?
    Which Printer are you using? What is the HP product name? 
    Do you have an email program, such as Microsoft Outlook or Mozilla Thunderbird installed?
    How to scan to Windows Live Mail
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Can I install the Single User iLife '08 on both of my computers?

    I have an iBook G4 and a PowerMac G4 Cube (upgraded, it will run on it). With all of the previous iLife releases I've been able to install and run everything on the same network just fine. I'm the only user and I'll be using the same .Mac account on both machines. But I've been reading on messageboards that people don't think that this will work... I just want to check before I open it. Please help I'm eager to install!
    Message was edited by: djbanshee

    I have not purchesed iLife 08 yet, so I don't know for sure, one way to check if you can do this is to look at the license agreement and see what is legally permitted. Apple will explain what is allowed as far as installing a single user copy on two home computers. You can view the agreement when you run the install program.

  • Installing Orchestrator Run Program Service requires administrative privileges on the target computer.

    We have a simple runbook that runs an .exe program local on a remote server.
    When I run the runbook within the Runbook Designer and the Runbook Tester it runs succesfully.
    When I run the runbook within the Orchestration Console (http://server4:82) I get the error message "Access is denied. Installing Orchestrator Run Program Service requires administrative privileges on the target computer."
    Orchestrator hierarchy:
    server1 Management Server
    server2 Runbook Designer
    server3 Runbook Server
    server4 Web Server

    Already solved it!
    Even after making the Service Account a Domain Admin it didn't work after restarting the two services on server1. But I forgot the service on server3! Apparently when you use the Web Server it runs the runbook through the Runbook Server and when you
    use Runbook Designer it runs locally within the Runbook Tester?

  • Using all types of resultset Objects i need a single program

    i think all of u know that there are 8 types of resultset objects are there in jdbc technology i.e
    # next() - moves the cursor forward one row. Returns true if the cursor is now positioned on a row and false if the cursor is positioned after the last row.
    # previous() - moves the cursor backwards one row. Returns true if the cursor is now positioned on a row and false if the cursor is positioned before the first row.
    # first() - moves the cursor to the first row in the ResultSet object. Returns true if the cursor is now positioned on the first row and false if the ResultSet object
    does not contain any rows.
    # last() - moves the cursor to the last row in the ResultSet object. Returns true if the cursor is now positioned on the last row and false if the ResultSet object
    does not contain any rows.
    # beforeFirst() - positions the cursor at the start of the ResultSet object, before the first row. If the ResultSet object does not contain any rows, this method has
    no effect.
    # afterLast() - positions the cursor at the end of the ResultSet object, after the last row. If the ResultSet object does not contain any rows, this method has no effect.
    # relative(int rows) - moves the cursor relative to its current position.
    # absolute(int n) - positions the cursor on the n-th row of the ResultSet object.
    Using all these result set methods i need a sample program all these methods must be used in a single program itself

    BalajiEnntech123 wrote:
    i think all of u know that there are 8 types of resultset objects are there in jdbc technology i.e I don't know who "u" are but they're wrong if they think there are "8 types of resultset objects are there in jdbc technology".
    They'd be especially wrong to think that the methods you mention are "types of resultset objects".

  • Unable to Install Office 2013 Pro and I get returned message "Couldn't Install We're sorry, we had a problem installing your office programs"

    I purchased 40 licenses of Office 2013 Pro from a vendor in the US and received 40 product keys along with the URL to download the software - 1 for each pc activation codes.  I have done a few and were all successful.  I am now trying
    install on 2 other pcs and I am having real difficulty and getting error message each time I try to install.  I am able to download the installer and copied to my desktop and when I double click to execute it, it gives me the option to run on the next
    screen.  I click on run then it gives me the message " do you want to allow the program to make changes to this computer".  When I press YES, nothing happens and minutes later, I get the flwg message everytime, "Couldn't
    install"  "We're sorry, we had a problem installing your office programs.  Is your internet connection working?  Do you have enough free space on your main hard drive?  Please try installing again after you've checked the above. 
    Go online for additional help.
    I have lots of space and my pc is Win 7 64 bit new machine.  I have connection to internet and I was able to get the others done.  What is the problem here and I have been trying to work late night hours to try to install the program and I am unable
    to successfully get it to work.  I receive the same message every time and I followed all the recommended troubleshoot steps I found on the internet.  Someone please help.  I have to install all for all the PCs we have for our organization. 
    Please respond because I am really stuck.
    Gabe

    Hi Gabe,
    First, please check the suggestion above is helpful. I also suggest you removing all version of Office and re-install Office 2013.
    We can try to run the application as an administrator and check if it works.
     1. Right click the shortcut of the application or the main application.
     2. Select properties.
     3. Select compatibility tab and select "Run this program as an administrator."
    If there is anything I can do for you about this issue, don't hesitate to tell me.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Is it possible to maintain multiple payment formats with a single Program

    Hi,
    Is it possible to maintain multiple payment formats with in a single program.
    For example let us assume that we have created 2 payments formats as 'XX-PAY1' & 'XX-PAY2'.
    When i select the parameter as '1' then 'XX-PAY1' has to run else 'XX-PAY2'.
    if its possible could you please tel us where to define the parameters in Setups.
    Many thanks,
    Zaheer S

    nazzu wrote:
    Hi,
    Is it possible to maintain multiple payment formats with in a single program.
    For example let us assume that we have created 2 payments formats as 'XX-PAY1' & 'XX-PAY2'.
    When i select the parameter as '1' then 'XX-PAY1' has to run else 'XX-PAY2'.
    if its possible could you please tel us where to define the parameters in Setups.
    Many thanks,
    Zaheer SSounds like an Apps question. Start here: https://forums.oracle.com/forums/category.jspa?categoryID=3

  • How to call the 2 Tcodes from single program.

    Dear Friends,
    I would like to call 2 tcodes form a single program based on some conditions like :
    I have a program ZRR wich is madule pool report with selection screen and screen 100, 200.
    If I excuted tcode ZXX then I need to call the report with selectin screen ( from there with giving some input data I will go to screen 100 ),
    If I excuted tcode ZYY then I need to call the same report skiping the selection screen and need to go directly screen 200.
    Pls help me on this if any bady is faced the similar problem.
    Thanks,
    Sridhar

    hi,
    yes you can do this..
    try this
    create a two screen suppose 9000 and 9001..
    then right click on your program name...
    create a TCODE say TONE..
    in this give the screen number 9000..
    now again right click on the program name
    create a TCODE say Tsecond
    in this give the screen number 9001...
    hope this will help you..
    Regards
    Ritesh J

Maybe you are looking for

  • How to print Check Box in smartform

    HI,   How to print check box in smartforms. I am using Include Sap Symbol but in the print it is coming as #. Do we need to do any setting like we do for barcode? Thanks Raghavendra

  • Itunes wont open with windows 7

    I've tried a previous post that suggested a bonjour fix and it didn't work for my problem.I really hate that EVERY time I do an itunes update I go through major issues to work out the bugs!!! I love my ipod, but this is becoming more of a problem tha

  • Regularly auto creation of sales order

    Hi All, Is it possible to define or set auto creation of sales order ? e.g. there 2000 customers that every biweekly Monday will have sales orders created automatically by system, so the user just only see and copy to delivery or A/R invoice. TIA Rgd

  • MS Office on a Mac - wont safe docs/too many doc open

    Could anyone tell me why "word" or "excel" will not save documents and the error message that is received is "word cannot complete the operation because too many file are open (doc)" We have several Macs connected to a PC server/network. Generally wh

  • Re-doing failed automator tasks automatically

    Hi. I want to queue up Automator tasks I saved as applications. I know you can use iCal and tell it to open the files at specific times but I was wondering if there's any other way of doing it, I've heard of Cron but is it any good?. My Automator tas