Getting Started With Pacman Commands in Arch-based Linux

2023. 9. 6. 23:37·Linux

Install packages

pacman -S package_name1 package_name2 ...

 

Remove an installed package

pacman -R package_name

 

To remove a package and its dependencies which are not required by any other installed package

pacman -Rs package_name

 

Upgrading packages

  • S stands for sync
  • y is for refresh (local cache)
  • u is for system update
pacman -Syu

 

Use pacman to search for packages

pacman -Ss string1 string2 ...

 

To search for already installed packages

pacman -Qs string1 string2 ...

 

To search for package file names in remote packages

pacman -F string1 string2 ...

 

To view the dependency tree of a package

pactree package

 

Cleaning the package cache

paccache -r

 

Installing local or third-party packages

Install a ‘local’ package that is not from a remote repository

 

pacman -U /path/to/package/package_name-version.pkg.tar.xz

 

Install a ‘remote’ package, not contained in an official repository

pacman -U http://www.example.com/repo/example.pkg.tar.xz

 

'Linux' 카테고리의 다른 글

Find Primary IP Address of a Linux Machine  (0) 2023.09.07
How to install dynamodb local  (0) 2023.06.27
wrk - a HTTP benchmarking tool  (1) 2023.06.05
VirtualBox 에서 우분투 7.10 server 설치시 "PANIC: CPU too old for this kernel" 메시지  (3) 2008.01.14
VirtualBox - Windows의 네트워크 브리지를 사용한 네트워크 구성(NAT 사용)  (0) 2007.12.17
'Linux' 카테고리의 다른 글
  • Find Primary IP Address of a Linux Machine
  • How to install dynamodb local
  • wrk - a HTTP benchmarking tool
  • VirtualBox 에서 우분투 7.10 server 설치시 "PANIC: CPU too old for this kernel" 메시지
somoly
somoly
About me.
  • somoly
    somoly.tistory.com
    somoly
  • 전체
    오늘
    어제
    • 전체 (55)
      • SpringBoot (8)
      • Kotlin (5)
      • Javascript (4)
      • 백엔드 (6)
      • Linux (25)
      • Windows (1)
      • IT (2)
      • FF14 (1)
      • 애니 (1)
      • Figure (1)
      • 회사생활 (1)
  • 블로그 메뉴

    • HOME
    • TAGS
    • MEDIA
    • LOCATION
    • GUESTBOOK
    • ADMIN
    • WRITE
  • 링크

    • [FF14] 5.0 (71-80) 제작 레벨링 매크로
    • [FF14] 갈론드벨
    • [FF14] FFLogs
    • [FF14] Ariyala 장비 시뮬레이터
    • [FF14] 낚시 도우미
    • [FF14] 인테리어 정보
    • [FF14] 의상 코디 정보
  • 공지사항

  • 인기 글

  • 태그

    ubuntu
    string methods
    HTTP
    부팅
    종료
    83인치
    VirtualBox
    설치
    피규어
    Spring
    Kotlin
    interactive table
    리눅스
    versioncomapre
    tabulator
    jvminline
    동영상
    77인치
    springboot
    javascript
    bcmod
    accesskey
    최후의 재림
    우분투
    30일전
    dynamodb local
    exchage method
    utf-8
    P2P
    linux
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.6
somoly
Getting Started With Pacman Commands in Arch-based Linux
상단으로

티스토리툴바