Skip to content

Commit

Permalink
better use of hextra
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed Jan 13, 2024
1 parent 2d936b7 commit 3a140aa
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 6 deletions.
8 changes: 4 additions & 4 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ Linux is an **open-source operating system** that is used in a variety of device
{{< /cards >}}

{{< cards >}}
{{< card link="/docs/debian/linux_installing_apps/" title="Just Setup Linux!" image="https://source.unsplash.com/featured/800x600?computer" subtitle="I am a regular user / Want to Setup my uncle's machine without breaking the sweat" >}}
{{< card link="/" title="IoT with Raspberry Pi" image="https://jalcocert.github.io/RPi/img/RPi-Projects.png" subtitle="Linux will onboard you to the IoT and Embedding World. Are you ready to take the first step?" >}}
{{< card link="Linux/docs/debian/linux_installing_apps/" title="Just Setup Linux!" image="https://source.unsplash.com/featured/800x600?computer" subtitle="I am a regular user / Want to Setup my uncle's machine without breaking the sweat" >}}
{{< card link="https://jalcocert.github.io/RPi/" title="IoT with Raspberry Pi" image="https://jalcocert.github.io/RPi/img/RPi-Projects.png" subtitle="Linux will onboard you to the IoT and Embedding World. Are you ready to take the first step?" >}}
<!-- {{< card link="/" title="LLMs with Linux" image="https://fossengineer.com/img/GenAI/ollama.png" subtitle="Linux nature is Open Source - Same like these LLMs that you can use with your Laptop (no GPU required)" method="Resize" options="600x q80 webp" >}} -->
{{< /cards >}}

Expand All @@ -65,8 +65,8 @@ Linux is an **open-source operating system** that is used in a variety of device
>}} -->

{{< hextra/feature-card
title="I need some Privacy"
subtitle="Feeling constantly bombarded by big Tech targeted advertising? It's not too late to say Hi to Linux."
title="One Step Closer to AI"
subtitle="LLMs with Linux - Linux nature is Open Source - Same like these LLMs that you can use with your Laptop (no GPU required)."
class="aspect-auto md:aspect-[1.1/1] max-lg:min-h-[340px]"
style="background: radial-gradient(ellipse at 50% 80%,rgba(221,210,59,0.15),hsla(0,0%,100%,0));"
>}}
Expand Down
30 changes: 30 additions & 0 deletions content/docs/Debian/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,36 @@ Debian's **package management system, APT** (Advanced Package Tool), simplifies

While Debian doesn't have the same "do-it-yourself" philosophy as Arch Linux, it provides a solid foundation for various use cases, including desktop computing, server hosting, and embedded systems. It's well-regarded for its community-driven development process and commitment to free software, making it a trusted choice for users who prioritize open-source principles and long-term support.

<!-- {{< hextra/feature-card
title="Get Ubuntu"
subtitle="The most popular OS to start your Linux Journey."
class="aspect-auto md:aspect-[1.1/1] max-lg:min-h-[340px]"
image="https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/ubuntu.png"
imageClass="top-[40%] left-[36px] w-[180%] sm:w-[110%] dark:opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.15),hsla(0,0%,100%,0));"
>}}
{{< hextra/feature-card
title="Get Ubuntu"
subtitle="The most popular OS to start your Linux Journey."
class="aspect-auto md:aspect-[1.1/1] max-lg:min-h-[100px]"
image="https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/ubuntu.png"
imageClass="top-[40%] left-[10px] w-[45%] sm:w-[35%]"
style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.15),hsla(0,0%,100%,0));"
>}}
{{< hextra/feature-card
title="Get Ubuntu"
subtitle="The most popular OS to start your Linux Journey."
class="aspect-auto md:aspect-[1.1/1] max-lg:min-h-[85px]"
image="https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/ubuntu.png"
imageClass="top-[20%] left-[9px] w-[45%] sm:w-[27.5%]"
style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.15),hsla(0,0%,100%,0));"
>}} -->




## Managing Packages in Debian

Expand Down
2 changes: 1 addition & 1 deletion content/docs/Debian/linux_installing_apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: docs
prev: docs/Debian/
---

## Regular Apps installations
## How to Install Apps in Debian

Ever wondered about using linux as a regular OS, but afraid of making tedious installations of all your favorite programs, even games?

Expand Down
168 changes: 167 additions & 1 deletion content/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,172 @@ journey
Helping others with Linux: 5: You
``` -->

## How to Start my Linux Journey

{{% steps %}}

### Download Ubuntu

Ubuntu is a Debian based Linux.

Quite user friendly. And you can [Download for free here](https://ubuntu.com/download).

<!-- <div class="mb-6">
{{< hextra/hero-button text="Get Ubuntu" link="https://ubuntu.com/download" >}}
</div> -->

### Try Ubuntu in a VM

Whatever happens to the Virtual Machine, it does not matter and wont affect your main OS.

So try things, install your favourite Apps!

### Ways Install your Apps

Yes, you can just do double click to .deb files.

Additionally, you can find awsome Apps here:

* Snap Store: <https://snapcraft.io/store>
* Flathub: <https://flathub.org/>

Plot twist - They are also Free.

### Forget about Hard Formats

That thing of the CLI must have some advantage, right?

Yes, once you know what you need - you can make your device work for you, instead of letting it be your master

Make your life easier from now on with:

* Some [script to install](https://jalcocert.github.io/Linux/docs/debian/linux_installing_apps/) the Apps for you
* [Get Docker](https://jalcocert.github.io/Linux/docs/debian/docker/) and [Start SelfHosting](https://fossengineer.com/tags/self-hosting/)
* Automating your [System Setup with Ansible](https://jalcocert.github.io/Linux/docs/linux__cloud.md/ansible/)


{{< callout type="info" >}}
I list of your favourite Apps always helps, [here is mine for inspiration](https://jalcocert.github.io/Linux/docs/nix/fav-apps/)
{{< /callout >}}

{{% /steps %}}


{{< tabs items="I am an Android user,I use Windows,I was told I Think Different Already" >}}

{{< tab >}}
Congrats, Android is also Linux - YOu are already a Linux User!

{{% details title="And you can use Android & Linux Together! 🚀" closed="false" %}}

### How to use Android from Linux?

#### KDE Connected

```sh
sudo apt update
sudo apt install kdeconnect
```

Then check devices with the UI or with CLI:

```sh
kdeconnect-cli --refresh
kdeconnect-cli --list-devices
```

You can get it from: <https://f-droid.org/packages/org.kde.kdeconnect_tp/>

Alternatively, you have GSConnect or scrcpy:

```sh
sudo apt install scrcpy
```

{{% /details %}}

{{< /tab >}}
{{< tab >}}If you are wondering why should it be so painfull to install all your favourite Apps in Windows, you are in a good place.

Making clean install is really simple in Linux thanks to Tools like: Ansible, Docker (you can also use it) or scripts.

> Yes, you also can use **Chocolatey GUI** and avoid the scripting part.
{{% details title="You can use Scripts in Windows as well, together with Chocolatey! 🍫 " closed="true" %}}


### Chocolatey What?

Ok - this is suposed to be Linux related only, but I discovered about this and if there is some Windows user reading this, probably will be wondering if formating and setup a Windows machine from scratch has to be so painful.

**Chocolatey is a package manager** for Windows that enables users to **easily install**, manage, and update software applications from the command line or through a graphical interface.

**Package WHAT?**

When you want new tools or games, instead of roaming the internet, you tell the package manager what you desire. This *shopkeeper* knows where to find them, handles all the downloading and setup, and even keeps them updated so you don't have to worry about dusty shelves.

### Installing Chocolatey 🚀

Get Chocolatey ready and forget about being afraid to format C your Windows ever again.

```sh
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
```

You can use it with Graphical User Interface:

```sh
choco install chocolateygui
#chocolateygui
```

#### Using Chocolatey

Navigate to **<https://community.chocolatey.org/packages>** and look for the packages that you are interested:

```sh
# Check if Chocolatey is installed
if (-not (Get-Command choco -ErrorAction SilentlyContinue)) {
Write-Host "Chocolatey is not installed. Installing Chocolatey..."
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
}

# Install Chrome
Write-Host "Installing Google Chrome..."
choco install googlechrome -y

# Install Steam
Write-Host "Installing Steam..."
choco install steam -y

# Install Visual Studio Code
Write-Host "Installing Visual Studio Code..."
choco install vscode -y

Write-Host "Installation completed."
```
Create a list like this one with your favourite Apps , then use it from the powershell.
> The logic here is Work Smart. Do once, re-use forever ♻️
<script src="https://gist.github.com/JAlcocerT/76f22ddf886277ef2653f82898c634d8"></script>
{{< gist "JAlcocerT/76f22ddf886277ef2653f82898c634d8" >}}
{{% /details %}}
{{< /tab >}}
{{< tab >}}Hello mac user 😛
You can start your act different journey by [installing Docker](https://jalcocert.github.io/Linux/docs/debian/docker/) and spining up some F/OSS services. And running them without a 3rd party in between is called [SelfHosting](https://fossengineer.com/tags/self-hosting/).
The Linux ecosystem is full of these kind of Apps that have aligned incentives with your interests.{{< /tab >}}
{{< /tabs >}}
<!--
## Im an Android User
Congrats, Android is also Linux - YOu are already a Linux User!
Expand Down Expand Up @@ -167,7 +333,7 @@ Create a list like this one with your favourite Apps , then use it from the powe
{{< gist "JAlcocerT/76f22ddf886277ef2653f82898c634d8" >}}
{{% /details %}}
-->
---
Expand Down

0 comments on commit 3a140aa

Please sign in to comment.