160
Tips for getting better at Linux.
(lemmy.ml)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Great question!
So, first off, if I knew what app(s) specifically you have in mind, that'd help me answer better, but in general:
makepkg -sf && sudo pacman -U <something>.tar.xz
. You can also get some helper scripts that do some of those steps for you for convenience. Definitely worth having the experience of doing it manually a few times first, though, I'd say.) Even if the only way to get the software in question from the publisher is in .deb form, you may still find a package on AUR that will unpackage the .deb and package the result up into an Arch package.$HOME/install/<softwarename>
. This can work even if the software is only available as a .deb file. You can just extract the .deb without installing it with the commandar x <blah>.deb
and atar -xf data.tar.gz
and then put the files from within that .deb file where you want them.Just in case it's useful to you, I'll share the PKGBUILD I wrote for converting the Ubuntu kernel into an Arch package. It demonstrates how you'd go about extracting files from a .deb file in order to build them into an Arch package.
(I omitted the
linux.preset
file. It's just in the same directory with the PKGBUILD and it gets bundled into the Arch package. But it's not really important for what you're doing unless you're trying to install a different kernel than the official Arch kernel on an Arch system.)The part that extracts the files from the .deb packages is the
ar x
command and thetar -xf
command. Thepackage()
function there is what decides exactly what files will be in the Arch package and where. Andmakepkg
builds the package archive after runningpackage()
.That covers all the options for installing software not in the Arch repos that I can think of.
Thanks for the reply and I will definitely use some of the less advanced options for now.