Apt get arch linux

Содержание
  1. Arch Linux User Repository
  2. Search Criteria
  3. Package Details: apt 2.2.0-1
  4. Package Actions
  5. Dependencies (23)
  6. Required by (9)
  7. Sources (2)
  8. Latest Comments
  9. iamtalhaasghar commented on 2021-05-28 02:20
  10. Un1Gfn commented on 2021-05-12 18:18
  11. iamtalhaasghar commented on 2021-05-12 11:26
  12. Un1Gfn commented on 2021-03-19 07:43
  13. MarkWalters.pw commented on 2021-02-23 00:26
  14. Un1Gfn commented on 2021-02-22 11:59
  15. MarkWalters.pw commented on 2021-02-21 22:29
  16. Janhouse commented on 2020-07-21 13:11
  17. grosjo commented on 2020-07-04 15:18
  18. tallero commented on 2020-06-26 18:28
  19. Установка пакетов ArchLinux
  20. Общее описание технологии
  21. История разработки ArchLinux
  22. Установка пакетов в ArchLinux
  23. Установка пакетов ArchLinux
  24. Установка пакетов Pacman
  25. Установка пакетов из AUR
  26. Графический интерфейс Pacman
  27. Выводы
  28. Linux apt-get command not found — How to install a package in Arch Linux?
  29. 6 Answers 6
  30. Not the answer you’re looking for? Browse other questions tagged archlinux apt-get or ask your own question.
  31. Linked
  32. Related
  33. Hot Network Questions
  34. Subscribe to RSS
  35. Arch Linux
  36. #1 2006-03-15 13:30:24
  37. Apt-get vs Pacman
  38. #2 2006-03-15 14:38:20
  39. Re: Apt-get vs Pacman
  40. #3 2006-03-15 14:57:08
  41. Re: Apt-get vs Pacman
  42. #4 2006-03-15 15:18:59
  43. Re: Apt-get vs Pacman
  44. #5 2006-03-15 15:42:25
  45. Re: Apt-get vs Pacman
  46. #6 2006-03-15 15:47:23
  47. Re: Apt-get vs Pacman
  48. #7 2006-03-15 16:00:00
  49. Re: Apt-get vs Pacman
  50. #8 2006-03-15 16:28:38
  51. Re: Apt-get vs Pacman
  52. #9 2006-03-15 16:30:27
  53. Re: Apt-get vs Pacman
  54. #10 2006-03-15 16:33:43
  55. Re: Apt-get vs Pacman
  56. #11 2006-03-15 16:39:36
  57. Re: Apt-get vs Pacman
  58. #12 2006-03-15 16:42:37
  59. Re: Apt-get vs Pacman
  60. #13 2006-03-15 17:49:53
  61. Re: Apt-get vs Pacman
  62. #14 2006-03-15 22:11:53
  63. Re: Apt-get vs Pacman
  64. #15 2006-03-17 02:13:57
  65. Re: Apt-get vs Pacman

Arch Linux User Repository

Search Criteria

Package Details: apt 2.2.0-1

Package Actions

Git Clone URL: https://aur.archlinux.org/apt.git (read-only, click to copy)
Package Base: apt
Description: Command-line package manager used on Debian-based systems
Upstream URL: http://packages.debian.org
Keywords: apt debian lib management package
Licenses: GPL2
Provides: apt-utils, libapt-inst, libapt-pkg, libapt-pkg-dev
Submitter: JonnyJD
Maintainer: moe_narrow (MarkWalters.pw)
Last Packager: moe_narrow
Votes: 38
Popularity: 0.40
First Submitted: 2013-01-27 01:20
Last Updated: 2021-03-19 02:25

Dependencies (23)

  • curl (curl-git, curl-minimal-git)
  • gnupg (gnupg-clavator, gnupg-large-rsa, gnupg-large-secmem, gnupg-minimal-git, gnupg-largekeys, gnupg-git)
  • libseccomp (libseccomp-git)
  • perl (perl-git)
  • xxhash (xxhash-git)
  • cmake (cmake-git) (make)
  • docbook-xsl(make)
  • doxygen (doxygen-git, doxygen-clang) (make)
  • dpkg (dpkg-git) (make)
  • git (git-git, git-vfs) (make)
  • gtest (googletest-git) (make)
  • perl-locale-gettext(make)
  • perl-module-build(make)
  • perl-pod-parser (perl-git) (make)
  • perl-sgmls(make)
  • perl-term-readkey(make)
  • perl-text-wrapi18n(make)
  • perl-unicode-linebreak(make)
  • perl-yaml-tiny(make)
  • po4a(make)
  • triehash(make)
  • w3m(make)
  • xxhash (xxhash-git) (make)

Required by (9)

Sources (2)

Latest Comments

iamtalhaasghar commented on 2021-05-28 02:20

@Un1Gfn apt is working now. Thank you!!

Un1Gfn commented on 2021-05-12 18:18

gtest provides /usr/lib/libgmock.so.1.10.0

Maybe yay fails to install gtest before building?

Also if you yay

iamtalhaasghar commented on 2021-05-12 11:26

I got following error while installing apt using «yay»

Un1Gfn commented on 2021-03-19 07:43

community/dpkg should be in depends=() instead of makedepends=()

I get the following error when dpkg is not installed (reference)

MarkWalters.pw commented on 2021-02-23 00:26

My gist should work now. The namespace version of docbook-xsl doens’t work with apt yet. See here

Un1Gfn commented on 2021-02-22 11:59

MarkWalters.pw commented on 2021-02-21 22:29

Janhouse commented on 2020-07-21 13:11

Please add «perl-pod-parser» and «po4a» to makedepends.

grosjo commented on 2020-07-04 15:18

Line 36 shall be

DOCBOOK_XSL_VER= ls -d /usr/share/xml/docbook/xsl-stylesheets-* | sort | head -1 | xargs basename

tallero commented on 2020-06-26 18:28

The perl-pod-parser dependency is missing.

Copyright © 2004-2021 aurweb Development Team.

AUR packages are user produced content. Any use of the provided files is at your own risk.

Источник

Установка пакетов ArchLinux

Все существующие дистрибутивы Linux для того, чтобы осуществлять операции по обновлению ПО и библиотек ОС в основном используют пакетные менеджеры. Пакетный менеджер является ключевой программой, который зачастую и отличает различие одного дистрибутива Linux от другого.

Общее описание технологии

Пакетный менеджер pacman является основным признаком дистрибутива ArchLinux. Archlinux pacman предназначен для установки программ и пакетов в дистрибутиве ArchLinux. pacman оперирует пакетами, которые, как и в случае с другими пакетными менеджерами представляют из себя бинарные архивы, содержащие некоторые данные для установки.

Читайте также:  0x80240fff windows 10 ошибка обновления как исправить

Pacman сам по себе может использоваться не только в ArchLinux и его производных, но и в прочих дистрибутивах. Возможна адаптация pacman для использования RPM, а также пакетов прочего типа, несовместимого со стандартным ArchLinux.

Pacman, как и RPM имеет возможность загрузки части пакета при обновлении. При работе pacman зачастую значительно быстрее обрабатывает транзакции, нежели это делает DPKG или RPM.

История разработки ArchLinux

Первые версии ArchLinux на самом деле являлись просто некоторой сборкой LFS, содержащим набор скриптов для сборки и развертывания дистрибутива. Очень долго, для установки самого дистрибутива pacman вообще не использовался, установочный образ содержал специализированную программу, называемую Arch Install Frimewere (AIF).

Сам по себе, дистрибутив в первых своих версиях содержал примитивную скрипт-сборочную пакетную систему, называемую Arch Build System (ABS). Суть такой примитивной пакетной системы заключался в предоставлении быстрого и удобного метода сборки пакетов из исходного кода. Но это не то, что хотел иметь собственно разработчик Arch Linux. По этой причине была разработана утилита pacman, которая и предназначалась для оперирования с уже собранными бинарными пакетами. ABS затем была переназначена для того, чтобы заниматься сборкой пакетов для pacman.

В дальнейшем, ABS в Archlinux позволил создать пользовательский репозиторий рецептов для сборки пакетов, называемый AUR. Из AUR возможна установка пакетов ArchLinux, которых нет даже в официальных репозиториях.

Установка пакетов в ArchLinux

Установка пакетов ArchLinux, их обновление, а также их удаление как мы уже поняли выше, осуществляются при помощи pacman. Данная утилита достаточно проста. Рассмотрим команды ее синтаксис:

$ sudo pacman [опция]

Вот основные опции программы, которые мы будем использовать:

  • -S – установка программ в archlinux;
  • -Sw — скачать пакет но не устанавливать;
  • -U — установить локальный пакет;
  • -s – поиск пакета;
  • -i – информация;
  • -u – обновить пакеты;
  • -y – обновить списки пакетов из репозиториев;
  • -dd – игнорирование зависимостей;
  • -g – запрос информации о группе;
  • -l – вывод пакетов в виде списка;
  • -o – вывод в файл;
  • -R – удаление;
  • -Q – запрос к базе данных установленных пакетов;
  • -F – поиск по файлам;
  • -D – задание и изменение цели установки уже имеющегося пакета;
  • -R — удалить пакет;
  • -Rn — удалять резервные копии конфигурационных файлов;
  • -Rs — удалять зависимости пакета;

Это основные опции, которые будут применяться в этой инструкции.

Установка пакетов ArchLinux

Сначала рассмотрим как выполняется установка программ ArchLinux с помощью Pacman из официальных репозиториев, а потом остановимся на пользовательском репозитории AUR. Теперь рассмотрим основные команды pacman archlinux.

Установка пакетов Pacman

Опции для pacman при использовании комбинируются в одну фразу, таким образом, например, для обновления репозиториев и обновления ОС команда будет выглядеть так:

sudo pacman -Suy

Порядок расстановки опций значения не имеет, за исключением только того, что основной ключ, указывающийся большой буквой должен быть первым.

Установка конкретного пакета:

sudo pacman -S [имя пакета]

Удаление конкретного пакета:

sudo pacman -R [имя пакета]

Принудительное удаление конкретного пакета, с игнорированием зависимостей:

sudo pacman -Rdd [имя пакета]

Поиск пакета в репозиториях:

pacman -Ss [имя пакета]

Получение информации о пакете:

pacman -Si [имя пакета]

Поиск только среди установленных пакетов:

pacman -Qs [имя_пакета]

Просмотр списка всех установленных пакетов:

Просмотр списка файлов пакета:

pacman -Ql [имя_пакета]

sudo pacman -Scc

Установка пакетов из AUR

К сожалению, не все пакеты есть в официальных репозиториях, многие вам придется искать пакеты на стороне. Большинство пакетов уже собраны и подготовлены пользователями в репозитории AUR. Для этого можно использовать пакет pacaur. Его можно установить командой:

curl -o install.sh https://gist.githubusercontent.com/Tadly/0e65d30f279a34c33e9b/raw/pacaur_install.sh
$ sudo sh install.sh

Теперь вы можете использовать те же опции что и в утилите pacman в pacaur чтобы пользоваться AUR, например, поиск пакета:

pacaur -Ss firefox

pacaur -S firefox

Графический интерфейс Pacman

Для любителей пользоваться графическим интерфейсом вместо терминала в ArchLinux есть утилита pamac. Это простой менеджер приложений, чем-то похожий на стандартный менеджер приложений Ubuntu:

Читайте также:  Компилятор питон для windows

Для установки пакета достаточно открыть для него контекстное меню и нажать «Установить»:

Удаление пакетов выполняется тем же образом.

Выводы

В этой статье мы рассмотрели как выполняется установка пакетов ArchLinux различными способами. А также немного поговорили про историю разработки дистрибутива.

Источник

Linux apt-get command not found — How to install a package in Arch Linux?

I am trying to install a command:

How can I install apt-get then?

I use command below to find Out My Linux Distribution Name and Version:

I get this below:

Any ideas what should I do to install a command in Arch Linux?

6 Answers 6

First of all, Arch provides a beautiful, well maintained wiki. You may want to read it first before working with Arch. The pre-installed package manager is «pacman».

To install a package from the official repositories, you will need to use it like this:

There is also a community maintained version, the Arch User Repository, for packages not part of the official repository.

I used this page https://wiki.archlinux.org/index.php/Pacman_Rosetta when I moved to Arch linux, it lists the equivalent commands for various common package managers, including apt and pacman.

If you really want to download apt, then:

  1. Install pacaur $ pacman -S pacaur
  2. Install apt, from pacaur (no root) $ pacaur -S apt
  3. Add some repositories
  4. Now you have working apt on arch linux

Arch linux does not generally use the apt package manager. It uses pacman: https://wiki.archlinux.org/index.php/Pacman

You can’t. Arch does not use the apt package system unlike Debian-based linuxes, like Ubuntu. Instead it uses the pacman package manager. However, you should try it out. Using pacman myself, I never had a problem with it, and you can still use it in order to install packages that you can get with the apt package manager.

As @Marcus mentioned, pacman is the builtin package manager. However, it won’t give you access to AUR packages.

aurman is a nice wrapper that also searches and installs from AUR. yaourt used to be popular but according to the AUR wiki it is insecure and not featurefull. aurman cli works almost exactly like pacman so you can follow a pacman guide just the same. To get aurman :

Not the answer you’re looking for? Browse other questions tagged archlinux apt-get or ask your own question.

Linked

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.10.8.40416

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

Arch Linux

You are not logged in.

#1 2006-03-15 13:30:24

Apt-get vs Pacman

Hii, I have been using apt-get for a long time, and now I want use Pacaman , what I don’t know is
What are the befits and drawback of each one compare to the other?
I havn’t open this post for «flaming», I want to know and understand more about this topic.
.

#2 2006-03-15 14:38:20

Re: Apt-get vs Pacman

Sorry that this sounds a little bit rude, but try it out man!
Pacman is good, maybe apt-get is better, but it’s the pacman — ABS — combo that makes the difference IMO.

Haven’t been here in a while. Still rocking Arch.

#3 2006-03-15 14:57:08

Re: Apt-get vs Pacman

pacman is easier to use.
Example:

apt-get update && apt-get dist-upgrade
apt-get update && apt-get upgrade
———————————————————
= pacman -Syu

Like apt-get, pacman resolves dependencies, can install and update single, some or all packages.

What it can’t is handle wildcards — what I really miss, like
apt-get install gnome* gst-plugin*

Pacman has some weak parts concerning defragmentation, but pacman-optimize from time to time will clean it up.

Читайте также:  Windows format ntfs usb drive

Frumpus ♥ addict
[mu’.krum.pus], [frum.pus]

#4 2006-03-15 15:18:59

Re: Apt-get vs Pacman

I agree with Moo-Crumpus in every point. My previous post was just a kind of valve to express my feeling about my current work *sorry for that*

Haven’t been here in a while. Still rocking Arch.

#5 2006-03-15 15:42:25

Re: Apt-get vs Pacman

Why can’t it support wild cards?
and will there be a version with this?

#6 2006-03-15 15:47:23

Re: Apt-get vs Pacman

Auto-completion while typing packagenames would also be nice..

Haven’t been here in a while. Still rocking Arch.

#7 2006-03-15 16:00:00

Re: Apt-get vs Pacman

Why can’t it support wild cards?
and will there be a version with this?

Although it doesn’t support wildcards at this point, you can still search using:

and also install multiple packages once you know the proper names

#8 2006-03-15 16:28:38

Re: Apt-get vs Pacman

Auto-completion and wild card will make me love it so much 😈
I think it can be sooo cool!

#9 2006-03-15 16:30:27

Re: Apt-get vs Pacman

Auto-completion while typing packagenames would also be nice..

The bash-completion pkg in [extra] has support for makepkg and pacman.

#10 2006-03-15 16:33:43

Re: Apt-get vs Pacman

Install extra/bash-completion and you get bashcompletion for pacman -S.

#11 2006-03-15 16:39:36

Re: Apt-get vs Pacman

sh__ and lessthanjake: Nice to hear, I’ll try it out.

Haven’t been here in a while. Still rocking Arch.

#12 2006-03-15 16:42:37

Re: Apt-get vs Pacman

how does it enhance pacman, compared to apt-get install a* what would install all packages with «a» as the first letter?

Frumpus ♥ addict
[mu’.krum.pus], [frum.pus]

#13 2006-03-15 17:49:53

Re: Apt-get vs Pacman

pacman supports orphans! Great advantage if you want to keep the system mean and lean.

#14 2006-03-15 22:11:53

Re: Apt-get vs Pacman

pacman has ilovecandy, but apt-get has moo

Anyway this is probaly just all in my mind,but I find pacman to have less problems with deps and missing packages.(never gotten any «dep found but package does not exist» but that probalby has just as mutch to do with the repos as the packagehandeler itself)
I also find pacman (if not hevely fragmented) alot quicker than apt-get. But as stated before, it’s all probably just in my head.

Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

#15 2006-03-17 02:13:57

Re: Apt-get vs Pacman

I also find pacman (if not hevely fragmented) alot quicker than apt-get. But as stated before, it’s all probably just in my head.

nope its not all in ur head. pacman at this point is faster then apt-get. and MUCH faster then yum which for some ridiculus reason refreashes EVERYTIME u use it which is massively(sp?) time consuming (sry. it makes me ANGRY. ) However apt-get has 15000000000000003r530403403043040340 packages due to debian (i assuming that what ur using is a debian based distro as i have never heard of using apt-get on arch. ) (yes that number is an exageration. ) ne ways if u ask me pacman is the best out there and i have used alot. well not really just 3 or 4 . i use Fedora as well and there are packages that i can easily install in arch using pacman that i cant in fedora. so pacman > apt-get > yum (althou yum has a cool rollback feature that allows u to restore ur sytem to a specifig time ..like say 5 minutes ago or 3 days ago..etc. but consider that pacman has not been here as long and youll see that pacman should IMO be way ahead in a few years. look at all the new distros that are starting to use pacman. its not like debian..but still..its growing ..baby steps hhahah

In this land of the pain the sane lose not knowing they were part of the game.

Источник

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