Logo

dev-resources.site

for different kinds of informations.

Dรญa 1/365. Instalar Rust en ArchLinux

Published at
1/1/2025
Categories
rust
linux
archlinux
Author
rustarch
Categories
3 categories in total
rust
open
linux
open
archlinux
open
Author
8 person written this
rustarch
open
Dรญa 1/365. Instalar Rust en ArchLinux

Objectivo

Hoy como primer dia, es facil, como instalar Rust en ArchLinux es el primer paso y como imprimir un texto simple y luego como ejecutar el programa

Instalar Rust en ArchLinux:

  1. sudo pacman -S rust
  2. rustc --version
  3. cargo --version

Realizar el programa

  1. cargo new dia_1

Aqui nos creara una carpeta del proyecto es algo asi.
.
โ”œโ”€โ”€ Cargo.toml
โ”œโ”€โ”€ src
ย ย  โ””โ”€โ”€ main.rs
Solo tienes que editar main.rs.

fn main() {
   println!("Hello, word");
}
Enter fullscreen mode Exit fullscreen mode
archlinux Article's
30 articles in total
Favicon
GNOME vs KDE Plasma: Which One Is for You?
Favicon
Dรญa 1/365. Instalar Rust en ArchLinux
Favicon
Git Auto Push
Favicon
Endpoint Security Bypass EXPOSED! Hackers Don't Want You to Know This!
Favicon
Creating a bootable USB flash drive in a GUI application
Favicon
Install and use VirtualBox on Arch Linux & Snigdha OS
Favicon
As a beginner I use Arch, Neovim and code in assembly btw
Favicon
Publishing My First AUR Package: CPIG
Favicon
Como habilitar el "Natural scrolling" en el touchpad en Arch Linux
Favicon
Essential Linux Text Manipulation Tools: cut, sort, uniq, tr ๐Ÿ› ๏ธ
Favicon
Resolving Audio Issues on Arch Linux with Hyprland: A Step-by-Step Guide
Favicon
Shell Scripting for Beginners: Automating Common Coding Tasks
Favicon
Essential Arch Linux Commands: Advanced Mastery(Part-2)[Must Read]
Favicon
Create Your Custom WSL from Any Linux Distribution (Part - 2)
Favicon
How to use Pacman on Arch Linux ๐Ÿš€
Favicon
How to Install BlackArch on Top of Arch Linux ๐Ÿ–ค๐Ÿง
Favicon
Automate Repetitive Tasks: Creating Bash Scripts for Everyday Use ๐Ÿš€
Favicon
Bash Basics: A Beginnerโ€™s Guide to Shell Scripting
Favicon
Mastering Arch Linux: A Guide to Installation, Commands, and Mastery(Part-1)[Must Read]
Favicon
Arch Linux Pacman: A Detailed Guide with Commands and Examples ๐ŸŽฉ๐Ÿง
Favicon
Introducing Snigdha OS: A Fresh Take on Open-Source Operating Systems
Favicon
๐Ÿš€ Arch Linux Cheat Sheet: Essential Commands for new Users
Favicon
.py extension convention
Favicon
Repurposing Your Old Laptop: A Linux-Powered Home Server
Favicon
Step-by-Step Guide to Installing PostgreSQL on Arch Linux
Favicon
Is Linux an Operating System or a Kernel?
Favicon
Installing Arch Linux in UEFI systems(windows)
Favicon
New Rotating Shapes Animation
Favicon
What to do if you accidentally remove the `amd-ucode` package on Arch Linux
Favicon
Holy Trinity?

Featured ones: