这里写自定ui义目录标题
原文: https://unix.stackexchange.com/questions/42567/how-to-install-program-locally-without-sudo-privileges
需要从源码编译.
apt-get source PACKAGE
./configure --prefix=$HOME/myapps
make
make install
这样, 生成的二进制文件会放在~/myapps/bin
所以, 只要在.bashrc
文件里加入export PATH="$HOME/myapps/bin:$PATH"
,
然后使用source ~/.bashrc
重新加载.bashrc
文件