Updating preinstalled UNIX tools

Dear all,
I am using UNIX tools such as svn on several machines including Solaris servers and when installing from the source on the server I realized that the version of svn shipped with Mac OS X Leopard 10.5.6 is quite outdated.
I used fink to compile an up to date version and set a symbolic link in /usr/bin to the new svn executable.
It works fine. How I saw that also the sqlite3 client is kind of old and I also would like to update this. I could take the same route, but I do not feel good about changing stuff in system folders like /usr/bin. I have the bad feeling that it could hit me later when updating the OS or so.
Is there an alternative, clean and recommended way to update command line tools shipped with the OS?
Thanks
Thomas

bash is still bash, and PATH is still PATH
The changes Apple has made relate more to traditional admin stuff, not the basic interactive terminal environment.
And of course every Unix implementation by a different vendor has different admin stuff (which is why POSIX and X/Open have not created a standard for it), each implementation has its own driver implementations, they all seem to have their own special file system implementations, etc... But the shells are generally cross platform, and while some variation on which options are supported, most core Unix commands are available across all platforms (bash, ksh, zsh, sh, csh, tcsh, being a part of that group).
While I'm sure you will run into some hiccups from what you know about a previous Unix experience, you will also find that for the most part the Unix side of Mac OS X is extremely familar (especially if you come from a BSD Unix background).
The best source for additional already ported Mac OS X Open Source packages is fink.sf.net (which you already know about), and MacPorts.org (which I favor these days).
And as has been pointed out, DO NOT mess with Mac OS X installed versions, you could break a Mac maintenence script, a Mac update, or some other Open Source package ported to Mac OS X that depended on the Mac OS X installed standard tool, which you changed. Rather just mess with your own account's PATH.

Similar Messages

  • Error in updating DPS Desktop Tools CS6 32.0.0 and Photoshop Camera Raw 8.7.1 (CS6)

    When I tried to update DPS Desktop Tools CS6 32.0.0 and Photoshop Camera Raw 8.7.1 (CS6) in Adobe Photoshop I get the following errors in the error log:
    DPS Desktop Tools CS6 32.0.0 Update
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I208
    Photoshop Camera Raw 8.7.1(CS6)
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I216
    I purchased Adobe Creative Suite with my Mac so I have an installed version.  I have tried rebooting, but to no avail.  When I search for help on the site, none of the help explanations fit (e.g., delete a folder that doesn't exist on my computer).  I have a 27 inch iMac running OS X Yosemite version 10.10.1.  Thanks.

    Sscrase what specific error messages did you receive within the installation log files for the update?  You can find details on how to locate and interpret the installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.

  • Is it possible to re-use Unix tools?

    Hi I have done some programming in C on Linux, lately I had some ideas for Mac apps and now I had some questions...
    I suppose I'll had to learn Obj-C and Cocoa as that's the standard tool for programming on Mac? Now, what about Unix tools it came with, can I reuse it to some degree? I believe some GUI Tools that OS X came with reuses stuff from Darwin... like how Disk Utility uses diskutil...
    So I am wondering, if I want to start programming, what should I learn first? As I said I am comfortable with C and coming from Linux background, I know a fair a bit about Unix, shell script, cron jobs, etc... but I like to know what's the way to make GUI Apps on OS X that possibly reuses functionality from Darwin Unix tools? Like, does Cocoa provides this functionality or?
    And I do have set aside some money to invest in a Cocoa book or something.
    Thanks.
    Message was edited by: Sunnnz
    Message was edited by: Sunnnz

    Sunnnz,
    One option is to use standard C calls to execute other command line tools, such as system(), fork()/exec(), popen()/pclose().
    But if your intent is to build full fledged GUI applications then you probably will need to learn some of the other APIs and frameworks. Cocoa gives you NSTask that wraps much of the complexity of executing other tools into an Objective-C class.
    AppleScript (using Script Editor) provides a "do shell script" command that can be used to execute shell scripts or command line tools from within your AppleScripts. However, plain vanilla AppleScript doesn't give you very much versatility for creating a GUI interface for your application.
    But, you can also use AppleScript Studio (within Xcode). AS Studio merges AppleScript with Cocoa interface components and allows you to easily create fairly complex GUI applications that wrap calls to command line tools (using "do shell script").
    One drawback of using "do shell script" within AppleScript or AS Studio is that you can't create an interactive session with the tool you launch. In other words, "do shell script" expects the tool it runs to run to completion before the "do shell script" call returns control to your AppleScript. In many cases this is not a problem since you can pass the tool or shell script all the command line options it needs and then get the result of the execution back into an AppleScript variable. But if your app truly needs to interact with the other process while it's running then you'll have to use something like Cocoa's NSTask or the lower level C functions mentioned above.
    Steve

  • Use of XVFB Unix tool

    we have got a Java application deployed on a WAS 6.40 SP13 and we want to use the server unix tool xvfb for displaying drawings in the browser of the users.
    In a previous step we have got this application running on a IPlanet server and we added these 2 lines:
    DISPLAY=:1.0; export DISPLAY
    /usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &
    in the start file of the application of the IPlanet server.
    So my question is: where can i add these lines in a J2EE project developped with SAP Developer Studio to use the tool ?
    Thank in advance,
    Eric.

    Hi
    RWD uPerform records your actions in Microsoft Windows,web-based, and enterprise applications, and outputs a professionally formatted document and simulation. You can capture screens, buttons, edit fields, and more in the target application.
    The recording process captures information to simultaneously produce both a simulation view and a document view of procedural content.
    RWD uPerform captures actions in the following target applications:
    ❐ Standard Microsoft Windows and web browser applications: Support for these
    applications is provided in the uPerform base recorder. Application adherence to
    World Wide Web Consortium (W3C) and Microsoft Windows standards will
    determine the consistency and quality of recording. Due to the technology involved in
    recording, the DOS command window cannot be recorded.
    ❐ SAP: Support for SAP applications is provided in the uPerform SAP plug-in recorder.
    ❐ Oracle: Support for this application is provided in the uPerform Oracle plug-in
    recorder.
    ❐ PeopleSoft: Support for this application is provided in the uPerform PeopleSoft plugin
    recorder.
    ❐ Citrix: In addition, support for applications in the Citrix Presentation Server 4.5
    environment is also available.
    Regards
    Manish Bansal

  • Using Unix tools with Oracle on Windows

    I currently have an Oracle database installed on Windows, but would like to use Unix scripting tools and commands when connecting with my database.
    Can anyone advise a good way to configure my system so that I can connect to my database from a Unix-like system?
    Thanks in advance!

    If getting a unix like system installed is not feasible (or is not an option), use this:
    http://cygwin.com/
    http://www.cygwin.com/mirrors.html
    This is not exactly like running unix tools against the Oracle db, but allows you access to unix type shell for almost all of your unix shell scripting needs.
    Message was edited by:
    Kamal Kishore

  • Why after the last Photoshop CC Update the Lasso Tool not more have the Backspace step backward -Fun

    Why after the last Photoshop CC Update the Lasso -Tools not more have the Backspace-last-point-step-backward -Funktion?? This is terrible!!
    So i can not work more. Please change immediately with a next update!! Please..

    Good day!
    This is a user to user Forum, so you are not really addressing Adobe here, even though some Adobe employees thankfully have been dropping by.
    Also I can not reproduce the issue you claim to have with 14.2 on Mac OS 10.8.5.
    What is your OS?
    Regards,
    Pfaffenbichler

  • Can't update DPS Desktop Tools CS6

    Tried to update DPS Desktop Tools CS6 in Windows8. I get the error to close the creative cloud connection.exe program to proceed but can't find how to close it. I tried openning it and clicking the X in the window but that doesn't do it.
    If this is a stupid user issue I appologize in advance.
    thanks
    Wm

    I am on Windows 7 and have the same issue with updating DPS Tools. I tried the above steps given by Nancy and still can't get the update to install. Any other suggestions for killing CC Connection?
    My screen when trying to install:

  • Problems with QuickTime 7.1.2 update and Pro Tools

    Having issues wiht the new QuickTime update and my studio recording software. Is there anyway to backout of update? Pro Tools is telling me that this is an error from Apple with the newest update. My thought this related to have an old MAC e.i. not Intel and Apple is not taking care of there older users. A lot of my music software is not working correctly now. What can I do? Please help..

    Often in upgrading the OS, QT or FCP for some odd reason QT will get knocked slightly off kilter. Before doing the step back to 6.5.2, try a complete QT reinstall.
    This is how:
    Go to /library/receipts and delete any files that say Quicktime followed by a number e.g. Quicktime703.pkg
    Go to the Apple quicktime site and download the appropriate version of Quicktime to your hard drive.
    Run the Quicktime installer.
    Repair Disk Permissions for your System Disk (Disk Utility > Select the system disk > Repair Disk Permissions)
    Reboot
    FWIW, FCP4.5 can run without issue under 10.4.x and QT7, but it is VERY stable under 10.3.9 and QT6.5.2.
    Good luck.
    x

  • Install "Make" and other unix tools on 10.5

    I am new to Macbook but accustomed with other unix computers.
    I want to have unix tool "make" available on Mac 10.5.
    Where can I download this and other tools? Are there pre-built binary distributions?

    xcode sounds like a helpful hint, thanks.
    Now the box with the installation media is here, while my wife and the computer are abroad for a few weeks. Can this xcode be installed by download from somewhere?
    (Of course I tried to enter "xcode" in the top right search box on this webpage, but I end up at a server error page not found page (does apple's own search function not create correct links?).)

  • Update Server Admin Tools 10.6.3 to 10.6.8

    I just discovered that some of my Techs never updated Sever Admin tools since 10.6.3.
    We have 10.6.8 servers so that isn't good!
    I downloaded the 10.6.8 Server Admin Tools DMG and have tried to update the 10.6.3 Server Admin Tools. (10.6.8 clients)
    However the update doesn't work. WGM will still say 10.6.3 and Server Admin says 10.6.5.
    I have tried trashing the whole Server folder too.
    I'm wondering if I have to update to like 10.6.5 1st or is it someting else entirely?
    Thanks!

    Easiest Confirmation: match the versions of the server tools against what's installed on the OS X Server box.
    AFAIK, the Server Tools client software usually updates through Software Update once it's been installed, so I'm not sure why you're seeing old versions.
    Or if you're seeing old versions, for that matter - I just checked a current 10.6.8 OS X Server box, and the installed version of WGM is listed as: Version 10.6.3 (361.3.1)
    Looks like you're current.

  • IPhone SDK Beta and Unix Tools

    Does anyone know how to compile Unix tools for the iPhone with the SDK? All I seem to be able to find is, "install the toolchain". That doesn't help.
    Specifically, I'd like to compile ettercap-ng. I know ettercap has ARM sources and even an ARM .deb in the apt-get repo (for debian). Given all that, it shouldn't be hard to do.
    I've already got some dev tools on my actual iPhone, and I can use a terminal emulator to issue the compile and make commands.
    I'm trying to compile ettercap-NG 0.7.3, and every time I do, (cd /{ettercap source here} && ./configure) I get:
    checking whether make sets $(MAKE)... (cached) yes
    checking how to run the C preprocessor... /lib/cpp
    configure: error: C preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.
    Seeing as that's as far as I seem to be able to get on the actual handset, does anyone know how to use the SDK on a MacBook (Leopard 10.5.3 so on and so forth) to do it, and then transfer it over?

    Mark, You have to be a registered iPhone developer to have the beta level firmware that allows direct access to the iPhone via the SDK. As far as accessing the BSD file structures the only way AFAIK thats currently possible is to hack the phone. And of course we cannot discuss that on this forum....
    Try over here: http://www.appstoredeveloper.com/forum/index.php?sid=fdd5a5f29c264bd57440ba989ee 4b054
    or here: http://www.modmyifone.com/forums/iphone-ipod-touch-sdk-development-discussion/

  • Re: Changes to System Update and related tools - Please read

    Andy,
    Back on April 1, in post 14 in this thread, I noted that there isn't a sticky at the top of the forum sections for each system, directing users to this thread.
    The problem I noted in my post was never responded to.
    You have very recently moved a post from another section of these forums into this thread. 
    Why isn't there a sticky at the tops of all the forum sections for all systems, directing users to this thread? 
    Jenifur Charne
    Lenovo 3000 N200 0769A64 owner.

    JeniSkunk wrote: Most users don't think to look for answers outside of their particular system type when experiencing a problem on their system, so claiming that they ought to search on a wider range of areas is unlikely to occour to them.
    That's why we leave a place holder. If you wish to continue this discussion please take it to Forum Housekeeping, where it belongs in the same way posts regarding Changes to system Update and related tools belong here.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • How to accomplish these Updates with the Tool?

    How to accomplish these Updates with the Tool?
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'X'
    WHERE STATE_CODE IN ('AE', 'AP', 'AA', 'MP', 'GU', 'PW', 'FM', 'MH');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'E'
    WHERE STATE_CODE IN ('CT', 'DC', 'DE', 'GA', 'MA', 'MD', 'ME', 'MI', 'NC', 'NH', 'NJ', 'NY', 'OH', 'PA', 'PR', 'SC', 'VA', 'VI', 'VT', 'WV');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'M'
    WHERE STATE_CODE IN ('AZ', 'CO', 'MT', 'NM', 'UT', 'WY');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'P'
    WHERE STATE_CODE IN ('CA', 'NV', 'WA');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'H'
    WHERE STATE_CODE IN ('HI');
    commit;
    UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
    SET TIME_ZONE = 'A'
    WHERE STATE_CODE IN ('AK');
    commit;
    Thanks,
    Carol-Ann

    Good morning Carol-Ann,
    * Pick table operator for table TIME_ZONE_BY_STATE_TYPE twice, once as source and once as target.
    * Pick an expression operator.
    * Drag STATE_CODE as input to expression
    * Create output column TIME_ZONE in outgroup
    * With the attribute properties of this output, choose Expression
    * Enter here a case statement 'translating' all state_codes to time_zones, e.g. CASE
    WHEN INGRP1.STATE_CODE  IN ('AE', 'AP', 'AA', 'MP', 'GU', 'PW', 'FM', 'MH')
    THEN 'X'
    WHEN INGRP1.IN ('CT', 'DC', 'DE', 'GA', 'MA', 'MD', 'ME', 'MI', 'NC', 'NH', 'NJ', 'NY', 'OH', 'PA', 'PR', 'SC', 'VA', 'VI', 'VT', 'WV')
    THEN 'E'
    etc.
    END* Map this output column to TIME_ZONE column of target
    * Set Loading Type of target to Update, choose No Constraints.
    Hope this helps.
    Regards, Patrick

  • Software Update through UNIX command

    Hey all,
    Just a quick question regarding Software Update through Remote Desktop.
    I'm running the UNIX command softwareupdate -i -a but it hang. I'm guessing it's due to our proxy, and that we have to login to the proxy server in order for the system to continue fetching the updates.
    Basically, what I'm asking is if there is a way to bypass this, i.e. a command to follow the systemupdate -i -a command which will log me into the proxy?
    Cheers,
    Nick

    Hi.
    I tried the command:
    defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://ip.address.of.server:8088/
    softwareupdate -i -a
    but all I get back is this:
    2011-02-04 12:16:14.482 defaults[874]
    Rep argument is not a dictionary
    Defaults have not been changed.
    /bin/bash: line 2: http://xx.xxx.xx.xxx:8088: No such file or directory
    Software Update Tool
    Thanks for your help so far. Much appreciated.

  • Software Update via Unix command but get updates from my OS X server?

    I have a OS X server which I use to manage how software update runs on the clients. Currently when you run software update from the client it connects to the server and downloads what it needs which is much faster than downloading it via the internet each time.
    now, I would like to run a unix command via ARD that would run software update against the local server. Does anyone know the correct syntax for this? Running softwareupdate -l -a does not work. Thanks

    I'm also in the process of getting my Xserve setup as an internal software update server. I haven't gotten to the point of testing this yet, but I was under the impression that once the clients were managed, any software update command would force the clients to retrieve their updates from your internal server as specified in the MCX settings.
    I have a OS X server which I use to manage how software update runs on the clients. Currently when you run software update from the client it connects to the server and downloads what it needs which is much faster than downloading it via the internet each time.
    When you say that currently when you run software update from he client it connects to the server and downloads updates, are you referring to running the graphical Software Update tool?

Maybe you are looking for

  • HT1351 Syncing music with multiple devices on one account

    Hi, I cannot seem to sync music onto the iPod Touch I've bought my son for Xmas. Even though the iTunes account is showing as completed, the iPod itself still has all of the songs that I don't want on there. I'm using my own account btw.  Please help

  • Issue in accounting in Import Procurement

    Dear Gurus, Sorry if this is oft repeated issue. My first post here. I was configuring my import procurement for Kenya ( where there is no excise) and set up a different calculation schema for my overseas suppliers. Now my question is my customs duty

  • Using RichOutputText value in a java class

    Hi to everybody. I'm using Jdeveloper 11g and I'm developing an application that shows a tree in a jsp page. The java class that implements tree component need to receive a value written in a RichOutputText in the same Jsp page. Is it possible to do

  • Change the Logo in iStore Home page

    All, Can any one tell the process to place the custom logo in iStore home page ??? Thanks in advance

  • Coding Decisions in Downloading report to CSV via button

    A new enhancement ( insert the report criteria in the csv file) has been requested for our apex application. I found this example which is pretty good and does just what I want. [how to download via a button|http://forums.oracle.com/forums/thread.jsp