User Tools

Site Tools


arch_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tool:software:arch_linux [2019/08/02 13:07] – [Converting Packages] deb2targz rjtarch_linux [2022/12/12 12:42] (current) – [Post-Installation] tiem still not keeping well in sync rjt
Line 1: Line 1:
 ====== Arch Linux ====== ====== Arch Linux ======
-{{ :media:images:arch_logo.png}}+{{ media:image:logo:arch_linux.png}}
 ===== Installation ===== ===== Installation =====
  
Line 33: Line 33:
  
 If you wanna mess with fontconf more, there's good info here: https://seasonofcode.com/posts/how-to-set-default-fonts-and-font-aliases-on-linux.html If you wanna mess with fontconf more, there's good info here: https://seasonofcode.com/posts/how-to-set-default-fonts-and-font-aliases-on-linux.html
 +
 +=== Compose Key ===
 +See: [[compose_key]]
  
 === For i3 === === For i3 ===
Line 39: Line 42:
  
 === Time === === Time ===
-You can have your system time (different from the hardware time) synced up so it's as correct as possible. Having your time out of sync can cause problems with authenticating with [[TOTP]].+You can have your system time (different from the hardware time, which on Linux should be the base UTC time) synced up so it's as correct as possible. Having your time out of sync can cause problems with authenticating with [[totp]], compiling software, etc.
  
 There are multiple ways to go about this, but I found installing [[arch>openntpd]] to be the easiest. There are multiple ways to go about this, but I found installing [[arch>openntpd]] to be the easiest.
Line 47: Line 50:
   - ''# sudo systemctl enable openntpd.service'' to make it run whenever you start the computer.   - ''# sudo systemctl enable openntpd.service'' to make it run whenever you start the computer.
  
-You can control which server it connects to, but the default does a good job of picking the best option :)+You can control which server it connects to, but the default does a good job of picking the best option :) The defaults do include [[Cloudflare]] and [[Google]], so if you want to comment that stuff out and grab something closer look at https://www.ntppool.org/ You'll have to restart the service after changing your config. Changing to a local server is maybe what fixed my time drifting out of sync? Update: Nope)
  
 === Utils === === Utils ===
Line 67: Line 70:
   - Reboot.   - Reboot.
  
-===== Children ===== +===== Packages =====
-==== Antergos ==== +
-**Antergos** is a basically Arch with a swish-o installer and an extra repo. It likes to Antergoserise (IE brand with it's wonky logo) things like Grub and LightDM, though that's repairable. It's easy enough to stop it it installing a bunch of extra stuff, as opposed to Manjaro(?).+
  
-It was a really good introduction to Linux for me! But it's since (2019) been discontinued :(+Arch uses the [[pacman]] package manager.
  
-===== Fixes =====+In addition to the official repositories, there is a repo of unofficial packages called the Arch User Repository (AUR).
  
-==== AUR ==== +I still haven't made any packages myself, but I have a few links on how to do it, and a few things I wouldn't mind packaging.
-=== .SRCINFO and PKGBUILD mismatch ===+
  
-Errors like+  * [[https://sleepmap.de/2022/packaging-for-arch-linux/|Packaging for Arch Linux]] - 2022 beginner guide, by David Runge.
  
-  :: [package name] package(s) failed to install. +===== Children ===== 
-  :: ensure package version does not mismatch between .SRCINFO and PKGBUILD +==== Antergos ==== 
-  :: ensure package name has VCS suffix if this is a devel package+**Antergos** is a basically Arch with a swish-o installer and an extra repo. It likes to Antergoserise (IE brand with it'wonky logothings like Grub and LightDM, though that's repairable. It's easy enough to stop it it installing bunch of extra stuff, as opposed to Manjaro(?).
  
-Are are [[pacaur]] problem, and can get gotten round by installing manually, or by using another helper +It was a really good introduction to Linux for me! But it'since (2019) been discontinued :(
- +
-[[Trizen]] and [[YAY]] seem to be the helpers to go for now. +
- +
-==== Converting Packages ==== +
-=== DEB === +
-== Debtap == +
-Can convert a .deb package into a PKGBUILD with one tool. Real simple to use. +
- +
-Usage: +
-  - ''# debtap -u'' when you first run it to get the database up to date +
-  - ''$ debtap -p [deb file]'' to make the PKGBUILD +
- +
-  * [[git>helixarch/debtap]] +
-  * [[aur>debtap]] +
- +
-== deb2targz == +
-  * [[aur>deb2targz]] +
- +
-=== RPM === +
- +
-==== Free Space ==== +
-To clear Pacman'cache ''pacman -Sc'' --- you can use ''paccache -rk 2'' to delete everything except the last two versions of a package, //which is a good idea//. ''paccache -ruk0'' will remove everything for packages that are no longer installed. +
- +
-To find orphan packages ''pacman -Qdt'' +
- +
-==== Missing Files in Pacman Database ==== +
-Just ran into a little problem where a disk error took out a bit of my pacman database. +
- +
-This was giving me an error about a ''desc'' file every time I ran pacman, and blocking some parts of the process. using ''--force'' to reinstall the package didn't help, and I also was unable to remove it. +
- +
-Thanks to [[https://bbs.archlinux.org/viewtopic.php?pid=1724969#p1724969|this post]] I solved it by deleting the packages directory in ''/var/lib/pacman/local'', and reinstalled the database only with ''pacman -U --dbonly [package].pkg.tar.xz'' +
- +
-==== Speeding Up Package Building ==== +
-  * [[archw>Makepkg]] +
-    * [[archw>Makepkg#Improving_compile_times]] +
-    * [[archw>Makepkg#Utilizing_multiple_cores_on_compression]]+
  
 ===== See Also ===== ===== See Also =====
-  * [[Linux]]+  * [[linux]] 
 +  * [[pacman]] 
 +  * https://wiki.archlinux.org/title/Makepkg#Improving_compile_times 
 +  * https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
  
-{{tag>fixes linux}}+{{tag>fixes linux operating-system software}}
arch_linux.txt · Last modified: 2022/12/12 12:42 by rjt