mirror of https://github.com/wb2osz/direwolf.git
Update build instructions for cmake.
This commit is contained in:
parent
4444d3be5f
commit
c94628f547
24
README.md
24
README.md
|
@ -107,26 +107,40 @@ For more details see the **User Guide** in the [**doc** directory](https://githu
|
||||||
|
|
||||||
### Linux - Using git clone (recommended) ###
|
### Linux - Using git clone (recommended) ###
|
||||||
|
|
||||||
You will probably need to install one of these packages first:
|
***Note that this has changed for version 1.6. There are now a couple extra steps.***
|
||||||
|
|
||||||
|
A standard operating system install will probably include these already:
|
||||||
|
|
||||||
|
- git
|
||||||
|
- gcc or clang compiler
|
||||||
|
- make
|
||||||
|
|
||||||
|
You will probably need to install additional packages:
|
||||||
|
|
||||||
On Debian / Ubuntu / Raspbian:
|
On Debian / Ubuntu / Raspbian:
|
||||||
|
|
||||||
|
sudo apt-get install cmake
|
||||||
sudo apt-get install libasound2-dev
|
sudo apt-get install libasound2-dev
|
||||||
|
sudo apt-get install libudev-dev
|
||||||
|
|
||||||
Or on Red Hat / Fedora / Centos:
|
Or on Red Hat / Fedora / Centos:
|
||||||
|
|
||||||
|
sudo yum install cmake
|
||||||
sudo yum install alsa-lib-devel
|
sudo yum install alsa-lib-devel
|
||||||
|
sudo yum install libudev-devel
|
||||||
|
|
||||||
Then on any flavor of Linux:
|
Then on any flavor of Linux:
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://www.github.com/wb2osz/direwolf
|
git clone https://www.github.com/wb2osz/direwolf
|
||||||
cd direwolf
|
cd direwolf
|
||||||
make
|
mkdir build && cd build
|
||||||
|
cmake ..
|
||||||
|
make –j4
|
||||||
sudo make install
|
sudo make install
|
||||||
make install-conf
|
make install-conf
|
||||||
|
|
||||||
This should give you the most recent stable release. If you want the latest (possibly unstable) development version, use "git checkout dev" before the first "make" command.
|
This should give you the most recent stable release. If you want the latest (possibly unstable) development version, use "git checkout dev" after the "cd direwolf" command.
|
||||||
|
|
||||||
For more details see the **User Guide** in the [**doc** directory](https://github.com/wb2osz/direwolf/tree/master/doc). Special considerations for the Raspberry Pi are found in **Raspberry-Pi-APRS.pdf**
|
For more details see the **User Guide** in the [**doc** directory](https://github.com/wb2osz/direwolf/tree/master/doc). Special considerations for the Raspberry Pi are found in **Raspberry-Pi-APRS.pdf**
|
||||||
|
|
||||||
|
@ -153,7 +167,9 @@ Results will vary depending on your hardware platform and operating system versi
|
||||||
Go to the [releases page](https://github.com/wb2osz/direwolf/releases). Chose desired release and download the source as zip or compressed tar file. Unpack the files, with "unzip" or "tar xfz," and then:
|
Go to the [releases page](https://github.com/wb2osz/direwolf/releases). Chose desired release and download the source as zip or compressed tar file. Unpack the files, with "unzip" or "tar xfz," and then:
|
||||||
|
|
||||||
cd direwolf-*
|
cd direwolf-*
|
||||||
make
|
mkdir build && cd build
|
||||||
|
cmake ..
|
||||||
|
make –j4
|
||||||
sudo make install
|
sudo make install
|
||||||
make install-conf
|
make install-conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue