Vala之入門篇(二)Vala安裝


Windows上的Vala
https://wiki.gnome.org/Projects/Vala/ValaOnWindows

MSYS2

MSYS2項目使Windows版Vala的版本保持最新。

MSYS2安裝程序開始,然后使用pacman -S軟件包安裝所需的軟件包。

對於64位Windows,軟件包體系結構為x86_64要為32位Windows安裝軟件包,請將下面列表中的x86_64更改i686

要在64位Windows上安裝Vala:

pacman -S mingw-w64-x86_64-gcc pacman -S mingw-w64-x86_64-pkg-config pacman -S mingw-w64-x86_64-vala

MSYS2是基於MinGW的發行版,並提供了在Windows中運行的Unix(POSIX)環境。這使為POSIX環境開發的構建工具可以在Windows下運行。

要開始使用此環境,通常使用啟動器啟動啟動外殼程序進行開發。對於本機64位Windows開發,您需要mingw64.exe啟動器。其他發射是mingw32.exe了32位Windows的開發和msys2.exe對POSIX發展。

Vala on Linux

Vala is well supported by many Linux distributions. Some distributions separate header files from libraries, so additional development packages may have to be installed for the header files.

 

Fedora

Installation on Fedora 22/23 is straightforward:

 

# sudo dnf install vala

Development packages are usually suffixed -devel. eg. libgee-devel and the Debugging Symbols needed by tools like Nemiver can be installed using the -debuginfo suffix eg. libgee-debuginfo.

 

CentOS

Installation on CentOS is straightforward:

 

# sudo yum install vala

Development packages are usually suffixed -devel. eg. libgee-devel and the Debugging Symbols needed by tools like Nemiver can be installed using the -debuginfo suffix eg. libgee-debuginfo.

 

Debian

Installation on Debian is straightforward:

 

$ sudo apt install valac

Development packages are usually suffixed -dev. eg. libgee-0.8-dev and the Debugging Symbols needed by tools like Nemiver can be installed using the -dbg suffix eg. libgee-0.8-2-dbg.

 

Ubuntu and Derivatives

Although Ubuntu is based on Debian, the packages in the Ubuntu repositories are often out of date, especially the LTS releases. To install the most recent version of Vala you should add the Vala Team PPA to your software sources:

 

$ sudo add-apt-repository ppa:vala-team

On some older versions of Ubuntu you may need to install the add-apt-repository tool first:

 

$ sudo apt-get install software-properties-common

Then you can install the latest version:

 

$ sudo apt-get update
$ sudo apt-get install valac


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM