Skip to content

Commit

Permalink
Merge pull request alibaba#443 from szepeviktor/patch-2
Browse files Browse the repository at this point in the history
genius work!
I feel it now more attractive
Thank you very much
  • Loading branch information
Chuanwen Chen committed Apr 29, 2014
2 parents 0317160 + b83c206 commit 7bf8808
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions packages/debian/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
Installation
===

## build the deb package
1. install some basic packages
> aptitude install build-essential debhelper make autoconf automake patch dpkg-dev fakeroot pbuilder gnupg dh-make libssl-dev libpcre3-dev

```
aptitude install build-essential debhelper make autoconf automake patch \
dpkg-dev fakeroot pbuilder gnupg dh-make libssl-dev libpcre3-dev
```

2. build package
change to source directory
> mv packages/debian/ .
> export DEB_BUILD_OPTIONS=nocheck; dpkg-buildpackage -rfakeroot -uc -b
change to source directory

```
mv packages/debian .
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -uc -b
```

## install the deb package
replace the deb name with the current version

## install the deb package
> sudo dpkg -i tengine_2.0.2-1_amd64.deb
```
sudo dpkg -i tengine_2.0.2-1_amd64.deb
```

0 comments on commit 7bf8808

Please sign in to comment.