Sponsored Content
Operating Systems Solaris How to link sed from /usr/bin/sed to /usr/local/bin/sed? Post 302885704 by manalisharmabe on Tuesday 28th of January 2014 04:40:21 AM
Old 01-28-2014
Hi all,

Thanks for reply.

I have downloaded GNU version of sed-4.2.2.tar.gz from this site.

Code:
ftp://ftp.gnu.org/gnu/sed

BUt I need to know how to install it.

After doing gunzip I got this in folder:-

Code:
-bash-3.2$ ls
ABOUT-NLS       COPYING         INSTALL         NEWS            THANKS          bootstrap       config_h.in     doc             po
AUTHORS         COPYING.DOC     Makefile.am     README          aclocal.m4      bootstrap.conf  configure       lib             sed
BUGS            ChangeLog       Makefile.in     README-alpha    basicdefs.h     build-aux       configure.ac    m4              testsuite
-bash-3.2$

Code:
-bash-3.2$ ls
ABOUT-NLS       COPYING         INSTALL         NEWS            THANKS          bootstrap       config_h.in     doc             po
AUTHORS         COPYING.DOC     Makefile.am     README          aclocal.m4      bootstrap.conf  configure       lib             sed
BUGS            ChangeLog       Makefile.in     README-alpha    basicdefs.h     build-aux       configure.ac    m4              testsuite
-bash-3.2$

Need to know how to install it, I also need to make sure that it is installed in /usr/local/bin.

Please advise.

Thanks

Last edited by Scrutinizer; 01-28-2014 at 07:57 AM.. Reason: addtional code tags
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/bin/sh: /usr/bin/vi: No such file or directory when doing crontab

I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Discussion started by: kwalter
3 Replies

2. Solaris

How do I link ld in /usr/ucb/ to /usr/ccs/bin?

Hi all, below is the problem details: ora10g@CNORACLE1>which ld /usr/ucb/ld ora10g@CNORACLE1>cd /usr/ccs/bin ora10g@CNORACLE1>ln -s /usr/ucb/ld ld ln: cannot create ld: File exists ora10g@CNORACLE1> how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies

3. UNIX for Dummies Questions & Answers

Alias /usr/bin to /bin in profile

Hi! All the basic linux commands, ie. echo, find, etc, are located in /bin. I have a couple of programs that have these commands pointed towards /usr/bin, ie, /usr/bin/echo (even though the actual 'echo' command is in /bin). How can I alias or redirect or link the /usr/bin to /bin just for this... (6 Replies)
Discussion started by: dancerat
6 Replies

4. Solaris

Questions about /usr/local/bin & scripts.

Hi gentlemen. For what intended is the directory /usr/local/bin? In this directory are some script. I don't understand how these scripts being in this directory are started. Each time after registration of the user occurs start of these scripts. These scripts start applications. (7 Replies)
Discussion started by: wolfgang
7 Replies

5. OS X (Apple)

When to use /Users/m/bin instead of /usr/local/bin (& whats the diff?)?

Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself. But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies

6. Solaris

What is the difference between xpg4/bin and usr/bin?

Hi Experts, I found that the same commands(sort, du, df, find, grep etc.) exists in both dir. What is the difference to use them? i.e: to use xpg4/bin/grep and usr/bin/grep My OS version is SunOS 5.10 Regards, Saps (7 Replies)
Discussion started by: saps19
7 Replies

7. AIX

/usr/local/bin/cvs: Not found

I can able to access /usr/local/bin/cvs in the terminal (AIX 6.1 Box). but i am getting the "/usr/local/bin/cvs: Not found " when i call it from the script. please some one assist me what maybe problem (6 Replies)
Discussion started by: hifirockz
6 Replies

8. Shell Programming and Scripting

/usr/local/bin/expr function not working

Legends, I am not able to set "expr" function in ksh script. Below is the sample code i used, and output is as "Syntax error" Please help me to come out of it. OUTPUT (9 Replies)
Discussion started by: sdosanjh
9 Replies

9. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
AUTOMAKE(1)							   User Commands						       AUTOMAKE(1)

NAME
automake - manual page for automake 1.13.4 SYNOPSIS
automake-1.13 [OPTION]... [Makefile]... DESCRIPTION
Generate Makefile.in for configure from Makefile.am. Operation modes: --help print this help, then exit --version print version number, then exit -v, --verbose verbosely list files processed --no-force only update Makefile.in's that are out of date -W, --warnings=CATEGORY report the warnings falling in CATEGORY Dependency tracking: -i, --ignore-deps disable dependency tracking code --include-deps enable dependency tracking code Flavors: --foreign set strictness to foreign --gnits set strictness to gnits --gnu set strictness to gnu Library files: -a, --add-missing add missing standard files to package --libdir=DIR set directory storing library files --print-libdir print directory storing library files -c, --copy with -a, copy missing files (default is symlink) -f, --force-missing force update of standard files Warning categories include: gnu GNU coding standards (default in gnu and gnits modes) obsolete obsolete features or constructions override user redefinitions of Automake rules or variables portability portability issues (default in gnu and gnits modes) extra-portability extra portability issues related to obscure tools syntax dubious syntactic constructs (default) unsupported unsupported or incomplete features (default) all all the warnings no-CATEGORY turn off warnings in CATEGORY none turn off all the warnings error treat warnings as errors Files automatically distributed if found (always): ABOUT-GNU INSTALL config.rpath ltconfig ABOUT-NLS NEWS config.sub ltmain.sh AUTHORS README depcomp mdate-sh BACKLOG THANKS install-sh missing COPYING TODO libversion.in mkinstalldirs COPYING.DOC ar-lib ltcf-c.sh py-compile COPYING.LESSER compile ltcf-cxx.sh texinfo.tex COPYING.LIB config.guess ltcf-gcj.sh ylwrap ChangeLog Files automatically distributed if found (under certain conditions): acconfig.h config.h.bot configure configure.in aclocal.m4 config.h.top configure.ac stamp-vti AUTHOR
Written by Tom Tromey <tromey@redhat.com> and Alexandre Duret-Lutz <adl@gnu.org>. REPORTING BUGS
Report bugs to <bug-automake@gnu.org>. GNU Automake home page: <http://www.gnu.org/software/automake/>. General help using GNU software: <http://www.gnu.org/gethelp/>. COPYRIGHT
Copyright (C) 2013 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for automake is maintained as a Texinfo manual. If the info and automake programs are properly installed at your site, the command info automake should give you access to the complete manual. automake 1.13.4 June 2014 AUTOMAKE(1)
All times are GMT -4. The time now is 02:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy