aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhumphreylin <[email protected]>2019-09-04 15:25:35 +0800
committerhumphreylin <[email protected]>2019-09-04 15:25:35 +0800
commit8cc55bca7578dd9acad1e106b9f26400ce761f95 (patch)
tree1eb70cd966f673ea0fb14e28d4f11a9519c2a533
parentec57a905f7888e05b1a5769fc93665a670f44133 (diff)
downloaddotfiles-8cc55bca7578dd9acad1e106b9f26400ce761f95.tar.gz
dotfiles-8cc55bca7578dd9acad1e106b9f26400ce761f95.tar.bz2
dotfiles-8cc55bca7578dd9acad1e106b9f26400ce761f95.zip
add the install of ctags in install
-rw-r--r--install.sh24
1 files changed, 21 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index b366afe..2031187 100644
--- a/install.sh
+++ b/install.sh
@@ -19,16 +19,34 @@ usage() {
base_install() {
echo "--------- Install Base Packages Now ---------"
if command -v apt > /dev/null; then
- apt update
- apt upgrade
+ apt update
+ apt upgrade
apt install git \
curl \
cmake \
build-essential \
python3-dev \
autojump \
- zsh
+ zsh \
+ gcc \
+ make
fi
+
+ # Universal Ctags
+ apt install pkg-config autoconf automake \
+ python3-docutils \
+ libseccomp-dev \
+ libjansson-dev \
+ libyaml-dev \
+ libxml2-dev
+ git clone [email protected]:universal-ctags/ctags.git
+ (
+ cd ctags
+ ./autogen.sh
+ ./configure
+ make
+ make install
+ )
}
get_dotfiles() {