Updated 4. Panduan Linux Fedora (markdown)

Asep Komarudin 2023-12-29 15:31:01 +07:00
parent 26aa8b62a7
commit 4b05f539a8

@ -8,35 +8,36 @@ cd download
``` ```
sudo dnf install wget sudo dnf install wget
``` ```
3. Download noe JS dari halaman resminya 3. Download NodeJS from https://nodejs.org/
Example :
``` ```
wget https://nodejs.org/dist/v18.13.0/node-v18.13.0-linux-x64.tar.xz wget https://nodejs.org/dist/v18.13.0/node-v20.09.0-linux-x64.tar.xz
``` ```
4. Install unzip dan xz 4. Install unzip and xz
``` ```
sudo dnf install unzip sudo dnf install unzip
sudo dnf install xz sudo dnf install xz
sudo apt install xz-utils sudo apt install xz-utils
``` ```
5. Extrak file downloadan 5. Extrak file
``` ```
tar -xf [nama file node js tadi di download] tar -xf [nama file node js tadi di download]
``` ```
6. rename file extrac tadi 6. Rename the file
``` ```
mv [nama file extrak] [nama tujuan] mv [file name] [destination name]
``` ```
7. copy folder ke home 7. copy folder to home directory
``` ```
cp -r [nama folder] /home/asep/ cp -r [folder name] /home/asep/
``` ```
8. daftarkan env 8. register the env
``` ```
sudo dnf install nano sudo dnf install nano
cd ../ cd ../
nano .bashrc nano .bashrc
``` ```
masukan path insert the path
``` ```
export PATH=/home/asep/nodejs/bin:$PATH export PATH=/home/asep/nodejs/bin:$PATH
ctrl + x ctrl + x
@ -67,7 +68,7 @@ export PATH=/home/asep/nvim/bin:$PATH
sudo dnf install gcc sudo dnf install gcc
sudo dnf install g++ sudo dnf install g++
``` ```
# Clone config Neovim # Clone Neovim Configuration
``` ```
git clone https://github.com/pojokcodeid/nvim-lazy-basic.git ~/.config/nvim git clone https://github.com/pojokcodeid/nvim-lazy-basic.git ~/.config/nvim
``` ```