Update Linux Guide.md

moarrr changes
This commit is contained in:
samvaio 2016-11-11 17:03:46 +05:30 committed by GitHub
parent 1005ba4acf
commit ef5b0a358d

View File

@ -63,9 +63,11 @@ If you are running Ubuntu 16.10, follow these before installing .NET CORE:
**NOTE:** If you are running **UBUNTU 14.04**, you must run these first: **NOTE:** If you are running **UBUNTU 14.04**, you must run these first:
```sudo add-apt-repository ppa:mc3man/trusty-media ```
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update sudo apt-get update
sudo apt-get dist-upgrade``` sudo apt-get dist-upgrade
```
**Before executing:** `sudo apt-get install ffmpeg` **Before executing:** `sudo apt-get install ffmpeg`
@ -76,9 +78,11 @@ sudo apt-get dist-upgrade```
In case you are not able to install it with **installer**, follow these steps: In case you are not able to install it with **installer**, follow these steps:
```sudo apt-get update ```
sudo apt-get update
echo "deb http://ftp.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/debian-backports.list echo "deb http://ftp.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/debian-backports.list
sudo apt-get update && sudo apt-get install ffmpeg -y``` sudo apt-get update && sudo apt-get install ffmpeg -y
```
####Installing TMUX ####Installing TMUX
@ -86,8 +90,8 @@ sudo apt-get update && sudo apt-get install ffmpeg -y```
####Getting NadekoBot ####Getting NadekoBot
```cd ~ `cd ~
curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_installer.sh | sh``` curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_installer.sh | sh`
####Setting up and Inviting bot ####Setting up and Inviting bot
@ -160,10 +164,14 @@ Open **PuTTY** and login as you have before, type `reboot` and hit Enter.
- If [Nadeko installer](http://nadekobot.readthedocs.io/en/1.0/guides/Linux%20Guide/#getting-nadekobot) shows errors, try manual installing: - If [Nadeko installer](http://nadekobot.readthedocs.io/en/1.0/guides/Linux%20Guide/#getting-nadekobot) shows errors, try manual installing:
```cd ~ && git clone -b 1.0 --recursive --depth 1 https://github.com/Kwoth/NadekoBot.git ```
cd ~/NadekoBot/discord.net/src/Discord.Net && dotnet restore && cd ../Discord.Net.Commands && dotnet restore && cd ../../../src/NadekoBot/ && dotnet restore && dotnet build --configuration Release``` cd ~ && git clone -b 1.0 --recursive --depth 1 https://github.com/Kwoth/NadekoBot.git
cd ~/NadekoBot/discord.net/src/Discord.Net && dotnet restore && cd ../Discord.Net.Commands && dotnet restore && cd ../../../src/NadekoBot/ && dotnet restore && dotnet build --configuration Release
```
- If you still get some errors using the above steps: - If you still get some errors using the above steps:
```cd ~/NadekoBot/discord.net && dotnet restore -s https://dotnet.myget.org/F/dotnet-core/api/v3/index.json && dotnet restore ```
cd ~/NadekoBot/src/NadekoBot/ && dotnet restore && dotnet build --configuration Release``` cd ~/NadekoBot/discord.net && dotnet restore -s https://dotnet.myget.org/F/dotnet-core/api/v3/index.json && dotnet restore
cd ~/NadekoBot/src/NadekoBot/ && dotnet restore && dotnet build --configuration Release
```