Pacman On Other Distros, How To and Why You Shouldn't
Вставка
- Опубліковано 29 жов 2024
- In this video I show you how to install the Pacman package manager on Gentoo and why you shouldn't actually do this.
₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿
Monero
45F2bNHVcRzXVBsvZ5giyvKGAgm6LFhMsjUUVPTEtdgJJ5SNyxzSNUmFSBR5qCCWLpjiUjYMkmZoX9b3cChNjvxR7kvh436
Bitcoin
3MMKHXPQrGHEsmdHaAGD59FWhKFGeUsAxV
Ethereum
0xeA4DA3F9BAb091Eb86921CA6E41712438f4E5079
Litecoin
MBfrxLJMuw26hbVi2MjCVDFkkExz8rYvUF
Dash
Xh9PXPEy5RoLJgFDGYCDjrbXdjshMaYerz
Zcash
t1aWtU5SBpxuUWBSwDKy4gTkT2T1ZwtFvrr
Chainlink
0x0f7f21D267d2C9dbae17fd8c20012eFEA3678F14
Bitcoin Cash
qz2st00dtu9e79zrq5wshsgaxsjw299n7c69th8ryp
Etherum Classic
0xeA641e59913960f578ad39A6B4d02051A5556BfC
USD Coin
0x0B045f743A693b225630862a3464B52fefE79FdB
Subscribe to my UA-cam channel goo.gl/9U10Wz
and be sure to click that notification bell so you know when new videos are released.
Im installing pacman on arch and there is nothing you can do about it
sudo pacman -S pacman
@@magnusanderson6681 sudo chmod 777
I used the Pac-Man to install the Pac-Man
Don't do it!
Im installing arch on pacman and there is nothing you can do about it
In the early days i used PacMan a lot, then i rediscovered Space Invaders.
For a second I literally thought space invaders is a package manager 🤣... good one!!
I dont get it
@@anonymanonym9004
ua-cam.com/video/OzCmamyzF5s/v-deo.html
ua-cam.com/video/bKNcsMR7Bmc/v-deo.html
im emerging from above
I'm laughing to loud
Theoretically you could put each package manager in its own container to not interject with one another. This would require duplicated configurations and installations for a lot of software but it should protect you from breaking everything.
thats what bedrock linux does but the packages share dependencies
> _"thats what bedrock linux does but the packages share dependencies"_
@@ltex3424 nice, thanks for sharing
try bedrock linux...
3 years later, but now we have Distrobox. :)
Man, my first Linux exposure was back in 97 or so with RedHat. This was pre YUM and DNF, so you would quickly run into dependency hell when trying to install some program that was in the RPM format. Good Times™
@@trtrhr he wasn't abbreviating, these are the names of the package managers for redhat and fedora based distros. YUM is the old package manager, DNF is a newer improved one. RPM is the actual package format, if you can find a RPM for some software you want you can download it and install it on redhat based distros.
@@trtrhr Sorry for the confusion, YUM was the package management system that used to be the default for RedHat Linux, very similar to the apt system used in Debian based systems. DNF is the replacement system for YUM that was adopted a few years ago I believe. RPM is the format of the packages that these package managers themselves work with, and is specific to RedHat/Fedora Linux. The Debian equivalent would be a .deb package.
@@trtrhr Your fault n00b
I remember trying to do this when I first made the switch from ubuntu to fedora. Learning was fun though.
I mean... I've had troubles running software that was clearly optimised for Ubuntu on Fedora in the past...
Seeing as Fedora stores some of its own internal libraries in slightly different places compared to Ubuntu
Super useful. I'm heavily considering gentoo, and this helps me better make a final decision!
@Kendall Koontz And here! ☺️
@@marioschroers7318 and here!
@@trtrhr Gnome is not even an OS
@@trtrhrMake your choice. ~ John Kramer 😀
@@trtrhr i like gnome
Everyone knows Microsoft store is the best package manager.
After I install gentoo, the first thing I do is get rid of portage and get the Microsoft store. Honestly it’s just common sense
AAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAAAAAAÀAAAAAAAA
my Microsoft store is curious corrupted, I literally can't play Microsoft flight simulator or forza horizon which I baught
better than winget?
@@末茶98 yes
This channel is one of the best channel to learn Linux from.
Mental: "pacman is more human readable"
Pacman update command: pacman -Syu
whenever i do update on my arch i simply imagine one of my favourite guitar player with sama name -Syu
pacman -Syyyyuuuu
Pacman -Sy(stem)u(pdate)
Is how I remembered it when i first started out.
S for sync
y for yes , #dout
u for update
And apt be like
apt update
Not done yet, that was just checking
apt upgrade
Jk
Huh, I did something similar recently. I installed and configured dnf on openSUSE to use it instead of zypper (I really missed transactional update history). So far haven't had any issues with it but after this video I feel a little anxious.
Considering OpenSUSE is based on slack Linux...
I don't think you have much to worry about in that specific instance. Slack's default package manager doesn't automatically resolve dependencies...
The RPM package manager can also be installed from the main repos. I didn't install any software but when I tried to it did warn me about missing dependencies so it should be possible as well.
i thought missing dependencies was "enough" for the dependencies hell, but i guess i'm wrong
In the Windows world, missing dll files and/or getting the wrong version of them could disable a program.
When a program expect a dll file that the devs thought was bundled with default Windows installation, but got a newer version of the "same" dll, it will cause a lot of issues.
Some old games probably died because of this dll hell.
@@jerrytu0916 i had to reinstall rocket league 5 times because of some missing DLL, the solution: install every dll possible to the system32 folder (or sub-folder)
@@MpSniperM1911 I have got multiple versions of D3D9.dll to shove in and out of a game's root folder before it can work correctly...
Good times
@@jerrytu0916 even in the native OS which most games is written you still have those kinds of bullshit. And i still have a custom d3d9.dll to make custom DLC run on Rocksmith 2014
im emerging from above
Is it just me or do you really enjoy technical challenges?
He probably wouldn't be using Gentoo if he didn't, don't you think?
On a few months he will be printing his own circuit boards and pull some BS reason to do it without sounding redundant
And he will provide, one day, his ssh to us so we can ssh into his computer and use his cores to compile programs faster
Maybe he is going to made the next temple OS by itself
I was trying to use pacman on Ubuntu, but I couldn't. Then I moved to Gentoo and I will try this
Just use arch or artix runit/openrc...
I like pacman, but the lack of a similar feature to apt's `autoremove` really bothers me. When I install a package with extra package dependencies, I expect those deps to be removed (if unused by other packages of course).
pacman -Rns
@@octavylon9008 I actually stumbled across this a few hours before you commented, and I felt like an idiot.
Thank you though. I only used -Rs, so I'll check out what -n does when I get the chance.
Chromium doesn't work because the chroot can't connect to your X server. Bedrock Linux works around this enabling even GUI software installed in different "strata" to work.
sudo pacman -S nano
5 seconds later, oh it is done. Let's get to work.
sudo emerge nano
"See ya in two weeks"
I love Gentoo 😂
i see that no ones talking about LFS - what if you build your own "distro" and then install pacman on top of that? Isn't that better than using an existing distro alongside pacman?
and you can create your own pacman repository to solve systemd issues as well
This is a fantastic resource for if you're trying to install pacman on a brand new Linux From Scratch build tho
i always read the font name as "Iconoclasta" instead of ICON-SOLATA
Its inconsolata actually.
@@hexa3389 i know, i can read, it just me reading wrong
Sorry to inform you but i think you may be disabled
@@JustSomeAussie1 nice way to give someone a heart attack
@@JustSomeAussie1 maybe it is dyslexia
I heavily use a large collection of workstations and servers that mostly run either Debian or Arch and, being honest here, I've learned that pacman and apt-get have almost exactly the same features, except that the *apt-get build-dep* command for Debian is a feature apt-get has that pacman/Arch DOES NOT HAVE, so you have to make do without that feature when using Arch. Besides that I think they are functionally equivalent when used as intended in respective default native OS
if you use Arch Linux + AUR and you use an "AUR helper", and if you're not familiar with Arch Linux and how to fix/avoid problems involving AUR packages, then it's easy to encounter issues similar to those caused by using multiple package managers because some AUR helpers function similarly to a secondary/supplementary package manager to pacman. The solution is either be prepared for these issues and know how to avoid/solve them, or don't use AUR packages and only use official recommended Arch Linux packages from the official repositories
8:02 I guess you mean terminal emulator, your shell is bash.
Random fact : temple os iso is 16mb
Thanks
Thanks
There are very spesific situations when you want to install pacman on a non arch system. And the only one is if your using devkitpro’s spesific Pac-Man
Do you use any patches for your font rendering on Gentoo?
Or if you don't want to break everything but keep your muscle memory try pacapt or pacaptr. If you like apt for some strange reason try sysget.
Bruh apt becomes your memory when all you do is play with apt. Apt is pretty good
Another fact : Temple os Lite iso is 2mb
pacman is pretty good. I've been using xbps for a while but pacman is pretty great ngl
That moment when you run out of disk space because you have 4 competing version of glibc install from different pkg managers.
Thoughts on using pacman to handle artix's init specific repositories to get access to more precompiled binaries on gentoo?
you dont need overlay for libressl, for firefox to compile you just need nodejs compiled with -system-ssl
You dont just extract tar balls to / and keep track of packages writing them in a notebook
Normie
Huh? You still write it down? Just remember it in your head. It is much easier as it removes the need for paper.
You can make a .txt file with the root beeing the owner Hahah
Alien
Great topic!!! Thank-you sir!
>video released two minutes ago
>Video 12 minutes long
>Comment 1 minute ago
Hmmmmmm
i actually got pacman installed on MacOS High Sierra somehow, i didnt even try, i added repos to it because the repo list was empty and every time i try to install something it gets mad because a directory "already exists" then it errors out.
I think it was a dependency for one of the packages i installed with brew but im not sure
What about nix or guix package managers? :)
They store all files in a separate directory
if your gentoo was running systemd would the packages work better?
DevKitPro (a toolchain for nintendo devices) actually uses pacman for installation on all systems
One can use pacapt, a pacman-like wrapper for other package managers, instead
Not related, but do you know if there's an easy way to network portage through to a local server and return the compiled binaries back over to the original computer? (meaning POS pc runs gentoo but then emerge is ran on a much more powerful system)
distcc
@@skittlesvampir8400 CC=distcc
You can get and EPYC 7551P, 64 gigs of ram, and a board for a thousand buckaroos
I have dpkg on gentoo. There is just 1 package I need that isn't available on gentoo. I really don't use dpkg for anything else.
kinda funny heard people loving arch for pacman to me since i used first on windows with MSYS2
real question: Why would there be a dependency problem? If program 1 need dependency A, B, and C, when program 1 is downloaded and installed , it should put all dependency in program 1 folder. If program 2 need dependency B, C, D, when program 2 is downloaded and installed, it should put all dependency in program 2 folder. Folder for program 1 and folder for program 2 shouldn't conflict with each other at all. Each folder should be independent of each other , they shouldn't conflict at all. Each package manager should download and place dependency in completely different folders.
??????????????????????????????? I just don't understand. Maybe linux package manager work differently then npm
okay, how about this situation. program 1 needs A, B, C (B version 1.0). program 2 needs B, C, D (B version 2.0). now which version of B should be used? that is the conflict. different required version can cause some issues. and a system which has the same packages installed is bloated.
What forums should I go on that aren't pozzed I used to love 4chan but it's been infiltrated
I use Alpine Linux on my laptop for school, and there are a bunch of programs that I need for school that can't be installed with apk. So for me, it was a dealbreaker to be able to use pacman and the aur on Alpine.
Does it work OK pacman on alpine?
Wouldnt getting the deps yourself from sources be easier and safer?
crux packagemanager is fast as well, with pkgmk or prt-get :)
Recently, when I tried to download Artix Linux, it had all wrong SHA256 hashes on their website and I think its user base is not so big to get reactions and fixes soon. Is Gentoo the same?
Torrent it. Then you get the good version
Not sure about Artix, but been using Gentoo for the last 10 months.
Whenever I got a problem had to resolve it fast I hopped on to their IRC and someone pointed me in the right direction in a few minutes.
There's also a forum and subreddit, either of which I've yet to try, but I'd assume they lively.
@@larikkin thanks.
hey outlaw, will you ever use pacman-src?
I don't get it. How can you use dwm and not st? I switched from urxvt to st before switching from i3 to dwm.
He uses both
What are your configs? And where can I get a copy or similar version so I can config my own mainly terminal and your bar they look bad ass man
Pacman is the main thing that fuels my hatred for Arch. It's so devoid of so many packages, for no good reason. And the AUR is a sketchy band-aid fix for it (and has borked my Arch systems twice). And it doesn't help that Arch can't use deb or rpm packages. So I abandoned Arch, and now use openSUSE Tumbleweed for rolling release systems. But my heart still belongs to Linux Mint, my first love...
Is Pacman faster than xbps tho? Checkmate atheists
I think so... But at least in xbps you can install from source
@@gabrielcoronelcascante9111 well you can do that using abs eh? Also xbps syntax is a cluster hell to me.
Opensuse YaST is fast as fuck
@@gabrielcoronelcascante9111 ABS also can install from source
@@gabrielcoronelcascante9111 on arch you have the AUR, which makes that possible
The first time I ever used Pacman was on Windows (through msys2).
Why would anyone think this is a good idea? If you want pacman, use arch or arch based distro (like manjaro, manjaro is a fantastic solution for people who want pacman, but not all the hassles that come with regular arch)
How lucky Шindows users must be, so they don't have to deal with any "dependencies", especially with portable programs
I mean....they have the same issues just with DLL files...and the fact that older software didn't understand that doing certain things like placing files into protected directories on a whim... wasn't a good idea.
But _IF_ I am in dependency hell, I can just delete that chroot folder and everything will be fine again, right?
If you're in chroot then it doesn't matter whatever you do inside, it won't break out of /var/chroot so no fear of dependency hell
pacman on something != Arch -> dependency hell
nix on something != NixOS -> no problem
thanks mr Gentoo
of you want to use Pacman with arch packages better use a chroot
Excellent video, super useful
DevkitPro would like to raise an objection
Rats! I thought it was going to be "pacman: the distro" Like the Hanna Montana distro. So, is it that hard to make a distro like Hanna Montana distro?
But it's possible to use nix package manager on any linux distro
Same with guix
If you want to use pacman, install a distro that has it by default. You're only begging for issues to happen when you try and shoehorn a different distro's package manager into a different distro.
It's not like installing arch or gentoo are that difficult. It's not something I would suggest someone that's a linux virgin try, but once you're comfortable doing anything in shell, it's just a matter of following instructions. Unless you're the type that had trouble following directions on those worksheets they give out in middle school(you know the ones where it's a list of 20 items, the first is read all instructions first, and the last one is just do items 1, 5, and 11?) it's not that fucking hard.
8:14 part 2 of this video starts here (though, it's part 1 of the title)
What about Bedrock the distro then ?
what id do with this is i'd use it for chroot environments using the pacstrap command.
have u tried bedrock linux? it solves this
Video on the recent cyberattac?
Just last week I realized pacman is just short for *pac*kage *man*ager.
Pacman is definitely not more human readable than other package managers, although I'm using it.
brb running xbps pacman portage dpkg and pkg simultaneously on windows 98
Is using pacman on LFS a good idea tho?
same question. compiling source code is not a problem for me, but managing packages and dependencies is hell on LFS
Or using Manjaro. I used an Arch Based Distro btw oMo
I used Slackware back when it was first released, so I was born in dependency hell lol. Pacman for the most part is love. Basically if you want a non systemd version of arch, get artix. If you want gentoo, get gentoo.
Are you going to make a video on lto-overlay?
I think he already did one. LTO+GRAPHITE+Pgo or something
What happens if you dosudo Pacman -Syu
I love this channel.
pacman is better than apt. cuz of speed?, apt and debian feels original, same reason windows feels original for some people.
How would you classify yay that's basically built off pacman
If I remember correctly... isn't yay a tool that allows you to connect to the arch user repository to download software not available in the official arch repository?...
If so then it's just... it's analogue is probably either PPA's for Ubuntu based systems or Copr for Fedora based systems. Just in that you don't manually need to enable a set repository or download a config option via the terminal for it to function.
@@hanro50 yea you are kind of right. yay is like life.
There was FreeBSD with the pacman PM
Cant you install dpkg on arch?
Yes... should you?
Not unless you're crazy
how about bedrock linux then..?
could you install pacman on lfs?
8:27 flashbang
I use yay and/or bauh.
bedrock linux resolves that kind of dependency hell
erm.... why.... why would you find anything other than the version libraries you need? they're using the same repositories, right? that wouldn't make sense. unless . . . unless you didn't edit your pacman config files and it's pointing at the arch repos instead of
And what about bedrock?
Alpines apk rocks xD
Why not chroot?
I use apt on my iPhone.
1:23 I'm crying in pip
how about nix?
My thoughts exactly.
Nix is distro-agnostic
What about it? What are the benefits other than "one dotfile for system" and "downgradable packages" ???
I've got lvm snapshots in case power goes down while installing.
Once you go gentoo nothing else impresses you
Imagine installing gentoo without using emerge
*sad bedrock linux noises*
happy*
The easiest way to get pacman is by installing manjaro or arch
Idk man but manjaro is making the jump from windows to linux more easy than using ubuntu or linux mint and in the process i can learn 1 or 2 things daily about linux
Team up with Jeff Geerling
Jokes on you, I'm in dependency hell all the time cus of slackware
But tho good idea👍
Resolving dependencies (/)
\
|
/
-