Linux equivalent of pkginfo -i

I need to determine what Linux packages are associated to a particular software application so I can uninstall them. Is there a Linux equivalent to Solaris' pkginfo -i command? I've already tried different variations of the Linux rpm command but, no good. In Solaris, normally, I'd just run pkginfo -i | grep -i keyword to find what I need. Done. However, in Linux, in order to get detailed info on a package, you first have to know the name of the package. If you don't know the name, you're pretty much screwed into playing a guessing game using rpm -qa | grep -i part_of_pkg_name which could yield zero results. In my case, it has.
Any help from you Solaris-to-Linux gurus would be greatly appreciated.
Thank you, kindly.

Hi
which Linux distributim do you use?
if it is RedHat (or its clones) the command will be "rpm -q --all --queryformat "%-30{NAME}\t%{VERSION}\t%-60{SUMMARY}\t%{GROUP}\n"
it's more easer, isnt it? :)
in general way - to read a man of "rpm" command.
Pers

Similar Messages

  • Linux-equivalent of Task Manager?

    So far, I'm loving Linux! I've just come from Windows so what's the linux equivalent of the task manager (or if there's seperate programs)? i.e. terminate processes, view cpu usage, ram, etc.. If it helps I'm using kdemod (and compiz-fusion which ROCKS!). I'm looking for more of a sleek style.
    Last edited by KCE (2007-06-29 03:45:04)

    Thank you for all the suggestions.KSys was what I was looking for but I also want something nicer looking always on display. I tried Conky (which looks perfect!) but problem is the transparency doesn't work with kde Although I did find this workaround. I'm also trying out Gkrellm.Hopefully that transparency bug gets fixed. Is there any tool like it that uses "true transparency"?
    Last edited by KCE (2007-06-29 22:03:10)

  • Terminal --help (Arch Linux) equivalent?

    Not sure if this is the right place to ask, but as it's an operating system feature I'll give it a shot.
    I am a big fan of Arch Linux especially using the unix commands within the terminal.  One feature I love is being able to simple type '--help' after a command to get a full list of options.  Such as 'ls --help' will bring up the options available for displaying the contents of the directory, like informing me '-a' shows hidden files.
    What I would like to know is there a mac equivalent?  So I can easily see options in terminal.
    Thanks,
    Steve.

    There's really no consistancy.  It depends on the command.  Some actually do accept --help (e.g., gcc, grep -- probably all the gnu derived commands).  Some may look for -? and/or -h.  And some give you their general syntax if you make a syntax error on the command.  But to get a full description (well, hopefully a more full description), as Reed said above use the man command.

  • Is there an Arch Linux equivalent of debconf?

    I have a debian based configuration that I roll out to clients using a scripted installation.  Essentially, the base system is imaged onto the box (currently RaspberryPi) then my script and an archive containing extra files I want to push is copied to the card.  The script runs and performs some automated tasks like downloading firmware, updating/upgrading packages and then installing the packages I need.  For some packages (e.g. mysql and phpmyadmin), I use debconf in order to set the answers to the installation questions  - this allows a completely unattended installation.  This script also works on a regular Debian system - I can pass parameters to switch off functionality that isn't required on a desktop (e.g. the RPi firmware update or HostAPD installation) and the same script can commission a dev environment for me to work on.
    I'm now looking to support other SBCs like the HummingBoard or perhaps the BananaPi which means I need to consider a platform that would work universally across any platform.  So, I am looking at the feasibility of Arch Linux.  From what I have read, it would probably suit my needs a lot better as it starts off as a very minimal installation.  However I'm struggling to find a definitive alternative to debconf for performing my unattended installation.
    My less preferred option would be to build an image by hand and then script the package updates, but this would put me in the realms of having to maintain images for each platform I end up supporting rather than having a script that would build the config on any supported system with latest packages.

    There is interaction:
    * you may be be prompted to OK removing package A and installing package B - happens when renaming packages via package conflicts e.g.
    :: lzo2 and lzo are in conflict. Remove lzo? [y/N]
    * you are asked to pick packages from a group or which one of the packages providing the thing you want to install, e.g. when installing libgl or phonon
    $ sudo pacman -S phonon
    resolving dependencies...
    :: There are 2 providers available for phonon-qt4-backend:
    :: Repository extra
    1) phonon-qt4-gstreamer 2) phonon-qt4-vlc
    Enter a number (default=1):

  • OFF TOPIC:  Is there a gnu/linux equivalent to "open"?

    Does Gnu/Linux have something analogous to the Darwin "open" command?

    Bill,
    As I understand it most other systems don't really need it. On OSX you would say "open Photoshop" or "open -a Photoshop myimage.tiff" to get the app Photshop to open myimage.tiff. On another *nix platform, or under Xll you would just say "gimp" or "gimp myimage.tiff".
    Did I misunderstand your question?
    Tangentially, check out this site for cross OS equivalents (like how do you get the info IRIX displays with hinv on OSX):
    http://bhami.com/rosetta.html
    Reese

  • Is there a way to find libjvm.so on Linux without it being in the path?

    On Windows, I know it's possible to find the location of jvm.dll using the RuntimeLib key in the registry, and I've used this technique in a program. Is there a UNIX/Linux equivalent to this?
    In other words, is it possible for me to find out the location of libjvm.so without the user having to enter it manually, or the path to the library be in an environment variable?

    From man ldconfig:
    ldconfig, being a user process, must be run manually and has no means
    of dynamically determining and relinking shared libraries for use by
    ld.so when a new DLL is installed.
    That said, you could run something like locate on the library, and then put it in the LD_LIBRARY_PATH for the user that's running the program.

  • Compile windows program in linux, output to elf.

    I can compile a windows program in mingw32, but it's exported in exe format. Can I compile it to elf format? If so, how?

    dragos240 wrote:I'm trying to use mingw32 to compile a windows native c file, but it compiles to exe. I am using linux. So....
    ... So, why not just compile it with gcc ? 
    If it is because you need some library (like a dll), you will need to find a Linux equivalent [and probably need some code changes]

  • Question on CIN in LabVIEW for Linux

    I am using LabVIEW 7.1 for Linux.
    I ran the command to create the makefile:
    lvmkmf labviewcode.c
    It creates the makefile.
    When I type in the command make in order to make the necessary .lsb files, it gives me the following error:
    make: *** No rule to make target 'labviewcode.c.o', needed by 'labviewcode.c.lsb'. Stop.
    What extra commands do I need to add within the makefile in order to have it create an object file?
    This is my CIN source file:
    #include "extcode.h"
    #include <stdio.h>
    #include <stdlib.h>
    #include <dlfcn.h>
    MgErr CINRun(float64 *Numeric);
    MgErr CINRun(float64 *Numeric)
       /* Insert code here */
       void *libhandle;
       int (*edge_func)();
       libhandle = dlopen("/home/elliot/opencv_code/edge_code/edge.so", RTLD_LAZY);
       edge_func = dlsym(libhandle, "main");
       (*edge_func)();
       dlclose(libhandle);
       return noErr;
    I copied the main body of the code from a C function that wraps around a Linux shared library (.so - Linux equivalent for Windows DLL) file. This C function does compile and execute correctly. I decided to try out the CIN call from Labview 7.1 for Linux since I was running into problems calling the .so file from LabVIEW which is strange since I was able to call it from a C function.

    Never mind, discovered the error.

  • Mask ip // equivalent to netshade

    hi all,
    does anyone know a linux equivalent to netshade (mac only) http://raynersoftware.com/netshade/, which tunnels your internet connection through different proxys to mask the ip address?
    thx & rgds
    i just wanna add that of course i tried out tor and jap already, but connection speed there is really a pain in the ass.
    Last edited by hcjl (2008-04-04 15:06:41)

    Maybe TOR http://en.wikipedia.org/wiki/Tor_(anonymity_network) http://wiki.archlinux.org/index.php/Tor

  • How to install BAM 11 tp4 at linux?

    Hi everyone,
    I was looking everywhere at the bam docs and I couldnt find anything about how to install BAM at linux. Is there a step by step to do that? Because I see very little info at bam docs and it is not step by step. I m asking that because I m not a linux user so it have to be a step by step process because I m going to learn doing it.
    Thanks
    Mario

    well the problem is I dont know the linux equivalent and if this product runs in that platform Oracle should have a doc specifically for that. For example I have no idea how to create the environment variables using ubuntu I went to google and there is no clear instructions for that. So the only place for me to get help is here, and I m counting on you guys to help me, if somebody have installed BAM 11 tp4 in linux and can share how to do it I will appreciate.
    regards
    Mario

  • Probably a stupid Newb question....chkconfig

    Hi all,
    This is a very nice distro, especially if you wanted to learn linux, not just use it with a pretty GUI, and it has met ( sometimes exceeded ) my expectations.
    The searching the forums, using google extensively, the wiki have made the experience most worthwhile.  The first distro was mandrake, which lasted about 1 month because I could not learn anything with it.  Anyway on to the question at hand.   
        What is the Arch linux equivalent of chkconfig?  Or does one have to download the package itself via pacman?
    The reason I ask is that I would like to turn off all unneeded services ( I am a bit of a security hound, at least with a windows box ).   The Linux box will just be a workstation for myself, to do email, web surfing, maybe some online buying and eventually development.   No remote access to the machine is needed for myself ( as it is off, when I am not using it ).
    Hopefully, I phrased the question correctly!   
    Thanks,
    BobL

    BobL wrote:
    Thanks for the follow up Phrakture.   However, I did not quite follow when you said that chkconfig is a wrapper for make calls.   I thought it merely listed running services.   I did check on the make command and I cannot find how chkconfig even relates to what you mentioned.   Then again the article was mentioned in the context of a RedHat article.  So perhaps I am switching terms between different distrubutions....probably not a good idea. 
    I do know what "wrapping" is...with the programming background I have, I just didn't follow your context.
    oh, crap - I mixed it up with checkinstall... my fault  :oops:  :oops:  :oops:

  • Where is the mod_jk2.dll?

    hello
    I'm trying to install jk2 connector.
    My problem is that in the .zip distribution on Jakarta site, I can't find the mod_jk2.dll that must be given to httpd.conf in Apache.
    Instead of it, I find a mod_jk2.so, which is the Unix/Linux equivalent.
    I tried to use anyway the .so file, but without success (I also tryed to rename it to .dll).
    Please if anyone knows where to get this mod_jk2.dll tell me.
    Or I must compile this file by myself.
    Thanks.

    Use the mod_jk2.so and put it in the apache2/modules folder.
    In the httpd.conf add the line : LoadModule jk2_module modules/mod_jk2.so
    right where all the other modules are specified.
    This works for me with Apache 2 and Tomcat 5.
    Don't forget to fix up a workers2.properties file (to be put in Apache2/conf folder)

  • JNI: compile error

    I'm getting the following error from gcc when I attempt to compile the "Hello World"
    example posted in the java tutorial pages:
    /usr/lib/crt1.o(.rodata+0x4): undefined reference to `main'
    collect2: ld returned 1 exit status
    I've reconstructed the cc command line in the Solaris example to the following
    gcc command under linux:
    gcc -g \
    -I/usr/local/j2sdk1.3Beta/j2sdk1.3/include \
    -I/usr/local/j2sdk1.3Beta/j2sdk1.3/include/linux \
    HelloWorldImp.c -o libhello.so
    To the untrained eye (mine!), everything looks correct according to the example
    and according to the jdk install on my machine. Any clues or suggestions?
    Thanks
    Scott

    How would one compile the Hello World example as the linux
    equivalent of a DLL?
    I am attempting to following the example code as closely as possibly.
    I've made changes only to port the example from Solaris to Linux, and
    to conform to the jdk path as I find it on my file system.
    Thanks again
    Scott
    You're trying to compile it as an application.
    It's supposed to be compiled as a DLL.

  • Difficulty with Adobe Standard 8

    I have Adobe Standard 8 and I use it to read documents frequently.  Lately, it is very difficult to scroll down the pages as it scrolls so fast I don't have much control over the pages.  It also is hard to stop.
    Hope someone can help.
    Thanks
    LM

    Hi LM,
    Mouse scroll speed is typically controlled by the OS via a mouse app/drivers.
    In Windows, this is accessed via the Control Panel.
    A quick look at Acrobat Preferences (the Accessibility Setup as well) did not show any scroll configuration options; so, the Control Panel (or the Mac/Linux equivalent) may be the place to go.
    Be well...

  • 10.5.3 puts processes into "Uninterruptible wait" (U) state.

    Umm. I have a MacBook and a PowerMac G4/400 AGP.
    I never had any noticeable problems with either.
    I've had the G4 since Q3 2001 and the MacBook since October 2007.
    Since I updated to 10.5.3 I experienced processes dropping into the U state, which seems to be pretty bad and I'm not sure I've ever had this happen on Mac OS X or Linux (D state is Linux equivalent) in all my years of experience. Basically, it's impossible to kill the process even with "kill -9" and the computer won't shut down cleanly and I have to hold down the power button to stop the computer.
    This has only happened with programs that are heavy on disk I/O such as web browsers that use lots of files for cache (Firefox, not Safari), rsync, and make jobs.
    My MacBook only has one non-apple kernel extension (logitech mouse) and the G4 has none installed so this likely isn't anyone's fault but the OS and hardware vendor's.
    Is anyone else suffering from this or does anyone know if there's something wrong with me?

    I've experienced this problem some more.
    This time it has happened to two different processes.
    If I run "ps ax | grep -E ' U'" right now I get:
    27 ?? Us 0:13.49 /usr/sbin/update
    1677 s000 U+ 0:01.79 svn up
    I've sampled the processes and subversion is hanging on a call to "open$UNIX2003" and update is hanging on a call to "sync".

Maybe you are looking for