Skip to content

Is there a way to get Pacstrap to read a pkglist txt file and install all listed packages?

Removed before it was archived.

8 points12 comments
Open on Reddit
About this post
Posted
Archived
Deleted on
Score
8 · 100% up
Kind
Text
ID
fc0wcl

16 comments

I'm pretty sure pacstrap /mnt - <file.txt should do it.

9 points
unknown author4 hidden

Deleted before we saved it.

0 points

And if that didnt work "pacstrap /mnt - | cat file.txt". It's the same exact thing, different piping.

no, that's definitely not the same thing.

9 points
unknown author1 hidden

Deleted before we saved it.

5 points

Am doing it like this; in a txt file containing a package per line. It has also comments lines beginning with # which will be ignored (grep -v):

pacstrap /mnt $(grep -v "^\s*#" path/to/txt)
1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.