Install OID client or command line tool

Does anybody know if I can install a OID client or command line tool seperately? For example, I have a Infrastructure version on a remote server, and a J2EE EE version on my local machine and I want to manage it from my client. which package should I install?
Thanks a lot.

Thanks Robert for the reply.
Tried out this method and able to install the firefox packaged application from ubuntu linux machine.
'''install.js''' remotely install app from folder using the Webapp Actor and Debugger Client API(a client and a server instance must be created and a protocol connection must be established ).
Is there any command line method for installaing application from inside the Firefox device shell(something like '''pm install ''' command for apk installation in Android -''''pm install /sdcard/com.twitter.android-1.apk'''').

Similar Messages

  • Trying to install gcc with Command Line Tools - Mountain Lion

    I am trying to update the CUDA driver for an NVIDIA GeForce GTX 570 card. To do that, I need gcc installed.
    It appears I have not been able to install gcc, and I need help doing this.
    I am a newbie to both Terminal commands and to updating CUDA drivers, so please bear with me.
    I am running Mountain Lion (10.8.2) on a dual quad core Mac Pro (mid 2010 model).
    I have been following the guide here:
    http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-mac-os-x/index.html
    To install gcc w/o having to install Xcode (I don’t need all of Xcode and so don’t want it installed), I downloaded the “Command Line Tools (OS X Mountain Lion) for Xcode – November 2012” from the Apple Developer Downloads page:
    xcode452cltools10_86938211a.dmg
    I also downloaded the “Mac OS X CUDA 5 Production Release” from the NVIDIA Developers Download page:
    cuda_5.0.36_macos.pkg
    I installed the Command Line Tools, and then installed the CUDA 5 Release (driver, toolkit, samples). Both installed successfully.
    To verify that gcc was installed, I entered the Terminal command (the guide above says this is how I check):
    /usr/bin/gcc –-help
    The resulting message was:
    i686-apple-darwin11-llvm-gcc-4.2: –-help: No such file or directory
    i686-apple-darwin11-llvm-gcc-4.2: no input files
    I take it this means I did not successfully install gcc.
    Please tell me what I am doing wrong.
    NOTE: The steps below may not be of interest to you, since they are steps to verify the CUDA driver was updated (once gcc is successfully installed).
    But I included them in the post, in case they are helpful..
    I went to “Define the environment variables”.
    I entered the command
    export PATH=/Developer/NVIDIA/CUDA-5.0/bin:$PATH
    I got no message
    I then entered the command:
    export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-5.0/lib:$DYLD_LIBRARY_PATH
    I got no message
    To verify that the CUDA kernel extension is loaded, I then entered the command:
    kextstat | grep -i cuda
    I got this message:
    123 0 0xffffff7f81e69000 0x2000 0x2000 com.nvidia.CUDA (1.1.0)
    I then checked the CUDA Toolkit version by entering the command:
    nvcc –V
    I got the message:
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2012 NVIDIA Corporation
    Built on Fri_Sep_28_16:10:16_PDT_2012
    Cuda compilation tools, release 5.0, V0.2.1221
    To change the directory, I then entered:
    cd /Developer/NVIDIA/CUDA-5.0/samples
    Then to compile the samples, I entered:
    make
    The resulting message was:
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    Makefile:79: *** MPI not found, not building simpleMPI.. Stop.
    make: *** [0_Simple/simpleMPI/Makefile.ph_build] Error 2
    To run the binaries, I changed the directory by entering:
    cd /Developer/NVIDIA/CUDA-5.0/samples/C/bin/darwin/release
    and then entered
    deviceQuery
    I got the message:
    -bash: cd: /Developer/NVIDIA/CUDA-5.0/samples/C/bin/darwin/release: No such file or directory

    (1) When I typed in the command
    /usr/bin/gcc –v
    I got this response:
    Using built-in specs.
    Target: i686-apple-darwin11
    Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/dst-llvmCore/Deve loper/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
    Thread model: posix
    gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
    Does this say I successfully installed gcc? 4.2.1 is the latest version?
    If I have successfully installed the latest version of gcc, then my problem lies with the installation of the CUDA driver.
    If your command worked, then the NVIDIA "CUDA Getting Started Guide" doc I referenced above, which I am following, is just incorrect.
    (2) I then went through the same steps as above, and got the same responses, until I got to the "make" command. This time I entered
    make clean
    And I got the response:
    rm -f asyncAPI asyncAPI.o
    rm -f cdpSimplePrint cdpSimplePrint.o
    rm -f cdpSimpleQuicksort cdpSimpleQuicksort.o
    rm -f clock clock.o *.bin
    rm -f cppIntegration cppIntegration.o cppIntegration_gold.o main.o *.bin
    rm -f cudaOpenMP cudaOpenMP.o
    rm -f inlinePTX inlinePTX.o *.bin
    rm -f matrixMul matrixMul.o
    rm -f matrixMulCUBLAS.o matrixMulCUBLAS
    rm -f matrixMulDrv matrixMulDrv.o data/matrixMul_kernel64.ptx matrixMul_kernel64.ptx
    rm -f matrixMulDynlinkJIT matrixMulDynlinkJIT.o matrixMul_gold.o matrixMul_kernel_32_ptxdump.o matrixMul_kernel_64_ptxdump.o cuda_drvapi_dynlink.o
    rm -f simpleAssert simpleAssert.o
    rm -f simpleAtomicIntrinsics simpleAtomicIntrinsics.o simpleAtomicIntrinsics_cpu.o
    rm -f simpleCallback simpleCallback.o multithreading.o *.bin
    rm -f simpleCubemapTexture simpleCubemapTexture.o *.bin
    rm -f simpleIPC simpleIPC.o
    rm -f simpleLayeredTexture simpleLayeredTexture.o
    Makefile:79: *** MPI not found, not building simpleMPI..  Stop.
    make: *** [0_Simple/simpleMPI/Makefile.ph_clean] Error 2
    Then I entered
    make
    And I got the response:
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o asyncAPI.o -c asyncAPI.cu
    g++ -arch x86_64 -o asyncAPI asyncAPI.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp asyncAPI ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -dc  -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cdpSimplePrint.o -c cdpSimplePrint.cu
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -gencode arch=compute_35,code=sm_35  -o cdpSimplePrint cdpSimplePrint.o -L/Developer/NVIDIA/CUDA-5.0/lib -lcudadevrt
    mkdir -p ../../bin/darwin/release
    cp cdpSimplePrint ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -dc  -gencode arch=compute_35,code=sm_35  -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cdpSimpleQuicksort.o -c cdpSimpleQuicksort.cu
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -gencode arch=compute_35,code=sm_35  -o cdpSimpleQuicksort cdpSimpleQuicksort.o -L/Developer/NVIDIA/CUDA-5.0/lib -lcudadevrt
    mkdir -p ../../bin/darwin/release
    cp cdpSimpleQuicksort ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o clock.o -c clock.cu
    g++ -arch x86_64 -o clock clock.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp clock ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cppIntegration.o -c cppIntegration.cu
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cppIntegration_gold.o -c cppIntegration_gold.cpp
    g++ -arch x86_64   -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o main.o -c main.cpp
    g++ -arch x86_64 -o cppIntegration cppIntegration.o cppIntegration_gold.o main.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp cppIntegration ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -lineinfo -Xcompiler -fopenmp  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cudaOpenMP.o -c cudaOpenMP.cu
    ptxas warning : Command line option '--generate-line-info' not supported for 'sm_1x architecture', will be ignored
    g++ -arch x86_64 -o cudaOpenMP cudaOpenMP.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart -lgomp
    mkdir -p ../../bin/darwin/release
    cp cudaOpenMP ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o inlinePTX.o -c inlinePTX.cu
    g++ -arch x86_64 -o inlinePTX inlinePTX.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp inlinePTX ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o matrixMul.o -c matrixMul.cu
    g++ -arch x86_64 -o matrixMul matrixMul.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp matrixMul ../../bin/darwin/release
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o matrixMulCUBLAS.o -c matrixMulCUBLAS.cpp
    g++ -arch x86_64 -o matrixMulCUBLAS matrixMulCUBLAS.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart -lcublas
    mkdir -p ../../bin/darwin/release
    cp matrixMulCUBLAS ../../bin/darwin/release
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o matrixMulDrv.o -c matrixMulDrv.cpp
    g++ -arch x86_64 -o matrixMulDrv matrixMulDrv.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -framework CUDA
    mkdir -p ../../bin/darwin/release
    cp matrixMulDrv ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o matrixMul_kernel64.ptx -ptx matrixMul_kernel.cu
    mkdir -p data
    cp matrixMul_kernel64.ptx ./data
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o matrixMulDynlinkJIT.o -c matrixMulDynlinkJIT.cpp
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o matrixMul_gold.o -c matrixMul_gold.cpp
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o matrixMul_kernel_32_ptxdump.o -c matrixMul_kernel_32_ptxdump.c
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o matrixMul_kernel_64_ptxdump.o -c matrixMul_kernel_64_ptxdump.c
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o cuda_drvapi_dynlink.o -c cuda_drvapi_dynlink.c
    g++ -arch x86_64  -o matrixMulDynlinkJIT matrixMulDynlinkJIT.o matrixMul_gold.o matrixMul_kernel_32_ptxdump.o matrixMul_kernel_64_ptxdump.o cuda_drvapi_dynlink.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -framework CUDA
    mkdir -p ../../bin/darwin/release
    cp matrixMulDynlinkJIT ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleAssert.o -c simpleAssert.cu
    g++ -arch x86_64 -o simpleAssert simpleAssert.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleAssert ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_11,code=sm_11 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleAtomicIntrinsics.o -c simpleAtomicIntrinsics.cu
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleAtomicIntrinsics_cpu.o -c simpleAtomicIntrinsics_cpu.cpp
    g++ -arch x86_64 -o simpleAtomicIntrinsics simpleAtomicIntrinsics.o simpleAtomicIntrinsics_cpu.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleAtomicIntrinsics ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleCallback.o -c simpleCallback.cu
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o multithreading.o -c multithreading.cpp
    g++ -arch x86_64 -o simpleCallback simpleCallback.o multithreading.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart -lpthread
    mkdir -p ../../bin/darwin/release
    cp simpleCallback ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleCubemapTexture.o -c simpleCubemapTexture.cu
    g++ -arch x86_64 -o simpleCubemapTexture simpleCubemapTexture.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleCubemapTexture ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleIPC.o -c simpleIPC.cu
    g++ -arch x86_64 -o simpleIPC simpleIPC.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleIPC ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleLayeredTexture.o -c simpleLayeredTexture.cu
    g++ -arch x86_64 -o simpleLayeredTexture simpleLayeredTexture.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleLayeredTexture ../../bin/darwin/release
    Makefile:79: *** MPI not found, not building simpleMPI..  Stop.
    make: *** [0_Simple/simpleMPI/Makefile.ph_build] Error 2
    There is still an "Error 2" at the end, so something still appears to be wrong.

  • How to configure Team explorer 2010 command-line tool in Mac x os. configure shell or system path to include the folder to which (TF client) unzipped archive available.

    How to configure Team explorer 2010 command-line tool in Mac x os.
    Hot to configure shell or system path to include the folder to which (TF client) unzipped archive available. I am new to Mac X OS. Please help.

    Dmitry,
    Thanks for the great writeup!
    I think I've got my universal instant client libraries built correctly.
    I too am using MacBook Pro but I'm getting stuck at building the 32 bit oci8.so
    First problem is my pecl download (ver 1.4.1) did not contain a "configure" file so ./configure failed.
    I used configure from /sw/....... to try to continue.
    Second problem. Using existing configure from /sw/.... I used an appropriate variation of your example command
    (./configure --with-oci8=instantclient,/usr/local/oracle/instantclient_10_2 && make).
    Things look like everything ran OK but The output does NOT include an oci8.so file
    So I guess my question is: Which "configure" should I be using? And if it is not the one on the system under /sw/...
    where would I get it since it doesn't come in the pecl download?

  • Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution

    Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution?? please...

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • Consistent error when trying to install Command Line Tools

    Hi there,
    after downloading XCode from the App-store without problems, I then tried to add the Command Line Tools via the Preference/Download/Components menu.
    When it comes to install the downloaded package, Xcode states "An error occured while extractng files from DevSDK.pkh", and thats about it. Re-installed Xcode, same result. Downloaded the image for the CL-utilities by hand, several versions including older ones, with the same result. The error message in /var/log/install is not very enlighning (for me)
    NSUnderlyingError = "Error Domain=BOMCopierFatalError Code=1 \"The operation couldn\U2019t be completed. FinishStreamCompressorQueue error\" UserInfo=0x7ff9e1ec9ae0 {destinationPath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandboxManager/1.sandbox/Root, offset=1156350, type=BOMCopierFatalError, sourcePath=/var/folders/2f/vqq1hf8d0851_5ty12s5g0ym0000gp/T/attached-image-2b66 48c01a1f4d20c9a96b45cf50d1e78e216eb4/Command Line Tools (Mountain Lion)/Packages/DevSDK.pkg, NSLocalizedFailureReason=FinishStreamCompressorQueue error}";
            PKInstallPackageIdentifier = "com.apple.pkg.DevSDK"
    I am a bit stuck here (and in desperate need of a c++ compiler). Any suggestions what to do ?

    the last entry in the list you provided is "zz" so ...
    if you look at the second path in the error message (bolded)...:
    /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandboxManager/1.sandbox/Root
    you will see that the path matches.  If you don't feel compfortable navigating via the terminal you can also navigate via the finder and go directly to this folder by selecting the menu item "Go > Go To Folder...":
    then enter the path "/var/folders"
    you will see the "zz" folder in there.  you can open that and continue until you can see the folder "zyxvpxvq6csfxvn_n0000000000000"
    Here is view from the terminal and the Finder of the same structure:
    I have that same folder:
    select this folder and delete (I think you will have to authenticate to remove).... sorry I am not going to remove since things are working on my end.
    locate the other folder and do the same.

  • "add_mp_to_mpa" is not recognized by OEM 12C Command line tool

    Hi,
    As per Oracle® Enterprise Manager Command Line Interface 12c Release 1 (12.1) document ( http://docs.oracle.com/cd/E24628_01/em.121/e17786/cli.htm ), after the EM CLI Client is installed basic operational verbs like 'add_mp_to_mpa " can be used to create managenment plug-in archive. But when i am using this command with OEM 12C EM CLI command line tool it throws following error
    +Error: The command name "add_mp_to_mpa" is not a recognized command.+
    +Run the "help" command for a list of recognized commands.+
    +You may also need to run the "sync" command to synchronize with the current OMS+.
    I also used sync command to sync with my OMS server. The sync command ran successfully with output "Synchronized successfully" .
    When i use help command("emcli help") to see the list of command it supports, it doesn't list this ('add_mp_to_mpa ') verb.
    Please tell me how can i use this particular verb to create my own management plug-in archive(.jar file) in 12 C.
    -Tripati

    "add_mp_to_mpa" verb is no longer an emcli verb in EM 12c. The plug-in framework has changed EM 12c. If necessary, please see the following doc for information on packaging and deploying a plug-in.
    http://docs.oracle.com/cd/E24628_01/doc.121/e25161/package.htm#CACDJJDA
    Regards,
    - Loc

  • Running a command in a command line tool in fastest way

    Before anything I want to clarify some terms : 
    apk
    file (android application package file) : equivalent to executable (exe) files on windows
    aapt.exe
    : A command line tool which comes with android sdk in order to fetch information of an apk file (It obviously has other usages)
    note : This question is not about an android feature. It's all about C# and functionality of .Net framework 
    An
    apk file has a name just same as any other file, but it has a internal name (which will be shown when you install apk file on android os as name of application) 
    with
    aapt.exe I can get internal name of an apk using following command :  
    aapt
    d badging "<apk path>"
    I
    have copied aapt.exe where executable file of my c# application is and I want  :
    Enter
    above command for each apk in selected directory (using GetAllFiles method)
    I want to get internal names of apk files and
    I've tried a lot of ways and I've searched a lot. finally this is what I've got : 
    Process proc = new Process();
    proc.StartInfo.FileName = "cmd.exe";
    proc.StartInfo.RedirectStandardInput = true;
    proc.StartInfo.RedirectStandardOutput = true;
    proc.StartInfo.UseShellExecute = false;
    proc.StartInfo.StandardOutputEncoding = System.Text.Encoding.UTF8;
    proc.Start();
    using (StreamWriter sw = proc.StandardInput)
    foreach (string path in Directories.GetAllFiles(@"E:\apk", "apk"))
    sw.WriteLine("aapt d badging " + "\"" + path + "\"");
    //following line doesn't work because sStandardInput is open
    Debug.WriteLine(proc.StandardOutput.ReadToEnd());
    // There will be a really huge amount of text (at least 20 line per sw.Writeline) and
    //it impacts performance so following line is not really what I'm looking for
    Debug.WriteLine(proc.StandardOutput.ReadToEnd());
    GetAllFiles is
    a function that I've created to fetch all apk file full path. It gets two argument. First argument is path and second one is extension of file you want its full path to be fetched.
    This is not final code.
    As I've commented it out first Debug.WriteLine doesn't
    work and second one is not a good idea. how should I get output from proc?
    I have tried running process by argument and its awful :)
    As another approach :
    Because apk files are basically zip files I can extract them get what I want from them.
    There is an xml file named Androidmanifest.xml in every apk file.
    Androidmanifest.xml is like an ID card for an apk file and apk internal name can be found in it but here are some problems with this approach : 
    1. Androidmanifest.xml is not a plain text file. It's coded and it requires a lot of complexity to decode it
    2. application name (or apk internal name) is an attribute in this file and it's value is not a string value. It's a reference to a file where strings are stored and worst thing is it's not an easy to find out reference. It's just a number

    And you don't get any output from it? Maybe you're passing the arguments incorrectly?
    No. I don't get any result and I have checked arguments and it's correct.
    But you are already running a separate process for every apk file. You start a single cmd.exe and then send it commands that will cause aapt to be run for every file. Unless aapt accepts multiple apk filenames on the command line there's no way
    around using separate processes.
    I didn't know that. anyway speed in this way is much more rather than creating a function. creating a Process object in it and calling function for each apk file.
    I read somewhere that it's possible to run multiple commands in cmd by & operator but as you said I think every command runs aapt. I have tested this approach too and it's very very slow
    fastest approach I have found is what I have wrote here and speed is about  0.6 per apk file which is still slow when there is thousands of apk files.
    I tried an application that does same thing (fetching apk information) and in it's installation directory I found aapt.exe which means it uses this tool to get information but speed is significantly faster rather than my application.   
    So what's your suggestion about this? 

  • Command Line Tools installs the latest version of clang (and others) in /Library/Developer/CommandLineTools/... but not in /usr/bin/

    I've upgraded Xcode to the latest 5.1 Installed Command Line Tools via xcode-select --install Homebrew tells me "A newer Command Line Tools release is available"
    brew --config:
    Xcode: 5.1 CLT: 5.1.0.0.1.1393561416 LLVM-GCC: build 2336 Clang: 3.1 build 318
    Checking my clang executable:
    $ /usr/bin/clang --version Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
    $ /Library/Developer/CommandLineTools/usr/bin/clang --version Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
    So it appears Command Line Tools didn't install clang (and perhaps other executables) into /usr/bin? I checked my other laptop (w/ Mavericks), and /usr/bin/clang is version 5.1.
    So I'm guessing this is the problem? I've tried to reinstall Command Line Tools as sudo, but now it won't let me install again (says software isn't currently available).
    Can anyone help me with this? I've spent hours on it now, but can't find a solution.
    Thanks

    BTW, I installed Xcode 5.1 from the Store, but have never run xcode-select --install.  Here is the verbose output from a clang.
    xew ~/$:clang -v -o hello main.c
    Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
    Target: x86_64-apple-darwin13.1.0
    Thread model: posix
    "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name main.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 236.3 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/../lib/clang/5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk -fdebug-compilation-dir /Users/xew -ferror-limit 19 -fmessage-length 100 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o /var/folders/zf/d5vqmmtn5mq7h6766jtlkrvr0000gn/T/main-353995.o -x c main.c
    clang -cc1 version 5.1 based upon LLVM 3.4svn default target x86_64-apple-darwin13.1.0
    ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer /SDKs/MacOSX10.9.sdk/usr/local/include"
    ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer /SDKs/MacOSX10.9.sdk/Library/Frameworks"
    #include "..." search starts here:
    #include <...> search starts here:
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/../lib/clang/5.1/include
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/include
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk/usr/include
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk/System/Library/Frameworks (framework directory)
    End of search list.
    "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.9.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk -o hello /var/folders/zf/d5vqmmtn5mq7h6766jtlkrvr0000gn/T/main-353995.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/../lib/clang/5.1/lib/darwin/libclang_rt.osx.a
    xew ~/$:

  • How are Windows Server Backup and Command Line Tools used in vCSHB installation?

    How are Windows Server Backup and Command Line Tools used during the installation of vCSHB?  Is it required in all types of deployments (PtoV, VtoV, PtoP)? Is it used to create the files that are put in the file share for the second node to use during vCSHB installation or is it only used during a vCSHB clone operation of a Physical to Physical deployment?  Are these tools not used in some deployments?

    You need Windows Server Backup installed on source and destination, and during the installation of vCSHB the installer will invoke the wbadmin (Windows Server Backup Utility) and will backup configuration and application data (application data is optimal but can decrease the sync time after installation of secondary node). On the secondary node you will need only run the vCSHB installer and everything will be restored.
    Check this blog entry for some more info about some problems in P2P deployment: http://www.vcoportal.de/2013/12/vmware-vcenter-server-heartbeat-restore-on-a-second-node-a-journey/

  • What are the commands for compiling c++ using the command line tools for xcode?

    Hi, I am taking a class in school for c++ and i would like ot be able to practice at home i found the command line tools for xcode and went ahead and installed it on my computer. now i need to know the commands and procedure to be able to compile and run c++.

    c++ testfile.cc

  • How can I create a NetBoot image using command line tools?

    Is it possible to create a NetBoot image entirely using command line tools?
    (That is, without using the SystemImageUtility)
    If so, are there reasonable instructions posted somewhere?
    I don't believe I can use SystemImageUtility with my current setup,
    but I would be happy to hear how I could:
    I have a set of Xserve clusternodes but without optical drives or video cards.
    One node acts as the head, running DHCP, DNS, OpenDirectory, Xgrid.
    They are wired to a gigabit switch.
    I have a PowerBook connected on the subnet which has ServerAdmin Tools installed.
    I don't think when I run SystemImageUtility on my PowerBook that I can successfully image one of the clusternodes disks over the network.
    I have tried to start one node in target(Firewire) mode, connect it via Firewire
    to the head node, and run hdiutil from the head node to make a complete disk image of the clusternode's drive.
    But a NetBoot image requires the whole nbi file, right?
    Could I then use copy this disk image to my PowerBook and use SystemImageUtility on my PowerBook to create a NetBoot image from it?
    I really have tried to read the PDFs, but I found the section on System Imaging in the Command Line Reference rather unhelpful.
    Thanks for anyones help.
    dmaus
      Mac OS X (10.4.4)  

    To create a NetBoot image, you could just put the cluster node in target mode and attach it to your PowerBook. Then use SIU to create the NetBoot image.
    If you're trying to create a backup image of the disk, use hdiutil, or put in in target mode and create the image with Disk Utility.

  • Oracle Http server 11g, change ports with command-line tool

    I have installed the WLS11g webtier's Oracle Http server 11g. I installed the OH 11g only.
    The OH is runing fine with ports: non-ssl 7779 and ssl 4444
    I want to change the ssl port to 443 such that we can have the url without showing the port as https://hostname.domain/
    I have looked up the documnet http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJIFHB for "managing port".
    it states "You can change the port numbers for some Oracle Fusion Middleware components, using Fusion Middleware Control, Oracle WebLogic Server Administration Console, or *the command line*."
    Because I only installed the OH, I have no the Fusion Middleware control , admin console available for making the port change. And I cannot find out how to the command line tool to make the change.
    I followed the steps in section 5.3.2.1 Enabling Oracle HTTP Server to Run as Root for Ports Set to Less Than 1024 (UNIX Only) http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJEEJH
    And I did edit ssl.conf for port change to 443 ---- this is not documented in the document. I think because Oracle wants you to use the console to make the change.
    OH is not working after I made the change.
    Does anyone know how to use the commend line tool for making the port changes for OH11g?
    Thanks

    Hi,
    if u want to achieve it using JMX then u can try :
    http://middlewaremagic.com/weblogic/?p=613
    Using Command Line Option WLST you can do it in ONLINE Mode...like:
    Step1). Please run the ". ./setWLSEnv.sh" script to set the CLASSPATH & PATH in the shell prompt.
    <b><font color=red>NOTE:</font></b> Run the “setWLSEnv.sh” by adding two DOTs separated by a single space …..before the actual script like following : (use ‘cd’ command to move inside the <BEA_HOME>/wlserver_10.3/server/bin) then run the following command….
    *. ./setWLSEnv.sh*
    Note: the first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.
    Step2). Now in the same Shell Prompt please run the WLST Utility like following:
    <b><font color=maroon>
    java weblogic.WLST
    wls:/offline> connect()
    Please enter your username [weblogic] : weblogic
    Please enter your password [weblogic] : weblogic
    Please enter your server URL [t3://localhost:7001] : t3://localhost:7001
    Connecting to t3://localhost:7001 with userid weblogic ...
    edit()
    startEdit()
    cd ('Servers/AdminServer')
    cmo.setListenPort(9999)
    save()
    activate()
    </font></b>
    Now you NEED NOT to restart your Server to reflact these Changes....
    The Above JMX Code is also able to do it in Runtime only on the Fly.
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • How to uninstall the command line tools?

    I installed the command line tools in Xcode 4.5 from the preferences : downloads : command line tools.
    If i want to uninstall this component, what should I do?
    PS:
    I saw an answer in the Apple Support Communities about how to uninstall the Xcode 4.3 and later versions.
    This is the original: " If You want to uninstall completely XCode go to launchpad and push Xcode icon for two
    seconds, so click on the upper left checkbox.".
    I don't know what means "push Xcode icon for two seconds, so click on the upper left checkbox".

    There is no easy way to uninstall the command line tools. The following article has a script to uninstall them:
    You Don’t Need The Xcode “Command Line Tools”
    Read the comments in the article. I have not tested the script, but this is the first result when searching Google for "xcode 4.5 uninstall command line tools".

  • Command line tools for xcode??

    I am used to compiling code much like the java sdk works from terminal where I say javac the filename and then i get a .class file that i can run by doing the command java and then the .class file after. I am now wanting to learn c++ and I dont feel like installing xcode all i want is a compiler that can run from terminal. i found command line tools for xcode on the apple developers site and i was wondering do i need xcode for this to run and after that what the commands are and how i compile/run the code. But my biggest question is still wether or not i need xcode to let command line tools work. ive read in a couple places i dont need it but in other ive read you do can i get help?!

    You don't need Xcode to compile your apps with; just the compiler/linker.
    Xcode is Apple's IDE.  One could write the same code in TextEdit but that wouldn't be easy nor fun.
    (Missed it by THAT much!) 

  • How to uninstall "Command Line Tools" in Xcode 4.3?

    Just installed Command Line Tools using the perference in Xcode 4.3. After removing Xcode 4.3, I found the Command Line Tools are not removed.
    Is there any way to uninstall?
    Thanks!

    Check the 'About Xcode' readme:
    Uninstalling Xcode Developer Tools
    To uninstall Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=all
    To remove the underlying developer content on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport
    To just remove the UNIX development support on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
    Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir
    NOTE: The uninstaller that ships with previous versions of the Xcode developer tools will not clean everything off of your system properly. You should use the one installed with these Xcode developer tools.
    -=-
    If you find a black hole with the above, you could always reinstall Xcode, with those tools deselected and then delete according to the above, but all bets are off at that point, sorry
    Good luck in any case.

Maybe you are looking for

  • How to know which hard drive contains the OS in Hp Pavilion dv7-4069wm? Upgrading.

    I'm thinking about upgrading one of my hard drives (320GB ea) in my HP Pavilion dv7-4069wm laptop for more storage.  I would like to keep the drive that contains the OS to avoid the hassle of making a copy, but I'm not sure which one that is. I haven

  • Acrobat crashes when creating a PDF from a web page

    Whenever I ask Acrobat to create a PDF from a web page, it crashes halfway through the process.  Here is an example from the BBC:- http://www.bbc.co.uk/news/science-environment-19585341 Printing to PDF from the browser does not produce an accurate do

  • Streming iMac videos' sound to AX with AirPlay

    Hi everybody, I'm just wondering if I can stream the sound from any of my iTunes movies to my AirPort Express while watching the video on my screen. Kind of what you do with your iPod, where you choose where to play the sound of what you watch on you

  • Using  Weblogic app environment in Visual Age

    Hi,           I am using Weblogic as my test environment in Visual Age. I am getting alone           well with servlet and beans. But I am having enormous problem with jsp. Does           any body know how to configure weblogic test environment in Vi

  • Can I change the default folder color?

    That's my question.