How do I change permisson to write on /usr/local/bin??

Hi
I'm installing a software by source (PKG-CONFIG) as needed by bluefish, however which I was doing " Make install" the terminal told me that it can't write on /usr/local/bin/pkg-config......so how do I change the permission so that I can start installing??
Thanks
Chris

Precede the install command with "sudo" and use your password (provided you are an admin). Then the insatller will have permission to write as if you are the "root" user.
eg:
$ sudo install
will run "install" as if run by root - who does have permission to write to the dir.
MacBook (BootCamp), various Macs and servers   Mac OS X (10.4.7)  

Similar Messages

  • How to change /usr/bin/grep To /usr/local/bin/grep

    Hi
    I have installed GNU Grep but when I am giving the command #which grep it is showing me solaris grep i.e /usr/bin/grep.
    My question is how do I change it to /usr/local/bin/
    Thanks in advance
    Sukrut

    You have a few options:
    1) place /usr/local/bin before /usr/bin in your PATH environment variable
    2) remove /usr/bin/grep altogether
    3) move /usr/bin/grep to something else (ie: /usr/bin/solaris/grep) and symlink /usr/bin/grep to /usr/local/bin/grep just in case any hard coded programs/scripts rely on /usr/bin/grep being present.
    I prefer step #3 since most of the various gnu utilities are virtually 100% drop-in replacements.

  • How do I add /usr/local/bin to path

    Hi.
    I have installed arch linux on a server.
    It seems really very good - manged to install latest snort-inline easily...
    However (and this is really a completely NOOB question)
    - how do I add /usr/local/bin to the default (root) path ?
    I have tried to add
    PATH=/usr/local/bin
    to /etc/enviornment
    But it did not show up when using the - env command (after re-logging in)
    I know that I could sym link to /usr/bin but i would like to know.
    Any help would be good
    Cheers
    Last edited by yossarianuk (2008-10-02 10:31:21)

    There's a place for all three of /usr/bin, /usr/local/bin, and ~/bin --- even on Arch.
    If you download package whizbang-1.2.3 from some non-Arch site, its installer will often by default try to install its files into the /usr/local hierarchy. When making a PKGBUILD, you want to tell it instead to install into $pkgdir/usr, so that when you install the resulting pkg file with pacman, it goes into the /usr hierarchy. That's what the wiki page is saying: pacman-managed stuff goes into the /usr hierarchy.
    /usr/local/* is for files you want to install systemwide without making a PKGBUILD. Your own scripts are a great example. Also you might want to install some compiled files that way, if making a PKGBUILD isn't worth it or you don't have the time to write (*and maintain!*) one.
    ~/bin is for scripts (could be compiled files too) that you want to only be available to that specific user.

  • How to put g95 in usr/local/bin?

    Hi all,
    I am trying to compile a program called elmerice.  When I type the "make compile" command, I get the following message:
    elmerf90-nosh -c Solvers/AIFlowSolve_nlD2.f90 -o Solvers/AIFlowSolve_nlD2.o
    /usr/local/bin/g95 -O5 -ffast-math -ftree-vectorize -march=nocona -fprefetch-loop-arrays -fomit-frame-pointer -fstrict-aliasing -momit-leaf-frame-pointer -falign-loops -I. -Ibinio -I/Applications/ElmerGUI.app/Contents//share/elmersolver/include -c Solvers/AIFlowSolve_nlD2.f90 -o Solvers/AIFlowSolve_nlD2.o
    /Applications/ElmerGUI.app/Contents/bin/elmerf90-nosh: line 18: /usr/local/bin/g95: No such file or directory
    I did install (I think successfully) g95 using macports, i.e. the command "sudo port install g95" but apparently it is not in /usr/local/bin, which seems to be where elmerice wants to find it.
    One complicating factor might be that /usr/local/bin does have gfortran it.
    It seems like elmerice will only use g95.  Can I put g95 in the /usr/local/bin directory from wherever I have it now, and if so, how?  Or can I just reinstall g95 in that directory?
    Thanks,

    Try creating a symbolic link from /usr/local/bin/g95 to wherever MacPorts put it. That is probably the easiest solution. Ideally, you would fix the makefile, but that wouldn't be easy.

  • How do I delete Unix scripts in /usr/local/bin/

    Well, I download a program call mpgtx (mpeg editor). After install, it put all its files to /usr/local/bin/, and there are unix scripts, mpgdemux, mpgcat..etc. So I just wander how I can delete them. Can just do rm mpg* from Terminal?
    Pls, help.

    I don't even HAVE a /usr/local/bin folder on either of my Leopard installs. One install does have a /usr/local folder, but everything in it was installed by the latest version of Privoxy, the other install doesn't have a /usr/local folder at all. So you won't mess up anything from the system. Whether you'll mess up some third party something or other you have installed only you can know. I suspect they probably don't take up much room, you could check that. If the amount of space consumed is trivial, you could just leave them.
    Francine
    Francine
    Schwieder

  • How do you change the dvd write speed in pre 11

    can i change the dvd write speed i pre 11 and if so how   thanks

    Not in Premiere Elements.
    You'll need to use Premiere Elements to burn the DVD files to a folder, and then use a program like the excellent, free ImgBurn to burn the VIDEO_TS folder to a disc at a slower speed.

  • I have OOWriter as my preferred prog.  When open my documents PAGES preempts it and makes changes I don't want.  How do I change my document writer from PAGES as the "default" program? to OOWriter as the def

    I have Open Office Writer as my preferred document program on my MAC.  When I open a document, PAGES intervenes and pre-empts it and makes changes to my OOWriter writen document.  How do I change the default program that opens Open Office Writer documents from PAGES to Open Office Writer?

    Select an OOW file/.doc/docx in Finder > Menu > Info > Open with > browse to OOW > Change all
    Peter

  • How do I change the weather icon to my local weather?

    I am new to iPhone and have 2 questions:
    1. How do I change the wether icon from Cupertino and New York to local weather?
    2. How do I remove icons from the home page that came already installed? I tried pressing and holding until they vibrate but no 'X" appears to delete them.
    Thanks!

    1. How do I change the wether icon from Cupertino and New York to local weather?
    Select the i circle icon at the bottom right.
    Select the + icon at the top right to add a city. Select the red - icon next to a city on the list to remove a city.
    Select the icon at the far right of each city to move that city up of down on the list.
    Select Done at the top right when finished.
    2. How do I remove icons from the home page that came already installed? I tried pressing and holding until they vibrate but no 'X" appears to delete them.
    The default icons cannot be removed. The default icons will not have an X to remove them. Only user created web clippings will have the X and can be removed.

  • How can I change name and password of my local network

    I have just changed to the new AirPort Time Capsule. In setting up teh network and have unsed new names and now some of the HW is not working correct. How can I change name and change the passwords

    Use Airport Utility and change them in the same way you set them up in the first place.

  • How do I change a Photobook created to "print locally" to a file that can be sent to Shutterfly?

    I created a photobook in photoshop elements 9 and selected "print locally".  Now I want to send it to a commercial printer and can't figure out how to do so.   I have checked with both Shutterfly and Costco, and they want each page sent as a separate picture....  How do I do that?

    Hi Margery J,
    You are correct, to use a commercial printer you will need to export them as individual pages. To do this, go to File --> Export Photobook:
    From there, a window will pop up: make sure "JPEG" is selected as the format and set your destination folder.
    Then click OK and you should be all set, your images will save to the selected folder. You can then upload the folder to Shutterfly, Costco or any other commercial printer to have it printed as a booklet.
    Please note that each commercial printer and service may have different quality or file format requirements.
    Here is a link to a helpful Shutterfly page about booklet printing requirements.
    http://www.shutterfly.com/digitalscrapbook/books/print_digital_scrapbook.pdf?esch=1
    Hope it helps!
    Clarice

  • How do I change a mobile account to a local account without server admin?

    Our company split into two seperate companies. We moved and the server stayed. All of our machines were on the server and had portable home directories. We no longer connect to a server. And the server we were connected to is no more. So we can't access it at all. Reinstall is not an option.
    I want to know if it's possible to change a mobile account back to a local account. Login takes FOREVER!! Is there anyway to fix this.
    Whenever I log into my administrator account on the machine, login is very quick.
    Are there some preferences I can delete or change? I went into Directory Access on my machine and unchecked the LDAPv3 and all of the other check boxes just to make sure, but it didn't have any effect.
    I also tried deleting the "Mirrors" folder, but when I log back in, it's there again.

    No one knows anything? I just thought it would be some preference file that I need to find and either change or delete.
    If anyone knows anything, please reply. The login issue is so frustrating.

  • How could I changed the permisson to allow oracle user to do FTP

    Hello All,
    I am doing FTP from sun box to SuSE linux -- /usr/local/bin/wits.
    I'd like to FTP files from Sun box--- /usr/local/bin/wits to SuSE Linux ----/usr/local/bin/wits.
    FTP
    get
    filename (remotely & locally)
    permisson deniedIt says permisson denied.
    On other hand I am able to FTP in /tmp.
    How could I changed the permisson for /usr/local/bin/wits to allow oracle user to do FTP in above directory?
    oracle@dhshrwits:/usr/local/bin> ls -l
    total 12
    -rwxr-xr-x 1 oracle root 2316 2004-08-31 22:32 coraenv
    -rwxr-xr-x 1 oracle root 2415 2004-08-31 22:32 dbhome
    -rwxr-xr-x 1 oracle root 2548 2004-08-31 22:32 oraenv
    drwxr-xr-x 2 root root 48 2004-10-01 08:38 wits
    Regards,
    D

    login as root and chown wits to oracle

  • Can I change Read and Write Permissions?

    I'm trying to get as much of my old Windows stuff onto my iMac.
    It's all stored on a Seagate 300GB External HD that is partitioned 150GB Mac and 150GB Windows NTFS. I can see and copy Folders and Files from the Windows Partition, but cannot delete once copied, this is very inconvenient as it means I have to keep unplugging the hard drive from the iMac and plugging it into my MacBook Pro (with Windoze installed) to remove the Files/Folders I have copied onto the iMac. Does anyone know how I can change the read write permissions on the Windows Partition so that I can copy then delete off it without constantly swapping computers. Thanks

    Unfortunately, this isn't a permission problem. The thing is, OS X can read NTFS partitions, but not write to them. The only filesystem that both OS X and Windows can both read and write (without third party drivers/apps anyway) is FAT32.

  • How do I change the default timezone for user calendars?

    The default timezone for new calendars is "America/New_York." How
    do I change the default timezone to my local timezone?
    To change the default timezone, perform the following steps:
    <P>
    <OL>
    <LI>Go to the bin/data/default_user_prefs.xml
    file.
    <P>
    <LI>In this file, change the values for the
    "icsTimeZone" and
    "ceSingleCalendarTZID"
    parameters. The default settings will appear something as follows:
    <P>
    <P>
    Changing these two parameters will change the timezone in the Calendar user
    interface.
    <P>
    <LI>In addition, go to the
    bin/config/ics.conf file.
    <P>
    <LI>In this file, change the value for
    calstore.default.timezoneID
    <P>
    Changing this value will enable the server to pick up the new timezones.
    </OL>
    <P>
    <B>Please note:</B> The values you enter for the above parameters must be valid
    timezones defined in the
    bin/data/timezone.ics
    file.
    <B>Related Technote:</B>
    <P>
    20000330-7: iCS 2.x: How do you change the
    default timezone in JavaScript?<BR>
    see article 4322

    Colin,
    You may substitute any text you like for the "Placeholder Text", as it is called, in Pages. Click on the existing placeholder text and type something more to your liking. Do this in as many places as your particular template of interest demands. Then, Format > Advanced > Define as Placeholder Text. Lastly, File > Save as Template.
    Now that you have defined a Custom Template to your liking, you can go to Pages Preferences and under the General tab's first section, define the new custom template as your default for each new document.
    Regards,
    Jerry

  • How can I change system icons

    Does anyone know how I can change certain system icons (e.g., Recycle Bin, Control Panel)?
    This question was solved.
    View Solution.

    When requesting assistance, please provide the complete model name and/or product number of the HP computer in question. HP/Compaq makes thousands of models of computers that are all different. Without this information it may be difficult or impossible to assist you in resolving your issue. Also indictate which operating system version is installed on your computer.
    Typically... Control Panel (All) > Personalization > Change Desktop Icons
    Please send KUDOs
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

Maybe you are looking for