You are not logged in.
Pages: 1
Hi
In a core install, I noticed that the man pages are missing. How do I install them? And I mean the man pages plus those ones that are part of the programming in C functions.
Also ... what's the name of the package which contains such usefull programs as strace and string?
Last edited by Bangel (2008-03-02 13:49:37)
Offline
Are you sure man pages are missing and not that you haven't moved /etc/profile.pacnew to /etc/profile (after replicating any changes you made to /etc/profile...)?
Last edited by Allan (2008-03-02 13:55:59)
Offline
Well, I was just looking into this now. Did a search on the forum and found the answer. It was the unset MANPATH problem. Solved it and works like a charm
Offline
Okay, im not sure about which stuff to merge from profile.pacnew to profile apart from unset MANPATH.
#
# /etc/profile
#
export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"
export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="latin1"
export INPUTRC="/etc/inputrc"
export LESS="-R"
export LC_COLLATE="C"
export COLUMNS LINES
export PS1='[\u@\h \W]\$ '
export PS2='> '
umask 022
if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "xterm-xfree86" ]; then
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
fi
# load profiles from /etc/profile.d
# (to disable a profile, just remove execute permission on it)
if [ `ls -A1 /etc/profile.d/ | wc -l` -gt 0 ]; then
for profile in /etc/profile.d/*.sh; do
if [ -x $profile ]; then
. $profile
fi
done
unset profile
fi
# End of file
File: /etc/profile.pacnew
# Note the explicit use of 'test' to cover all bases
# and potentially incompatible shells
#Determine our shell without using $SHELL, which may lie
shell="sh"
if test -f /proc/mounts; then
case $(/bin/ls -l /proc/$$/exe) in
*bash) shell=bash ;;
*dash) shell=dash ;;
*ash) shell=ash ;;
*ksh) shell=ksh ;;
*zsh) shell=zsh ;;
esac
fi
# Load shell specific profile settings
test -f "/etc/profile.$shell" && . "/etc/profile.$shell"
#Set our umask
umask 022
# Set our default path
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
export PATH
# Some readline stuff that is fairly common
HISTSIZE=1000
HISTCONTROL="erasedups"
INPUTRC="/etc/inputrc"
LESS="-R"
LC_COLLATE="C"
export HISTSIZE HISTCONTROL INPUTRC LESS LC_COLLATE
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -x $profile && . $profile
done
unset profile
fi
# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP
# Man is much better than us at figuring this out
unset MANPATH
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline
It does not look like you added anything to /etc/profile so just replace it with /etc/profile.pacnew
Last edited by Allan (2008-03-04 03:23:57)
Offline
After an update "man" found missing from the system. pacman -U /var/cache/pacman/pkg/man-1.6f-2-i686.pkg.tar.gz solved this. (Which and find did not get the location of man executable). This may help any one facing the same issue.
Offline
Pages: 1