Adding the man pages after a pre-built binary install on Kubuntu. #5374
jbb-socuofu
started this conversation in
General
Replies: 2 comments 1 reply
|
Just do
export MANPATH=":$HOME/.local/kitty.app/share/man"
in your shell's rc files.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I wanted the most recent version of kitty (0.25.2) on my Kubuntu laptop. Instead of the kitty 0.21.2 from the Ubuntu repo.
After installing the pre-built binaries using the curl installer command. With a Customized install location. I notice I could not pull the man pages up. I saw in the install files there where man pages so I looked up on how to update the man db to use them. I thought that other people might have a "broken" man pages. I am here posting the steps, I did to resolve the problem.
*# Create man page directories for the kitty man pages
sudo mkdir /usr/local/man/man1
sudo mkdir /usr/local/man/man5
*# Copy kitty man pages
sudo cp ~/.local/kitty.app/share/man/man1/kitty.1 /usr/local/man/man1
sudo cp ~/.local/kitty.app/share/man/man5/kitty.conf.5 /usr.local/man5
*# Compress kitty man pages
sudo gzip /usr/local/man/man1/kitty.1
sudo gzip /usr/local/man/man5/kitty.conf.5
*# Update man database
sudo mandb
All reactions