[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash

From: Bob Proulx
Subject: Re: Bash
Date: Wed, 27 Apr 2011 22:04:51 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

David Barnet wrote:
> I am new to Ubuntu and Linux. I am trying to install Bash Shell

If you are new then the easiest way is to use the package manager to
install the software distribution's bash package.  Something like the
following will invoke sudo to get the access privilege and then APT to
install the bash package.

  $ sudo apt-get install bash

But I think it likely that bash is already installed on your system.

> and I get this error and cannot find a solution. When I type make
> install I get this error. If you can give a direction to head in to
> correct this, i would appreciate it. thanks
> mkdir -p -- /usr/local/share/man/man1
> mkdir: cannot create directory `/usr/local/share/man/man1': Permission denied
> make: *** [installdirs] Error 1

On Ubuntu the /usr/local directory tree is writable only by the
systems superuser account.  In order to install you would need to use
the 'sudo' command there.

However if you are not familiar with permissions then I feel it is
safer to install into your $HOME directory instead.  Then you don't
need superuser access.

To set this up add the --prefix=$HOME option to configure.

  $ ./configure --prefix=$HOME
  $ make
  $ make check
  $ make install

That will set up to install into $HOME/bin/ and $HOME/share/man/man1/
and so forth.  Since this will be in your home directory you will have
permission for the action.  Until you are more familiar with system
users, groups and permissions this is the safer course of action.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]