LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   To get tar filename of package from the package name (https://www.linuxquestions.org/questions/arch-29/to-get-tar-filename-of-package-from-the-package-name-4175724625/)

BudiKusasi 04-30-2023 09:49 AM

To get tar filename of package from the package name
 
How to get the name of tar package file (in cache dir.) from a package name ?

pan64 04-30-2023 10:02 AM

I don't understand. What kind of package is it?

teckk 04-30-2023 11:20 AM

He's talking about pacmans cache.

/var/cache/pacman/pkg/yt-dlp-2023.02.17-1-any.pkg.tar.zst

Read the wiki.
Code:

pacman -Ss yt-dlp

pacman -Qi yt-dlp

pacman -Qpl /var/cache/pacman/pkg/yt-dlp-2023.02.17-1-any.pkg.tar.zst

https://wiki.archlinux.org/title/Pacman/Rosetta


All times are GMT -5. The time now is 12:35 AM.