Let's call this directory 'source_dir' (where this INSTALL file is).
Before starting, create another directory which we will call
'build_dir'.
Do:
1 2 3
cd build_dir cmake source_dir make install
The "make install" step may require administrator privileges.
You can adjust the installation destination (the "prefix") by passing
the -DCMAKE_INSTALL_PREFIX=myprefix option to cmake, as is explained in
the message that cmake prints at the end.
删除
If you have a manifest file which lists all the files that were
installed with make install you can run this command which I have from
another answer:
1
cat install_manifest.txt | xargs echo rm | sh
If you have sudo make install you will need to add a sudo to your
uninstall:
1
cat install_manifest.txt | xargs echo sudo rm | sh
#本地服务开启 hexo server INFO Hexo is running at http://0.0.0.0:4000/. Press Ctrl+C to stop.
可以通过ip:4000查看到默认页面。
安装Dropbox
32-Bit:
1
wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -
64-Bit:
1
wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
接着,从新建的 .dropbox-dist 文件夹运行 Dropbox 守护程序。
1
~/.dropbox-dist/dropboxd
Next we will download the command line management script. This script
requires Python, so make sure you have it installed. You can see if
Python is installed with python -V