Skip to content

Commit d350e27

Browse files
committed
✨feat(fedora): Installer added.
1 parent 3ac0e7d commit d350e27

2 files changed

Lines changed: 12 additions & 137 deletions

File tree

installer.sh

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ if [ -z "$answer_lowercase" ] || [ "$answer_lowercase" = "y" ] || [ "$answer_low
127127
#############################################################################
128128
elif [ "$IS_UBUNTU" = "true" ]; then
129129
echo "Ubuntu detected."
130-
sudo apt update; sudo apt install --install-if-missing "yarn" "ranger" "rust-fd-find" "python-pynvim" "python-pytest" "delta" "rust-grcov" "rustup" "mingw-w64" "dotnet8" "monodevelop" "java-common" "nasm" "r-base" "rustc" "golang" "python" "ruby" "perl" "lua5.3" "kotlin" "elixir" "make" "nodejs" "npm" "node-typescript" "nuitka"; yarn global add "jest" "jsdoc" "typedoc"; go install "golang.org/x/tools/cmd/godoc@latest"; sudo snap install --classic "flutter"
130+
sudo apt update; sudo apt install --install-if-missing "yarn" "ranger" "rust-fd-find" "python-pynvim" "python-pytest" "delta" "rust-grcov" "rustup" "mingw-w64" "dotnet8" "monodevelop" "java-common" "nasm" "r-base" "rustc" "golang" "python" "ruby" "perl" "lua5.3" "kotlin" "elixir" "make" "nodejs" "npm" "node-typescript" "nuitka"; pip install "pyinstaller"; yarn global add "jest" "jsdoc" "typedoc"; go install "golang.org/x/tools/cmd/godoc@latest"; sudo snap install --classic "flutter"
131131

132132

133133

@@ -145,15 +145,24 @@ if [ -z "$answer_lowercase" ] || [ "$answer_lowercase" = "y" ] || [ "$answer_low
145145
#############################################################################
146146
elif [ "$IS_TERMUX" = "true" ]; then
147147
echo "Termux detected."
148-
pkg update; pkg install "tur-repo"; pkg install "ranger" "python" "fd" "git-delta" "yarn" "mono" "openjdk-17" "dart" "kotlin" "elixir" "nodejs" "make" "rust" "golang" "nasm" "python" "ruby" "perl" "liblua52" "swift" "binutils-libs" "gcc-default" "doxygen"; pip install "pynvim" "pytest" "Nuitka"; yarn add global "jest" "typescript" "jsdoc" "typedoc"; cargo install "cargo-nextest" "git-delta" "grcov"; go install "golang.org/x/tools/cmd/godoc@latest"
148+
pkg update; pkg install "tur-repo"; pkg install "ranger" "python" "fd" "git-delta" "yarn" "mono" "openjdk-17" "dart" "kotlin" "elixir" "nodejs" "make" "rust" "golang" "nasm" "python" "ruby" "perl" "liblua52" "swift" "binutils-libs" "gcc-default" "doxygen"; pip install "pynvim" "pytest" "Nuitka" "pyinstaller"; yarn add global "jest" "typescript" "jsdoc" "typedoc"; cargo install "cargo-nextest" "git-delta" "grcov"; go install "golang.org/x/tools/cmd/godoc@latest"
149+
150+
151+
152+
153+
# FEDORA INSTALLER (dependencies)
154+
#############################################################################
155+
elif [ "$IS_FEDORA" = "true" ]; then
156+
echo "Fedora detected."
157+
sudo dnf install "rust-fd-find" "rust-git-delta" "rustup" "python3-pytest" "mingw64-gcc" "binutils" "dotnet6.0" "dotnet-runtime-6.0" "dotnet-sdk-6.0" "aspnetcore-runtime-6.0" "mono-complete" "java-21-openjdk" "elixir" "nodejs" "npm" "typescript" "make" "golang" "nasm" "R-rlang" "ruby" "perl" "lua" "swift-lang"; pip install "pynvim" "pytest" "Nuitka" "pyinstaller"; npm install -g "yarn" "jest" "typescript" "jsdoc" "typedoc"; cargo install "cargo-nextest" "grcov"; go install "golang.org/x/tools/cmd/godoc@latest"
149158

150159

151160

152161

153162
# ERROR: OS NOT DETECTED
154163
#############################################################################
155164
else
156-
echo "ERROR: It seems your OS is not Arch Linux, Ubuntu, MacOS or Termux."
165+
echo "ERROR: It seems your OS is not Arch Linux, Ubuntu, MacOS, Termux, or Fedora."
157166
echo "Your OS is not directly supported."
158167
echo "But you can still read the wiki and install the dependencies manually."
159168
fi

tests/test-ubuntu-dependencies.sh

Lines changed: 0 additions & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -120,137 +120,3 @@ printf '\n\n\n\n'
120120
echo "-------------------------------"
121121
echo "SUCCESS: All deps are available"
122122
echo "-------------------------------"
123-
124-
125-
126-
127-
128-
129-
130-
131-
132-
133-
134-
135-
136-
137-
138-
139-
140-
141-
142-
143-
144-
145-
146-
# # CHECK DEPENDENCIES
147-
# # -----------------------------------------------------------------------------
148-
#
149-
# echo "------------------------------------"
150-
# echo "NormalNvim dependencies - Arch Linux"
151-
# echo "------------------------------------"
152-
# # pacman
153-
# echo "- Pacman packages -"
154-
# dependencies=(
155-
# "python"
156-
# "python-pynvim"
157-
# "fd"
158-
# "git-delta"
159-
# "grcov"
160-
# "rustup"
161-
# "yarn"
162-
# "python-pytest"
163-
# )
164-
# check_arch_dependencies "${dependencies[@]}" || exit 1
165-
#
166-
# # npm
167-
# printf '\n%s\n' "- NPM packages -"
168-
# dependencies=(
169-
# "jest"
170-
# "typedoc"
171-
# )
172-
# check_npm_dependencies "${dependencies[@]}" || exit 1
173-
#
174-
# # cargo
175-
# printf '\n%s\n' "- Cargo packages -"
176-
# dependencies=(
177-
# "cargo-nextest"
178-
# )
179-
# check_cargo_dependencies "${dependencies[@]}" || exit 1
180-
#
181-
# printf '\n\n\n\n'
182-
#
183-
# echo "----------------------------"
184-
# echo "Compiler.nvim dependencies"
185-
# echo "----------------------------"
186-
# # pacman
187-
# echo "- Pacman packages -"
188-
# dependencies=(
189-
# "mingw-w64-gcc" # includes mingw-w64-bintools whish has 'ld'
190-
# "dotnet-runtime"
191-
# "dotnet-sdk"
192-
# "aspnet-runtime"
193-
# "mono"
194-
# "jdk-openjdk"
195-
# "dart"
196-
# "kotlin"
197-
# "elixir"
198-
# "npm"
199-
# "nodejs"
200-
# "typescript"
201-
# "make"
202-
# "go"
203-
# "nasm"
204-
# "r"
205-
# "nuitka"
206-
# "python"
207-
# "ruby"
208-
# "perl"
209-
# "lua"
210-
# )
211-
# check_arch_dependencies "${dependencies[@]}" || exit 1
212-
#
213-
# # aur
214-
# printf '\n%s\n' "- AUR packages -"
215-
# dependencies=(
216-
# "pyinstaller"
217-
# "swift-bin"
218-
# )
219-
# check_aur_dependencies "${dependencies[@]}" || exit 1
220-
# printf '\n\n\n\n'
221-
#
222-
#
223-
#
224-
#
225-
# echo "------------------------"
226-
# echo "Dooku.nvim dependencies"
227-
# echo "------------------------"
228-
# # pacman
229-
# echo "- Pacman packages -"
230-
# dependencies=(
231-
# "doxygen"
232-
# )
233-
# check_arch_dependencies "${dependencies[@]}" || exit 1
234-
#
235-
# # npm
236-
# printf '\n%s\n' "- NPM packages -"
237-
# dependencies=(
238-
# "jsdoc"
239-
# "typedoc"
240-
# )
241-
# check_npm_dependencies "${dependencies[@]}" || exit 1
242-
#
243-
# # go
244-
# printf '\n%s\n' "- Go packages -"
245-
# dependencies=(
246-
# "godoc"
247-
# )
248-
# check_go_dependencies "${dependencies[@]}" || exit 1
249-
# printf '\n\n\n\n'
250-
#
251-
#
252-
#
253-
#
254-
# echo "----------------------------------------"
255-
# echo "SUCCESS: All dependencies are available"
256-
# echo "----------------------------------------"

0 commit comments

Comments
 (0)