@@ -12,33 +12,53 @@ We recommend using VSCode with the [Vala plugin](https://marketplace.visualstudi
1212
1313- Alpine Linux Edge: ` apk add vala-language-server `
1414
15- - Ubuntu 18.04, 20.04 and elementaryOS
16-
17- In order to install VLS, you need Vala 0.48 or later, which is only available
18- by default on Ubuntu 20.04. You can get an up-to-date version of Vala
19- from the Vala Team's Vala-Next repository. First you need to remove older
20- Vala components:
21-
22- ``` sh
23- sudo apt-add-repository ppa:vala-team/next
24- # If you have 0.40 and 0.48, there may be random issues popping out
25- sudo apt-get remove valac-0.40-vapi " libvala.*-0.40-0"
26- sudo apt-get install valac-0.48 valac-bin
27- ```
28-
29- Now you can install the Vala Language Server:
30-
31- ` ` ` sh
32- sudo add-apt-repository ppa:prince781/vala-language-server
33- sudo apt-get update
34- sudo apt-get install vala-language-server
35- ` ` `
36- - Fedora 32:
37-
38- ` ` ` sh
39- sudo dnf copr enable prince781/vala-language-server
40- sudo dnf -y install vala-language-server
41- ` ` `
15+ - Ubuntu 20.04, 20.10, Fedora 33, and Debian
16+
17+ ** The Ubuntu PPA and Fedora Copr are now deprecated.** We have moved to an
18+ automated build and packaging system--Open Build System, at
19+ [ here] ( https://software.opensuse.org//download.html?project=home%3APrince781&package=vala-language-server ) .
20+ You can find details about how to install VLS for your distribution
21+ at that link.
22+
23+ For example, to install VLS on ** Ubuntu 21.04** , first add the repository:
24+
25+ ```
26+ echo 'deb http://download.opensuse.org/repositories/home:/Prince781/xUbuntu_21.04/ /' | sudo tee /etc/apt/sources.list.d/home:Prince781.list
27+ curl -fsSL https://download.opensuse.org/repositories/home:Prince781/xUbuntu_21.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_Prince781.gpg > /dev/null
28+ ```
29+
30+ And then update and install VLS:
31+
32+ ```
33+ sudo apt update
34+ sudo apt install vala-language-server
35+ ```
36+
37+ For ** Fedora 33** , add the repository like this:
38+
39+ ```
40+ dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Prince781/Fedora_33/home:Prince781.repo
41+ ```
42+
43+ And then install:
44+
45+ ```
46+ dnf install vala-language-server
47+ ```
48+
49+ For ** Debian** , add the repository like this:
50+
51+ ```
52+ echo 'deb http://download.opensuse.org/repositories/home:/Prince781/Debian_Testing/ /' | sudo tee /etc/apt/sources.list.d/home:Prince781.list
53+ curl -fsSL https://download.opensuse.org/repositories/home:Prince781/Debian_Testing/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_Prince781.gpg > /dev/null
54+ ```
55+
56+ And then install:
57+
58+ ```
59+ sudo apt update
60+ sudo apt install vala-language-server
61+ ```
4262
4363![ vls-vscode] ( images/vls-vscode.png )
4464![ vls-vim] ( images/vls-vim.png )
0 commit comments