draft post
This commit is contained in:
parent
ead3664612
commit
8f234af99b
200
content/post/distros-distros-linux.md
Normal file
200
content/post/distros-distros-linux.md
Normal file
@ -0,0 +1,200 @@
|
|||||||
|
i actually dont know difference between distributions
|
||||||
|
6543heute um 15:23 Uhr
|
||||||
|
ubuntu has an old kernel <- less modern hardware support
|
||||||
|
manjaro use the latest kernel <- the most hardware support you can get on linux
|
||||||
|
jaqraheute um 15:23 Uhr
|
||||||
|
okey i will try it
|
||||||
|
thank you so much
|
||||||
|
6543heute um 15:24 Uhr
|
||||||
|
you can always ask me linux questions ... I tryed a lot of distros
|
||||||
|
jaqraheute um 15:24 Uhr
|
||||||
|
i will
|
||||||
|
now i can ask
|
||||||
|
it was hard to install anything i want
|
||||||
|
if i dont find on apt it take long time to install
|
||||||
|
6543heute um 15:25 Uhr
|
||||||
|
I will guid you throu
|
||||||
|
jaqraheute um 15:26 Uhr
|
||||||
|
sometimes i cant know where should i put the files
|
||||||
|
6543heute um 15:26 Uhr
|
||||||
|
manjaro does not have "apt"
|
||||||
|
jaqraheute um 15:26 Uhr
|
||||||
|
when download binary files
|
||||||
|
6543heute um 15:26 Uhr
|
||||||
|
you shouldnt do this
|
||||||
|
there is a tool caled yay
|
||||||
|
yay is realy nice to users! I use it as warper for the main package installer too
|
||||||
|
If you like, I can tel you a smal story about linux and distors (background infos)
|
||||||
|
jaqraheute um 15:27 Uhr
|
||||||
|
sure
|
||||||
|
please
|
||||||
|
6543heute um 15:28 Uhr
|
||||||
|
distros exist because the "linux" as most people just call it is not just "linux"
|
||||||
|
linux is the kernel a peace of software witch only profide the platform to runn software on it
|
||||||
|
so it speac with hardware, load drivers, manage prosess-task, ...
|
||||||
|
the rest is software from other open-source projects
|
||||||
|
the GNU tools profide basic managemend and made linux in generall usable
|
||||||
|
then there are programms witch take care of starting things ... deamons the user login ... start grafiks ...
|
||||||
|
.
|
||||||
|
A NORMAL USER DONT LIKE TO SEARCH FOR PROGRAMMS TO DO THIS TASKS (A OS HAS TO TAKE CARE OF)
|
||||||
|
so there are distors witch have selected and composed this puzzle peaces for you
|
||||||
|
jaqraheute um 15:32 Uhr
|
||||||
|
i understand
|
||||||
|
6543heute um 15:33 Uhr
|
||||||
|
they have there history and grow as people do :slight_smile:
|
||||||
|
the dai, they get "kids" and so on ... and eaven new one pop up from nowhere
|
||||||
|
just to show the Debian-Based Distor history: https://cdn.arstechnica.net/wp-content/uploads/sites/3/2016/01/linux-distro-family-tree-e1451930922347.png
|
||||||
|
|
||||||
|
each have there reason to exist some for more general purpuse some for edge cases or a special reason
|
||||||
|
If you choose a linux distro in generel you only have to look at a few things luckily:
|
||||||
|
where is it suposed to be executed?
|
||||||
|
Server/ConsumerPC/Laptop/<special devices>
|
||||||
|
special devices normaly have there own perfect distro for it ...
|
||||||
|
example: raspbery pi: rasbian
|
||||||
|
reacht destination :wink:
|
||||||
|
if it Is a Server :
|
||||||
|
jaqraheute um 15:38 Uhr
|
||||||
|
i am on phone
|
||||||
|
i will read after turn off
|
||||||
|
customer issuesssss
|
||||||
|
6543heute um 15:40 Uhr
|
||||||
|
what should this server do?
|
||||||
|
- on enterprice systems companys tend to choose betwen Suse Enterprice and ReadHead systems
|
||||||
|
- on smal bussines and if you have (as company) a man who can manage linux well debian is also a good choise
|
||||||
|
- single persons and so on.. tend to use UbuntuServer or Debian
|
||||||
|
my hint: use debian but the test branch it is as stable as ubuntu without the pain of having a dependency hell each release upgrade
|
||||||
|
ok now comes the ConsumerPC and Laptop:
|
||||||
|
they normaly have newest hardware and should look nice - dont they?
|
||||||
|
this is where al major linux distor have at least one food in the door
|
||||||
|
now it depends on "how new" your hardware realy is
|
||||||
|
in general all "big" (well known) distros should work
|
||||||
|
so and now how should I decide ?!?
|
||||||
|
most people start with ubuntu - I did too
|
||||||
|
because it is considered as "easy to use and have lot of tutorials"
|
||||||
|
leave this at the side ... if you understand more technikal tutorials there are arch based distors
|
||||||
|
In general for PCs, look at:
|
||||||
|
* releace cypels/modles
|
||||||
|
* witch package manager they use
|
||||||
|
* what colection of software they prefere
|
||||||
|
ok ok sounds hard ...
|
||||||
|
no
|
||||||
|
just look at where they come from
|
||||||
|
debian-base <- (form debian): Ubuntu, Mint-linux, Knoppix, ...
|
||||||
|
you have "apt" and the .deb format for software
|
||||||
|
skype delivers a .deb ... brother printers deliver drivers for linux in .deb ...
|
||||||
|
ok and what relice cyples: ubuntu break things fast if you are not on a lts version (witch tend bo be outdated) but you run software on the newes versions (bit behind the dev edge)
|
||||||
|
debian has older software and is more reliable
|
||||||
|
mint well mint its like ubuntu but some have the fealing it is nicer to its users ... dont know
|
||||||
|
.
|
||||||
|
there is the suse-based one ..
|
||||||
|
big companys used it in the past and it still has its meaning if you are maintaining those servers but ...
|
||||||
|
.. nothing for most users I would say
|
||||||
|
Readheat-Bases:
|
||||||
|
- there is Fedora and CentOS
|
||||||
|
Fedora is Readhead'S playground to test brand new konzepts and software
|
||||||
|
CentOS is a free clone of the ReadHead Enterprice OS
|
||||||
|
they have the package format RPM the I would say second wide spread format for software packages on linux
|
||||||
|
here yum is the way to install update and deleate things
|
||||||
|
It is worth to look at - but I would say only Fedora is for PCs CentOS is for Servers
|
||||||
|
ok and this is it - ... no there is more :rofl:
|
||||||
|
If you gain more and more linux knowlage you like to specify witch software should do the job ... one of the major distros with the concept "build your system yourselv" is archlinux
|
||||||
|
arch linux does not have releases in that maner - its a "roling release model"
|
||||||
|
the package manager pacman (not a game) install update and delete things here
|
||||||
|
packages contain less atomic things in it ... arch linux pack software in "biger" packages
|
||||||
|
example: on ubuntu firefox is split up in diferent packages and linkt as dependency
|
||||||
|
so other programms can use a special part only as dependency
|
||||||
|
why should install a downloader curl if curllib is the only part it needs? (example)
|
||||||
|
and archlinux: make less dependencys so you wont have less dependency conflicts
|
||||||
|
jaqraheute um 16:02 Uhr
|
||||||
|
,huh i finally solved customer's problem
|
||||||
|
6543heute um 16:02 Uhr
|
||||||
|
you can now read a lot :point_up: :sweat_smile:
|
||||||
|
and wone of the thin I realy like is the "arch user repository"
|
||||||
|
its the same as PPA's for ubuntu/debian
|
||||||
|
but they normaly work better and are more up to date
|
||||||
|
jaqraheute um 16:04 Uhr
|
||||||
|
customers will kill me someday :smile:
|
||||||
|
6543heute um 16:06 Uhr
|
||||||
|
Manjaro is based on archlinux and utilize this...:
|
||||||
|
* the newest software (and so newest hardware support)
|
||||||
|
* less dependency problems
|
||||||
|
but preselect like ubuntu or mint so you dont have to setup all yourself
|
||||||
|
there is a downside with this roaling release: keep it up to date!!
|
||||||
|
you can update&upgrade a debian witch hasn't been updated since 10 years without probelms
|
||||||
|
you can update&upgrade a ubuntu witch hasn't been updated since 2-4years without problems
|
||||||
|
but you cant on arch-based systems
|
||||||
|
if you do not update software in less than 3Month cycles it's likly to break your system and you have to reinstall if you dont like to dig into the system very deep
|
||||||
|
so a pacman -Suuyy every month keeps the reinstall away :slight_smile:
|
||||||
|
Hint use: yay (yay -Suuyy) just do the job too and also keep aur packages updated
|
||||||
|
what is this aur?
|
||||||
|
arch-linux(-based) only compile and deliver binarys for a smaller set of programms less than debian/ubuntu doo
|
||||||
|
jaqraheute um 16:11 Uhr
|
||||||
|
reading
|
||||||
|
6543heute um 16:11 Uhr
|
||||||
|
but there is mouch more software out there than you could package and pree compile
|
||||||
|
so yousers can creat "scripts" witch compile and creat packages for software on the system
|
||||||
|
DISCLAIMER: AUR packages are user produced content. Any use of the provided files is at your own risk.
|
||||||
|
https://aur.archlinux.org/
|
||||||
|
on ubuntu side: PPAs:
|
||||||
|
https://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them
|
||||||
|
and there are other discros witch I like to briefly introduce:
|
||||||
|
* alpinelinux: the idear is to keep it simple smal and clean ... and SIMPLE
|
||||||
|
(It is used as base on a lot of docker containers, but you can runn a full system with it)
|
||||||
|
* openWRT: all about Routers ... you dont like the tp-link access point firmware -> replace it
|
||||||
|
* gentoo: all about optimisation and newest software
|
||||||
|
(all software is downloaded as source code - it then is compiled optimized for the Hardware you run the system)
|
||||||
|
:point_up: this one is a hard to manage one but you can customize EVERYTHING it's more customizable than archlinux !!!!
|
||||||
|
* NixOS: "NixOS is a Linux distribution with a unique approach to package and configuration management. Built on top of the Nix package manager, it is completely declarative, makes upgrading systems reliable"
|
||||||
|
(didn't look at it jet but I came akross it)
|
||||||
|
* Android: jet another story for itself
|
||||||
|
__
|
||||||
|
the Distro select monolog
|
||||||
|
jaqraheute um 16:20 Uhr
|
||||||
|
should i upgrade all programs on manjaro?
|
||||||
|
i do not like windows' upgrade system every week
|
||||||
|
6543heute um 16:21 Uhr
|
||||||
|
you should but It wont break stuff as windows doo to mouch - only if you customize too mouch
|
||||||
|
and you decide when to update
|
||||||
|
this is a generel thing on linux
|
||||||
|
jaqraheute um 16:22 Uhr
|
||||||
|
ooh i see
|
||||||
|
thank you so much :slight_smile:
|
||||||
|
i will install manjaro
|
||||||
|
6543heute um 16:23 Uhr
|
||||||
|
this is one of major linux downsides (or upsides if you like to dig into stuff): it has so many flaifours
|
||||||
|
bad for neewbies and users who only like to use
|
||||||
|
good for those who need pice of software that exactly fits your needs
|
||||||
|
some manjaro hints:
|
||||||
|
install yay
|
||||||
|
(https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages)
|
||||||
|
Arch User Repository
|
||||||
|
sudo pacman -S base-devel git go
|
||||||
|
#select all
|
||||||
|
git clone https://aur.archlinux.org/yay.git
|
||||||
|
cd yay
|
||||||
|
makepkg -si
|
||||||
|
jaqraheute um 16:27 Uhr
|
||||||
|
okey i will ask again if i get problems :slight_smile:
|
||||||
|
6543heute um 16:28 Uhr
|
||||||
|
if you are searching for a pice of software to install:
|
||||||
|
yay <ust the name - thasts all>
|
||||||
|
yay will guid you throu
|
||||||
|
if it its a well known software
|
||||||
|
yay -S <name>
|
||||||
|
and it will show you the versions it can get for you
|
||||||
|
__
|
||||||
|
ok I'm done :sweat:
|
||||||
|
hope at least you understand 70% of it
|
||||||
|
jaqraheute um 16:30 Uhr
|
||||||
|
yes i understand
|
||||||
|
i use pardus and used apt
|
||||||
|
not be problem
|
||||||
|
just i said . i cant now where the put file if i download binaries :smile:
|
||||||
|
like npm
|
||||||
|
6543heute um 16:31 Uhr
|
||||||
|
just runn as user
|
||||||
|
npm put stuff into /home/<username>/node_modules/
|
||||||
|
but yay alos let you install npm created binarys into the system
|
||||||
|
so there is a good chance if you type in yay -S npm-name or yay npm-name to be able to install things
|
||||||
|
example: <https://aur.archlinux.org/packages/angular-cli/ >
|
||||||
|
= yay -S angular-cli
|
Loading…
Reference in New Issue
Block a user