384 Star 1.9K Fork 1K

GVPApolloAuto / apollo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
apollo_software_installation_guide_package_method.md 3.83 KB
一键复制 编辑 原始数据 按行查看 历史
KAndHisC 提交于 2023-02-01 07:07 . typo

Installation - Package Method

This article introduces how to install Apollo using the package (deb package) method. The package method is faster and requires no compilation. However, there is only one environment supported, so if you want to install in a custom environment, please refer to source installation method.

This article assumes that the user has a basic working knowledge of Linux.

Step 1: Install the base software

1. Install Ubuntu Linux

For steps to install Ubuntu 18.04+, see the official installation guide

Note: While other distributions of Linux may be fine, we have only tested Apollo on a pure Ubuntu System, Ubuntu 18.0.5 LTS (Bionic Beaver), so we recommend that you use Ubuntu 18.04.5 as the host OS.

To update the software after installation:

sudo apt-get update
sudo apt-get upgrade

Note: To complete the update, you need to ensure that you can access the network.

2. Install Docker Engine

Apollo relies on Docker 19.03+. To install the Docker engine, see install Docker Engine on Ubuntu

Step 2: Install Apollo environment manager tool

The Apollo environemnt manager tool is a command line tool for developers to manage and launch apollo environment containers.

1. Add apt source

Add apt source and key:

sudo bash -c "echo 'deb https://apollo-pkg-beta.cdn.bcebos.com/neo/beta bionic main' >> /etc/apt/sources.list"
wget -O - https://apollo-pkg-beta.cdn.bcebos.com/neo/beta/key/deb.gpg.key | sudo apt-key add -
sudo apt update

2. Install apollo-env-manager

Run the following command to install apollo environment manager tool:

sudo apt install apollo-neo-env-manager-dev

If successful, you can use it directly

aem -h

For more detailed usage of aem, please refer to the Apollo Environment Manager documentation.

Step 3: Start and enter apollo env container

1. Create workspace

Create a directory as a workspace

mkdir application-demo
cd application-demo

2. Start apollo env container

aem start

Note: The default environment image contains gpu-related dependencies. If you want to start the container as a gpu, you can use the start_gpu subcommand.

If everything works, you will see a prompt similar to the one below:

container started

3. Enter apollo env container

aem enter

After successful execution of the command, the following message will be displayed and you will be in the Apollo runtime container.

user_name@in-dev-docker:/apollo_workspace$

The workspace folder will be mounted to path /apollo_workspace of container.

4. Initialize workspace

aem init

Now, the apollo environment manager tool installed and apollo env container launched, please follow the Launch and run Apollo documentation to run apollo or follow the QuickStart documentation to install different modules as needed for different usage scenarios

C++
1
https://gitee.com/ApolloAuto/apollo.git
git@gitee.com:ApolloAuto/apollo.git
ApolloAuto
apollo
apollo
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891