zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    Linux常用命令1
    Linux常用命令
    java的接口和抽象类区别
    字符串的全排列
    字符串的全组合
    Mysql范式
    同步 异步 阻塞 非阻塞概念区分
    死锁产生的条件以及解决方法
    Mysql存储引擎MyIsAM和InnoDB区别
    SLES documentation
  • 原文地址:https://www.cnblogs.com/zhouxuejia/p/13623367.html
Copyright © 2011-2022 走看看