01.1.md: file updated

This commit is contained in:
Maryam Behzadi
2018-06-14 10:39:29 +04:30
parent 134e941830
commit e955952db4
2 changed files with 14 additions and 12 deletions

View File

@@ -1,20 +1,21 @@
# 1.1 Installation <div dir="rtl">
## Three ways to install Go # ۱-۱ نصب
There are many ways to configure the Go development environment on your computer, and you can choose whichever one you like. The three most common ways are as follows. ## سه روش برای نصب Go
راه های زیادی برای تنظیم محیز توسعه ی Go بر روی کامپیوتر وجود دارند، و شما می توانید از هر یک از این روش ها به دلخواه خود استفاده کنید. به طور کلی سه روش زیر، به عنوان رایج ترین روش ها شناخته می شوند:
- Official installation packages. - نصب پکیج های رسمی.
- The Go team provides convenient installation packages in Windows, Linux, Mac and other operating systems. This is probably the easiest way to get started. You can get the installers from the [Golang Download Page](https://golang.org/dl/). - تیم توسعه ی Go پکیج های جامعی را برای ویندوز، لینوکس، مک و سایر سیستم عامل ها فراهم کرده است. این روش نصب، شاید ساده ترین روش ممکن برای شروع باشد. شما می توانید به [صفحه ی دانلود Golang](https://golang.org/dl/) مراجعه کرده و فایل نصبی مورد نظر خود را دانلود کنید.
- Install it yourself from source code. - نصب Go از طریق کد منبع.
- Popular with developers who are familiar with Unix-like systems. - این روش بین توسعه دهندگان سیستم های شبه یونیکس مرسوم و شناخته شده است.
- Using third-party tools. - استفاده از ابزارهای شخص سوم (third-party)
- There are many third-party tools and package managers for installing Go, like apt-get in Ubuntu and homebrew for Mac. - ابزارها و پکیج های زیادی برای نصب Go وجود دارند، که شما می توانید از آن ها استفاده کنید. برای مثال apt-get در اوبونتو و homebrew در مک.
In case you want to install more than one version of Go on a computer, you should take a look at a tool called [GVM](https://github.com/moovweb/gvm). It is the best tool I've seen so far for accomplishing this task, otherwise you'd have to deal with it yourself.
## Install from source code اگر به هر دلیلی احتیاح دارید بیشتر از یک نسخه از Go را بر روی یک کامپیوتر داشته باشید، کافیست نگاهی به ابزار [GVM](https://github.com/moovweb/gvm) داشته باشید، که یکی از بهترین ابزارهای موجود برای این منظور می باشد. در غیر این صورت همیشه می توانید این کار را به صورت دستی هم انجام دهید.
## نصب از طریق کد منبع
To compile Go 1.5 and upwards, you only need the previous version of Go, as Go has achieved bootstrapping. You only need Go to compile Go. To compile Go 1.5 and upwards, you only need the previous version of Go, as Go has achieved bootstrapping. You only need Go to compile Go.
@@ -146,3 +147,4 @@ Homebrew is a software management tool commonly used in Mac to manage packages.
- [Directory](preface.md) - [Directory](preface.md)
- Previous section: [Go environment configuration](01.0.md) - Previous section: [Go environment configuration](01.0.md)
- Next section: [$GOPATH and workspace](01.2.md) - Next section: [$GOPATH and workspace](01.2.md)
</div>