Sudo apt get install arch linux

ArchPKGs

apt Install, Update and Uninstall Guide on Arch Linux (Manjaro, Parabola)

According to apt ‘s definition, it’s «Command-line package manager used on Debian-based systems». To install and update apt from AUR (Arch User Repository) on Arch Linux and Arch-based distros (e.g. Manjaro, EndeavourOS, Anarchy, Garuda, ArcoLinux) is quite uncomplicated. This guide will be covering how to install, update and remove the package with either the default package manager pacman or an AUR helper (e.g. yay ).

Table of Contents

Two common methods are used to install apt from AUR. pacman is what you are looking for if you are a veteran in command-line interface and have the idea of how packages are built. Otherwise, yay is a common alternative to install packages without the hassle of reviewing PKGBUILD and build packages with makepkg by yourself.

sudo pacman -S --needed git && git clone https://aur.archlinux.org/apt.git && cd apt && makepkg -si
  1. Install git if it’s not on your system.
  2. clone the package’s git repository from source.
  3. cd into the directory that we just cloned.
  4. Build the package with makepkg , then install it with pacman .

Just like installing AUR packages, updating them is considerably the same. Simply pull it from source then re-build it. Yet, it is still a good practice to upgrade your whole system first with sudo pacman -Syu before updating any packages to avoid breaking your system, since Arch is a rolling-release Linux distro.

git pull && makepkg -si
  1. pull from the package’s git repository.
  2. Build the package with makepkg , then update it with pacman .

Uninstalling packages is the most uncomplicated of these three,just choose whether to purge the unused dependencies and the configuration files used by the package.

sudo pacman -R apt
sudo pacman -Rs apt
sudo pacman -Rns apt

Learn more information about installing/updating AUR packages or how to get yay , please refer to Two Ways to Install Packages from AUR on Arch Linux/Manjaro written by NoCache.

Читайте также:  Посмотреть запущенные сервисы linux

How to Install norminette-old (Full Instructions) on Arch Linux (Manjaro, ArcoLinux)

norminette-old is «Previous non open source version of school 42’s norminette (C code linter)» quoting from its definition. To install and update this package (norminette-old) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distributions (e.g. Manjaro, EndeavourOS, Artix, BlackArch) is pretty straightforward. This tutorial will cover how to install/update/uninstall the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

A Quick Tutorial on survex Installation on Arch Linux/Manjaro/BlackArch

Referring to survex’s own gist, it’s «Cave survey software». To install or uninstall survex from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, RebornOS and ArcoLinux is pretty easy. This guide will show you step-by-step how to install, update and remove the package with either the default package manager pacman or an AUR helper like yay.

How to Install ipmicfg with One Command on Arch Linux, Manjaro and Artix

Quoting from ipmicfg’s own description, it is «Supermicro IPMI configuration tool». To install or remove ipmicfg from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Artix, Parabola, BlackArch and RebornOS is pretty straightforward. This tutorial will taught you how to install, update and remove the package with either the built-in package manager pacman or an AUR helper like yay.

Beginner’s Guide on Installing ocaml-js-build-tools on Arch Linux/Manjaro/BlackArch

ocaml-js-build-tools is «Collection of tools to help building Jane Street Packages» quoting from its own outline. To install and update ocaml-js-build-tools from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, BlackArch and Garuda is fairly easy. This tutorial will taught you how to install, update and remove the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

vim-xoria256 Install, Update and Uninstall Guide on Arch Linux/Manjaro/Parabola

vim-xoria256 is «Soft pastel gamma on dark background, same appearence in vim» according to its own gist. To install this package (vim-xoria256) from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Parabola, BlackArch and RebornOS is quite uncomplicated. This guide will show you step-by-step how to install/update/remove the package with either the built-in package manager pacman or an AUR helper like yay.

Guide on Install, Update and Remove python-eve on Arch-Based Linux (Manjaro, RebornOS)

According to python-eve’s outline, it is «An open source Python REST API framework designed for human beings». To get this package (python-eve) from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Artix, Anarchy and RebornOS is fairly easy. This guide will be covering how to install, update and remove the package with either the default package manager pacman or an AUR helper (e.g. yay).

More guides… copyright 2023 ArchPKGs. All Rights Reserved.

Читайте также:  Команды браузера в linux

Источник

What is the ‘apt-get update’ equivalent command in Arch Linux? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.

This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.

What is the command for Arch Linux to update the packages before installing a new package? For instance, I know that in Ubuntu, I do this in a terminal window:

sudo apt-get update sudo apt-get

What about in Arch Linux? I came across a couple of versions, but they don’t seem agree with each others. I can’t see the consistency there. Example 1. (it looks tedious to me):

sudo pacman -Syy sudo pacman -Su 

always use «-Sy» with a «u». I.e., «pacman -Syu» and then «pacman -S «, and never «pacman -Sy «.

This is off topic for StackOverflow, since it’s not related to software development. I’ve generally found the Arch documentation to be quite good; if there’s a particular document you think isn’t sufficiently clear, you may want to report a bug so that the Arch folks can improve the documentation.

Copied without any attribution whatsoever at 9to5answer DOT com/arch-linux-apt-get-update-equivalent-command (the author link is fake and just points back to the same page)

2 Answers 2

The equivalent of apt-get update in Arch Linux is pacman -Syy .

pacman -Syu is equivalent to apt-get update && apt-get upgrade .

Might as well make this complete if it stays.

pacman -S is apt-get install .

Note: I agree with larsks’ comment that the best source here is the Arch wiki.

For example, the wiki entry pacman/Rosetta covers the operations for Pacman in depth for people who previously used («coming from»): DNF (Red Hat Linux/Fedora), APT (Debian/Ubuntu), ZYpp (executable zypper . SUSE Linux Enterprise (SLES)/openSUSE) or Portage (executable emerge . Gentoo Linux).

From that document, apt update && apt upgrade is equivalent to pacman -Syu .

Arch is not a good source for documentation. Arch makes changes to the system, and then expects the users to find the changes, address the problem and write out a solution for others. They push problems to the end user instead of taking care of it at a higher level. But every arch admin will tout the phrase ‘The best source is the Arch wiki.’. Don’t buy into it!

@Deanie Arch is really just a minimal system with package repositories. The package manager you use is not dictated by Arch (although pacman is the one pre-installed software, yes). The arch community documents the usage of these (independent) software components in their wiki. It’s not «them» making changes, it’s the end-user’s wish for a bleeding-edge system and the changes made by software developers. The Arch wiki to me is an OS-agnostic source of Linux-relevant information. An example is the link I posted: it is helpful even when you migrate from Fedora to Gentoo, i.e.,it’s OS-agnostic.

Читайте также:  Linux разница между папками

Источник

Arch Linux — How to Install Deb Package — ALL Options

Arch Linux has a huge package repository. You should search for anything you need here first. Despite having such an extensive repository, there is still a chance that you may come across a package that isn’t available. If you can’t find what you are looking for, there is still a good chance that it may be available for Debian, Ubuntu, or Mint.

If you do find what you need but only have the deb package, you may want to try installing that deb package on your Arch system. There are multiple approaches that you could take to install a deb package on Arch Linux:

  • Check for Existing Packages
  • Use Debtap to Install Deb Package on Arch Linux
  • Use Alien
  • Manually Install Deb Package on Arch Linux
  • Use Dpkg

Use Debtap to Install Deb Package on Arch Linux

The Debtap tool can be used to convert a deb package to an Arch linux package. It can then be installed using pacman.

Download the debtap snapshot: HERE.

tar zvxf ~/Downloads/debtap.tar.gz -C ~/arch cd ~/arch/debtap makepkg -s sudo pacman -U debtap-3.1.4-2-any.pkg.tar.xz
sudo pacman -S yaourt sudo yaourt -S debtap
debtap packagetoconvert.deb
sudo pacman -U deb-package-x.y.z-1-x86_64.pkg.tar.xz
debtap -U * debtap -U deb-package-x.y.z-1-x86_64.pkg.tar.xz

Using Dpkg

WARNING — You could corrupt your system with this method. Be careful and have a rescue disk ready.

Dpkg is actually available for Arch. Apparently it is meant for building packages on Arch that are meant to be installed on another system running Debian or Ubuntu. It isn’t actually meant to be used to install deb packages directly on Arch.

It used to be available from AUR but isn’t there anymore. It looks like it has been moved. You can get dpkg HERE.

sudo pacman -S yaourt sudo yaourt -S dpkg dpkg -i package.deb

Manually Install Deb Package on Arch Linux

To get the ar command you will need to install the binutils package:

Unpack the deb file and then unpack the two tarballs within it:

ar vx tar xvf control.tar.gz tar data.tar.gz cd ~/Downloads/google-chrome-stable_current_amd64 cd ~/Downloads/google-chrome-stable_current_amd64/etc sudo mv * /etc/ cd ~/Downloads/google-chrome-stable_current_amd64/opt sudo mv * /opt/

Check for Existing Arch Packages

Before trying to convert or install a deb package you should first check the repo. If it isn’t there you can also check AUR.

You can check the repo like this:

You can find packages on AUR HERE.

NOTE — AUR is user generated content so use these packages at your own risk.

Download snapshot from AUR website and then do the following to build and install it:

cd ~/Downloads/google-chrome makepkg sudo pacman -U *

You could also use an AUR helper to make things easier.

Use Alien

There is a tool called Alien that can convert from one package format to another. We haven’t verified if this supports converting from Debian to Arch.

References

Источник

Оцените статью
Adblock
detector